How are repos laid out? Are they the same? If so, who specifies the format.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
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.
回答2:
Just to update the links given by Petr above... The maven documents appear to have moved to Maven Repository Layout and Maven Repository Metadata