How are repos laid out? Are they the same? If so, who specifies the format.
Asked
Active
Viewed 7,761 times
14
-
2[Check this](http://docs.codehaus.org/display/MAVEN/Repository+Layout+-+Final) – higuaro Nov 13 '12 at 23:30
-
No formal specification for Maven repository manager's file layout (Metadata files, index file format etc). Question should be directed to Sonatype the makers of Maven, I suppose they'd just tell you to use Nexus :-) – Mark O'Connor Nov 14 '12 at 22:17
1 Answers
10
Repository layout for Maven is defined very strictly. Maven itself is the tool that completely handles the repository.
/$groupIdWithSlashes/$artifactId/$version/$artifactId-$version.$extension
/$groupIdWithSlashes/$artifactId/$version/$artifactId-$version-$classifier.$extension
Read more here on details of the layout, and here on details of metadata files.
Note that Nexus has similar layout in its storage, but (in some cases) slightly different format of metadata.xml file.
Other repository managers can have completely different layout in its internal storage - like Artifactory. Anyway, the URL structure must be (and is) identical.

Petr Kozelka
- 7,670
- 2
- 29
- 44
-
Thanks for the info. That page doesn't seem to address the meta data files that I see in my local repo; are they part of the "standard" repo format as well. And, if I look inside of my nexus repo, will be identical to the local repo? – chad Nov 14 '12 at 14:59
-
what is your exact question, are you just curious or trying to solve a problem? – Allen Parslow Nov 15 '12 at 15:36
-
1
-