How to create a renamed POM xml

I'm relatively new to Maven, I really wanted to learn how to create a renamed pom.xml ie

is there an xml called parent-pom.xml, should I directly call it pom.xml and try to create it, or is there some other way to do this?

Thanks!

+4
source share
1 answer

Maven is looking for a pom.xml file, so you must rename it for it to work.

You can use a different file name using the -f option.

mvn -f parent-pom.xml .

+13
source

All Articles