Redefinition of super POM from the entire super-parent POM company

We would like to have a company all over the world POM , which would inherit from the usual super POM and from which all of our projects the company inherited implicitly . Is it possible?

Currently, we must inherit explicitly from our corporate POM. This is not very convenient and error prone.

Can anyone advise?

+1
source share
3 answers

There is no best practice that I know of for this. I do not know if there is a command line option for specifying a super POM, for example.

, , , , . Maven < POM Maven , Maven . Maven, , , , .

POM, POM. .

+1

Maven / maven . , .

.

+1

Use maven-enforcer-pluginto make sure that it is loaded, and other criteria that you may have.

Then configure the nexus server to have a set of rules to ensure that the parent pom boots for everything that has been deployed.

+1
source

All Articles