Results 1 to 4 of 4

Thread: How to get Spring Security 3.0.0.RC1 with Maven?

  1. #1
    Join Date
    Jan 2009
    Posts
    4

    Default How to get Spring Security 3.0.0.RC1 with Maven?

    Hello,

    I try to get Spring Security 3.0.0.RC1 with Maven, but it does not work.

    Repositories in pom.xml:
    Code:
    	<repositories>
    		<!-- see: http://www.springsource.com/repository/app/faq#q8 -->
    		<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>spring-maven-milestone</id>
      			<name>Springframework Maven Repository</name>
      			<url>http://s3.amazonaws.com/maven.springframework.org/milestone</url>
    		</repository>
    	</repositories>
    And the dependency:
    Code:
    <dependency>
    			<groupId>org.springframework.security</groupId>
    			<artifactId>org.springframework.security</artifactId>
    			<version>3.0.0.RC1</version>
    		</dependency>
    How can I get Spring Security 3 with Maven?

    Christian


    PS: The interface of the Amazon S3 hosted repository conflicts with http standards! See http://old.nabble.com/Re%3A-How-to-g...p26304400.html

  2. #2
    Luke Taylor is offline Senior Member Acegi Security System TeamSpring Team
    Join Date
    Aug 2004
    Location
    Glasgow, Scotland
    Posts
    3,449

  3. #3
    Join Date
    Jan 2009
    Posts
    4

    Default

    Thanks for the reply! It worked for me with
    Code:
    <repository>
        <id>spring-maven-milestone</id>
        <name>Springframework Maven Repository</name>
        <url>http://s3.amazonaws.com/maven.springframework.org/milestone</url>
    </repository>
    
    <dependency>
        <groupId>org.springframework.security</groupId>
        <artifactId>spring-security-core</artifactId>
        <version>3.0.0.RC1</version>
    </dependency>
    How can I find such coordinates the next time? If I query http://www.springsource.com/repository/app/ I get only final releases.

  4. #4
    Join Date
    Sep 2004
    Location
    Manchester, NH
    Posts
    1,236

    Default

    s3browse.com (until it gets shut down, which is unfortunately soon)
    Peter Mularien | Blog
    Author, Spring Security 3 (Book) - Packt Publishing, Available in print and eBook form
    SCJP 5, Oracle DBA
    Any postings are my own opinion, and should not be attributed to my employer or clients.


Posting Permissions

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