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)
My Maven Error Trace: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>
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


Reply With Quote
