tags:

views:

16

answers:

1

Hello,

I am relatively new to Maven, I actually wanted to know how to build the renamed pom.xml i.e.

there is a xml with 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?

Thanks!

A: 

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.

Starkey