51

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.

Ondra Žižka
  • 43,948
  • 41
  • 217
  • 277
Alexander Pogrebnyak
  • 44,836
  • 10
  • 105
  • 121

4 Answers4

79

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
Hearen
  • 7,420
  • 4
  • 53
  • 63
Jon7
  • 7,165
  • 2
  • 33
  • 39
  • 6
    http://maven.apache.org/ref/3-LATEST/maven-model-builder/super-pom.html – Sean Bright Jan 19 '17 at 20:30
  • 1
    I found it on lib/maven-model-builder-3.3.9.jar:org/apache/maven/model/pom-4.0.0.xml. – thread-game May 08 '17 at 08:35
  • 5
    For Maven 3.5 : https://maven.apache.org/ref/3.5.0/maven-model-builder/super-pom.html – Guillaume Husta Jun 06 '17 at 08:59
  • 1
    This answer is excellent. Using it as a guide, I renamed the jar in question to ZIP, and used my graphical zip viewer (WinZip) to extract and view the file. Following the path (everything you wrote after .jar, led me straight to it. Learning that JARs were ZIPs in disguise made many things easy. – David A. Gray Sep 22 '17 at 22:40
  • 1
    in github: https://github.com/apache/maven/blob/master/maven-model-builder/src/main/resources/org/apache/maven/model/pom-4.0.0.xml – Max Dec 16 '19 at 17:43
8

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.

rogerdpack
  • 62,887
  • 36
  • 269
  • 388
Hearen
  • 7,420
  • 4
  • 53
  • 63
1

For Maven 3.6.1 it's available at https://maven.apache.org/ref/3.6.1/maven-model-builder/super-pom.html

For any other version just edit the URL.

Ilya Serbis
  • 21,149
  • 6
  • 87
  • 74
1

It's documented in Sonatype's Maven reference book, which for some reason doesn't turn up easily in Google results: http://books.sonatype.com/mvnref-book/reference/index.html

maazza
  • 7,016
  • 15
  • 63
  • 96
Klaus
  • 27
  • 1
  • 9
    -1. The book is incorrect, as anyone inspecting their `${M2_HOME}/lib` will see, that there is no `maven-3.0.3-uber.jar`. Sometimes, updating a book edition means more than updating the version of the product being described. – Alexander Pogrebnyak Oct 25 '11 at 14:58
  • 1
    You're right. However, I've found that the book is generally in much better shape than the documentation on the Apache Maven site. – Klaus Oct 27 '11 at 07:39
  • 1
    I have updated the book content about this now. Hope that helps. – Manfred Moser Oct 18 '13 at 17:00