Apache

Specimen. A proposed redesign of maven.apache.org, built with mvn site and a skin of its own; not the official Apache Maven site. The official site is maven.apache.org. About this example

Extend Repository format: layout and metadata files

Holds for
Not yet checked against Maven 3.9, 3.10 and 4.0
Source
Edit this page
Wrong?
Report a problem

Maven Repositories

Apache Maven uses repositories to store artifacts. Your dependencies are downloaded from repositories, and artifacts you build are stored (installed, uploaded) into repositories as well. This is one of the fundamental concepts of Maven since its inception: Maven command line tool and Maven Repositories were molded together and developed since the beginning of Maven project itself.

JBoss central (default) Maven local repository Repository Manager settings.xml <mirrorOf> pom.xml <repository>

See also the Introduction to Repositories and Repository Layout.

Maven addresses artifacts using artifact coordinates. The artifact coordinates uniquely identify an artifact, but do not say anything about its source or origin. This is where Maven Repositories come into the picture. A repository holds the artifacts in a file system or URL hierarchy laid out according to the Maven Repository Layout. And this is where the circle closes: artifacts, being laid out in defined layout, are consumed and published by Maven.

Sections: