Ivy 和 Nexus 的 Sourceforge 组织财产
当尝试使用以下设置时:
<dependency org="net.sourceforge.artifact" name="artifact" rev="2.0"/>
and:
<artifact pattern="http://localhost/nexus/content/repositories/releases/[module]/[artifact]/[revision]/[artifact]-[revision].[ext]" />
Nexus 期望
http:// ... net/sourceforge/artifact/artifact/revision/artifact.ext
但 net 和 sourceforge 被完全丢弃,如下所示:
http:// ... artifact/artifact/revision/artifact.ext
When trying to use the following settings:
<dependency org="net.sourceforge.artifact" name="artifact" rev="2.0"/>
and:
<artifact pattern="http://localhost/nexus/content/repositories/releases/[module]/[artifact]/[revision]/[artifact]-[revision].[ext]" />
Nexus expects
http:// ... net/sourceforge/artifact/artifact/revision/artifact.ext
but net and sourceforge are being completely dropped like so:
http:// ... artifact/artifact/revision/artifact.ext
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在这种情况下使用的正确解析器是在 此处找到的 IBiblio 解析器。它将正确地将组织名称中的句点翻译为正确的 url。
The correct resolver to use in this case is the IBiblio resolver found here. It will properly translate the periods in the org name to the proper url.