SpringSource EBR(Enterprise Bundle Repository:http://www.springsource.com/repository/)プロキシとしてNexusに。私がそうする主な理由は、SpringSource OSGiがさまざまな有名なOSSプロジェクト(例:Velocity、AspectJ ...)を実行し、OSGiランタイムに簡単に含めることができるようにすることです。
とにかく、リポジトリをリモートで参照できたとしても、リポジトリがプロキシされておらず、正しくインデックス付けされていないため、NexusがEBRを「見る」方法にいくつかの問題があります。私が観察したヒントとして、Nexusは直接のMavenグループ(例:org / ...)を他のMavenリポジトリ(例:Central、google ...)によって公開されているとは見なさず、代わりに別の外部フォルダーまたはリリースフォルダーを認識します。 / rootは、リモートでナビゲートするときに挿入されます。
以下は、私の興味のあるSpringSourceEBRリポジトリです。
<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に直接指定されている場合、すべてが正常に機能しますが、Nexusを介しては問題ありません。