We have a root POM in one of our project which more and more people consume. So we're now considering to extract this into a real parent POM (i.e. without <modules>
and specific build commands).
Now the question is where should this new parent POM go? I see two options:
- A new project
- Into a folder
parent/
inside of theframework
project.
I looked at Maven and it uses a distinct project for the parent POM (here is the latest release).
But that means the relativePath
is most often wrong (I really don't want developers to have to checkout the parent POM with this approach).
What are the differences/advantages/drawbacks of the two approaches?