I am relatively new to Maven. I actually wanted to know how to build the renamed pom.xml i.e.
there is a XML file with the name parent-pom.xml
. Shall I directly name it to pom.xml and try building it or is there some other way to do it?
Maven looks for the pom.xml
file, so you should rename it that for it to work.
You could use another file name using the -f
option.
mvn -f parent-pom.xml
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With