views:

350

answers:

1

hi! can't find it anywhere:

<dependency>
      <groupId>org.springframework.security</groupId>
      <artifactId>spring-security-core</artifactId>
      <version>3.0.0.RC2</version>
</dependency>

same with RC1. Does anyone now where to get it? thanks

+2  A: 

As mentioned in this thread or this one, you'll find the RC1 jars in springframework milestone repository:

...
<properties>
    .....
    <spring-security.version>3.0.0.RC1</spring-security.version>
</properties>
...
<repositories>
     ....
    <repository>
        <id>Springframework milestone</id>
        <url>http://maven.springframework.org/milestone&lt;/url&gt;
    </repository>
</repositories>
...
<dependencies>
    <!-- Spring Security -->
    <dependency>
        <groupId>org.springframework.security</groupId>
        <artifactId>spring-security-core</artifactId>
        <version>${spring-security.version}</version>
    </dependency>
    <dependency>
        <groupId>org.springframework.security</groupId>
        <artifactId>spring-security-config</artifactId>
        <version>${spring-security.version}</version>
    </dependency>
    <dependency>
        <groupId>org.springframework.security</groupId>
        <artifactId>spring-security-acl</artifactId>
        <version>${spring-security.version}</version>
    </dependency>
    <dependency>
        <groupId>org.springframework.security</groupId>
        <artifactId>spring-security-web</artifactId>
        <version>${spring-security.version}</version>
    </dependency>
    <dependency>
        <groupId>org.springframework.security</groupId>
        <artifactId>spring-security-taglibs</artifactId>
        <version>${spring-security.version}</version>
    </dependency>
    ...
 </dependencies>
 ...

Of course, adapt it to suit your needs. Strangely, it doesn't contain RC2 jars. But if you need a more recent version, you'll find SNAPSHOTS in the repository below (I don't know if it has a "nice" alias) that you can browser through s3browse.com:

<repository>
    <id>spring-maven-snapshot</id>
    <name>Springframework Maven Repository</name>
    <url>http://s3.amazonaws.com/maven.springframework.org/snapshot&lt;/url&gt;
</repository>

<dependency>
    <groupId>org.springframework.security</groupId>
    <artifactId>spring-security-core</artifactId>
    <version>3.0.0.CI-SNAPSHOT</version>
</dependency>
Pascal Thivent
yes, but as i understood - s3 is only for browsing, and springframework.org/milestone - is for downloading. the thing that confused me - it's unable to browse this repo, but it contains all RCs.
sab
My understanding is that spring use s3 for its maven repositories, http://maven.springframework.org/milestone, http://maven.springframework.org/release, http://maven.springframework.org/external are just aliases. You can browse milestone with s3browse http://s3browse.com/explore/maven.springframework.org/milestone/org/springframework/security/spring-security-core/ (it doesn't contain RC2 as I wrote). You can use http://s3.amazonaws.com/maven.springframework.org/snapshot for downloading of SNAPSHOTS (as I wrote).
Pascal Thivent