A repository metadata model

If you go to http://repo1.maven.org/maven2/org/apache/, you will find a file called maven-metadata.xml. As shown in the following code snippet, the file lists out the available plugins under http://repo1.maven.org/maven2/org/apache/.

<metadata>
  <plugins>
    <plugin>
      <name>Maven XBean Plugin</name>
      <prefix>xbean</prefix>
      <artifactId>maven-xbean-plugin</artifactId>
    </plugin>
  </plugins>
</metadata>

If you go to http://repo1.maven.org/maven2/org/apache/axis2, you will again find a similar file maven-metadata.xml under it. This too lists out all the available plugins under http://repo1.maven.org/maven2/org/apache/axis2.

If you go to http://repo1.maven.org/maven2/org/apache/axis2/axis2-kernel/, you will see a slightly different ...

Get Mastering Apache Maven 3 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.