For maven 2 it used to be in
M2_HOME/lib/maven-2.2.1-uber.jar:org/apache/maven/project/pom-4.0.0.xml
But 3.0.x does not have a single jar.
All Maven project POMs extend the Super POM, which defines a set of defaults shared by all projects. This Super POM is a part of the Maven installation. Depending on the Maven version it can be found in the maven-x.y.z-uber. jar or maven-model-builder-xy.
Once you get a repository up an running, you will need to have each developer modify their settings. xml to reference the new repository server you have setup. The super pom you create will be deployed in the repository, so once they are configured to use it, then maven will pull the super pom down automatically.
The pom. xml is placed in the projects root-folder.
Super POM. The Super POM is Maven's default POM. All POMs extend the Super POM unless explicitly set, meaning the configuration specified in the Super POM is inherited by the POMs you created for your projects. You can see the Super POM for Maven 3.6.3 in Maven Core reference documentation.
They moved it (without documenting it as usual) to
lib/maven-model-builder-3.0.3.jar:org/apache/maven/model/pom-4.0.0.xml
As for maven 3.5.4
in mac, it's located in
$MAVEN_HOME/lib/maven-model-builder-3.5.4.jar!/org/apache/maven/model/pom-4.0.0.xml
But you have to unzip
the maven-model-builder-3.5.4.jar
first, where the super pom hides.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With