Maven存储库是否具有标准格式? [英] Does a maven repository have a standard format?

查看:74
本文介绍了Maven存储库是否具有标准格式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何配置回购协议?他们是一样的吗?如果是这样,则由谁指定格式.

How are repos laid out? Are they the same? If so, who specifies the format.

推荐答案

Maven的存储库布局非常严格地定义. Maven本身就是完全处理存储库的工具.

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

此处详细了解布局

请注意, Nexus 在其存储中的布局相似,但是(在某些情况下)格式略有不同的meta.xml文件.

Note that Nexus has similar layout in its storage, but (in some cases) slightly different format of metadata.xml file.

其他存储库管理员可以在其内部存储中使用完全不同的布局,例如 Artifactory .无论如何,URL结构必须相同.

Other repository managers can have completely different layout in its internal storage - like Artifactory. Anyway, the URL structure must be (and is) identical.

这篇关于Maven存储库是否具有标准格式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆