Results 1 to 7 of 7

Thread: maven repository for spring 3

  1. #1

    Default maven repository for spring 3

    is there a maven repostiory for spring 3?

  2. #2
    Join Date
    Aug 2007
    Location
    Brisbane, Australia
    Posts
    33

  3. #3
    Join Date
    May 2007
    Posts
    157

    Default

    All the spring 3 maven artifacts are available on central repo.

  4. #4

    Default

    Quote Originally Posted by sslavic View Post
    All the spring 3 maven artifacts are available on central repo.
    it did not work , can you give me the url for repository

    for example

    http://repo1.maven.org/maven2/org/sp...mework/spring/

    i can see all available versions available


    the repository you gave I could not see anything

  5. #5
    Join Date
    Aug 2007
    Location
    Brisbane, Australia
    Posts
    33

    Default

    I had difficulties accessing Spring 3 from the cental repository.

    I had success using the enterprise repository as posted earlier. FAQ is here, http://www.springsource.com/repository/app/faq

    You need to add the following repositories to your POM or Repository manager.

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

  6. #6
    Join Date
    May 2007
    Posts
    157

    Default

    One of the changes in spring 3 is "revised project layout and build system (module-based sources, bundle repository)", so for spring 3 that org.springframework:spring module which used to include all spring modules no longer exists, you have to define what you need where you need it.
    Last edited by sslavic; Jan 20th, 2010 at 04:39 PM.
    Stevo Slavic

  7. #7
    Join Date
    May 2007
    Posts
    157

    Default

    Slight correction/addition. If you are using SpringSource EBR, you can define dependency to spring as a library (see this comment from Chris Beams).
    Stevo Slavic

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •