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?
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. .
Maven / maven . , .
.
Use maven-enforcer-pluginto make sure that it is loaded, and other criteria that you may have.
maven-enforcer-plugin
Then configure the nexus server to have a set of rules to ensure that the parent pom boots for everything that has been deployed.