location of pom.xml file

2019-04-29 14:07发布

问题:

I'm using maven 3.2.5 and need to configure the default build path of maven.

HERE I found that the changes need to be made in pom.xml file.

I just can't find the pom.xml file. Can anyone please tell me the default location of pom.xml file?

回答1:

By default pom.xml is at root path of the project, else the path is overridden via -f flag.



回答2:

Also, be sure to have your project converted to a Maven Project:


Without this, there'll be no pom.xml file available at root path of the project.

For more info: What is POM ?