Announcement Announcement Module
Collapse
No announcement yet.
Where/How to obtain SS 3.1.0.M1 from Maven Repository? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Where/How to obtain SS 3.1.0.M1 from Maven Repository?

    Forgive me if this is a newbie question, but I am having some difficulty getting access to SS 3.1.0.M1. My pom is below, but maven (ver. 2.2.1) is giving me a CHECKSUM FAILED error. Can someone point me to the correct repository url or tell me why Maven doesn't like the current repository? Perhaps it has something to do with this repository being "https"? I have about 50 other dependecies that seem to work fine. Thanks!

    My pom (pertinent code only)
    Code:
    <repositories>
        <repository>
          <id>MavenRepo</id>
          <name>Maven Repository</name>
          <url>http://repo1.maven.org/maven2</url>
        </repository>
    	<repository>
    	  <id>SpringRepo</id>
    	  <name>Spring Maven Repository</name>
    	  <url>https://s3browse.springsource.com/browse/maven.springframework.org/milestone</url>
    	</repository>
    </repositories>
    
    <properties>
    	<spring.security.version>3.1.0.M1</spring.security.version>  
    </properties>
    
    
    <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-web</artifactId>
    	<version>${spring.security.version}</version>
    </dependency>
    <dependency>
    	<groupId>org.springframework.security</groupId>
    	<artifactId>spring-security-config</artifactId>
    	<version>${spring.security.version}</version>
    </dependency>
    My Maven Error Trace:
    Code:
    [INFO] Scanning for projects...
    [INFO]                                                                         
    [INFO] ------------------------------------------------------------------------
    [INFO] Building AFS Site 2.0
    [INFO] ------------------------------------------------------------------------
    2010-10-27 15:33:12.921:INFO::Logging to StdErrLog::DEBUG=false via org.eclipse.jetty.util.log.StdErrLog
    Downloading: http://repo1.maven.org/maven2/org/springframework/security/spring-security-core/3.1.0.M1/spring-security-core-3.1.0.M1.pom
    Downloading: https://s3browse.springsource.com/browse/maven.springframework.org/milestone/org/springframework/security/spring-security-core/3.1.0.M1/spring-security-core-3.1.0.M1.pom
    2 KB downloaded at 1.4 KB/sec
    [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 'a2466145b3ae0177938f20fb94a997997845ec33'; remote = '<!DOCTYPE' - RETRYING
    Downloading: https://s3browse.springsource.com/browse/maven.springframework.org/milestone/org/springframework/security/spring-security-core/3.1.0.M1/spring-security-core-3.1.0.M1.pom
    2 KB downloaded at 3.6 KB/sec
    [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '33c15e0862b6e5ff79fd2572b7da2d7e2e0854f1'; remote = '<!DOCTYPE' - IGNORING
    [WARNING] Invalid POM for org.springframework.security:spring-security-core:jar:3.1.0.M1, transitive dependencies (if any) will not be available, enable debug logging for more details
    [WARNING] Invalid POM for org.springframework.security:spring-security-web:jar:3.1.0.M1, transitive dependencies (if any) will not be available, enable debug logging for more details
    [WARNING] Invalid POM for org.springframework.security:spring-security-config:jar:3.1.0.M1, transitive dependencies (if any) will not be available, enable debug logging for more details
    Downloading: http://repo1.maven.org/maven2/org/springframework/security/spring-security-core/3.1.0.M1/spring-security-core-3.1.0.M1.jar
    Downloading: https://s3browse.springsource.com/browse/maven.springframework.org/milestone/org/springframework/security/spring-security-core/3.1.0.M1/spring-security-core-3.1.0.M1.jar
    2 KB downloaded at 2.5 KB/sec
    [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '75515b2043a4ac10c748c7c4783b3170a70b76bd'; remote = '<!DOCTYPE' - RETRYING
    Downloading: https://s3browse.springsource.com/browse/maven.springframework.org/milestone/org/springframework/security/spring-security-core/3.1.0.M1/spring-security-core-3.1.0.M1.jar
    2 KB downloaded at 5.5 KB/sec
    [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '589dd92c08709003508c6d3ed2be59b18f38bf77'; remote = '<!DOCTYPE' - IGNORING
    [INFO] 
    [INFO] --- maven-clean-plugin:2.3:clean (default-clean) @ afs-site ---
    [INFO] Deleting file set: C:\webappdev\afs-site-2\target (included: [**], excluded: [])
    [INFO] 
    [INFO] --- maven-resources-plugin:2.4.1:resources (default-resources) @ afs-site ---
    [INFO] Using 'UTF-8' encoding to copy filtered resources.
    [INFO] Copying 61 resources
    [INFO] 
    [INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ afs-site ---
    [INFO] Compiling 101 source files to C:\webappdev\afs-site-2\target\classes
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 7.375s
    [INFO] Finished at: Wed Oct 27 15:33:19 CDT 2010
    [INFO] Final Memory: 4M/15M
    [INFO] ------------------------------------------------------------------------
    [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project afs-site: Compilation failure: Compilation failure: 
    error: error reading C:\Documents and Settings\brhodes\.m2\repository\org\springframework\security\spring-security-core\3.1.0.M1\spring-security-core-3.1.0.M1.jar; error in opening zip file
    error: error reading C:\Documents and Settings\brhodes\.m2\repository\org\springframework\security\spring-security-web\3.1.0.M1\spring-security-web-3.1.0.M1.jar; error in opening zip file
    error: error reading C:\Documents and Settings\brhodes\.m2\repository\org\springframework\security\spring-security-config\3.1.0.M1\spring-security-config-3.1.0.M1.jar; error in opening zip file
    -> [Help 1]
    [ERROR] 
    [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
    [ERROR] Re-run Maven using the -X switch to enable full debug logging.
    [ERROR] 
    [ERROR] For more information about the errors and possible solutions, please read the following articles:
    [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

  • #2
    I suspect this thread will help you.

    Comment


    • #3
      I actually read that thread several times. In fact, it's where I recieved the url "https://s3browse.springsource.com/browse/maven.springframework.org/milestone". However, my version of Maven doesn't seem to play nice with that url.

      Comment


      • #4
        My apologies, the URL doesn't work for me either. Give http://s3.amazonaws.com/maven.spring....org/milestone a try. You may need to do mvn -U to ensure that the results are checked again. If that doesn't work you can try renaming your local repo.

        PS the repositories can be found in this blog

        Comment


        • #5
          That did the trick. Thanks!

          Comment

          Working...
          X