sharmakeshav
sharmakeshav

Reputation: 287

Relative Path for pom.xml with only a single pom.xml present

Do we need to specify the relative path for pom.xml if we have only 1 pom.xml present in our directory ?

Upvotes: 1

Views: 705

Answers (2)

Abhas Tandon
Abhas Tandon

Reputation: 1889

remove the parent in case you don't need it....

Upvotes: 0

khmarbaise
khmarbaise

Reputation: 97399

I assume you have a parent in your pom.xml which uses some kind of company pom which defines some global defaults etc. In those cases you have to omit the relative path in your pom.

Upvotes: 1

Related Questions