开发者

How to build renamed POM xml

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 t开发者_JAVA技巧o 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜