Configuring Nexus to work with Spring’s EBR

Posted By Hoyt Summers Pittman

There are alot of different blog and forum posts which reference different repositories to use to get Spring’s OSGi bundles.

There are four current ones in Spring’s Enterprise Bundle Repository (EBR) system. They are :

     <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>

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

I added them to my Nexus install as proxy repositories and turned off indexing which made a lot of headaches go away. If you are interested in doing some OSGi + Spring + Maven work, you may use my Nexus repositories which I will try to keep current with the Spring resources.

        <repository>
            <id>libs-releases</id>
            <name>libs-releases</name>

            <url>http://www.sagaoftherealms.net/nexus/content/groups/libs-releases</url>
        </repository>
        <repository>
            <id>libs-releases</id>
            <name>libs-releases</name>
            <snapshots>
                <enabled>true</enabled>
            </snapshots>
            <url>http://www.sagaoftherealms.net/nexus/content/groups/libs-snapshots</url>
        </repository>

Jan 29th, 2010

No Comments! Be The First!

Leave a Reply