我正在寻找添加SpringSource EBR(企业捆绑存储库: http://www.springsource.com/repository/)作为代理。我这样做的主要原因是,Springsource Osgi对各种著名的OSS项目(例如:速度,apkipj ...)进行了培养,使其易于将其包含在OSGI Runtimes中。

无论如何,它会与Nexus“看到” EBR有些麻烦,因为即使我可以远程浏览存储库,它也不是副本,并且根本没有正确索引。我观察到的提示是,Nexus没有看到其他Maven存储库所暴露的直接Maven组(ex:org/...)(ex:ex:central,google ...),而是一个单独的 外部的 或者 释放 远程导航时插入文件夹/根。

Bellow是我感兴趣的Springsource EBR存储库:

<repository>  
      <id>com.springsource.repository.bundles.release</id>  
      <name>SpringSource Enterprise Bundle Repository - SpringSource Bundle Releases</name>
      <url>http://repository.springsource.com/maven/bundles/release</url> 
 </repository> 
 <repository>  
      <id>com.springsource.repository.bundles.external</id>  
      <name>SpringSource Enterprise Bundle Repository - External Bundle Releases</name>
      <url>http://repository.springsource.com/maven/bundles/external</url> 
 </repository>

如果将这些存储库直接指定为Maven项目 pom.xml 一切都很好,但不是通过联系。

有帮助吗?

解决方案

您应该能够将它们添加为代理存储库(我建议关闭索引)。至少它对我有用。

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top