location of pom.xml file

54.1k views Asked by At

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?

2

There are 2 answers

2
Himanshu Bhardwaj On BEST ANSWER

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

0
ivanleoncz On

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


enter image description here

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

For more info: What is POM ?