You're getting some form of redirect: "remote = '<html>
<head><title>301' - RETRYING" What does the redirect say? On Tue, Jun 17, 2014 at 1:31 PM, Zac Harvey <[email protected]> wrote: > I have the following pom.xml file: > > > > <?xml version="1.0" encoding="UTF-8"?> > > <project xmlns="http://maven.apache.org/POM/4.0.0" > > xmlns:xsi=" > http://www.w3.org/2001/XMLSchema-instance" > > xsi:schemaLocation=" > http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/xsd/maven-4.0.0.xsd "> > > <modelVersion>4.0.0</modelVersion> > > <groupId>com.me.myorg</groupId> > > <artifactId>mycas</artifactId> > > <packaging>war</packaging> > > <version>1.0-SNAPSHOT</version> > > > > <build> > > <plugins> > > <plugin> > > > <artifactId>maven-war-plugin</artifactId> > > > <configuration> > > > <warName>mycas</warName> > > > </configuration> > > </plugin> > > </plugins> > > </build> > > > > <dependencies> > > <dependency> > > > <groupId>org.jasig.cas</groupId> > > > <artifactId>cas-server-webapp</artifactId> > > > <version>${cas.version}</version> > > <type>war</type> > > <scope>runtime</scope> > > </dependency> > > <dependency> > > > <groupId>org.jasig.cas</groupId> > > > <artifactId>cas-server-support-ldap</artifactId> > > > <version>${cas.version}</version> > > </dependency> > > <dependency> > > > <groupId>org.jasig.cas</groupId> > > > <artifactId>cas-server-integration-restlet</artifactId> > > > <version>${cas.version}</version> > > </dependency> > > </dependencies> > > > > <properties> > > <cas.version>4.0.0</cas.version> > > </properties> > > > > <repositories> > > <repository> > > <id>ja-sig</id> > > <url> > http://oss.sonatype.org/content/repositories/releases/</url>; > > </repository> > > </repositories> > > </project> > > > > When I run “mvn package” I get all sorts of download errors, a sample of > which are: > > > > [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = > '780ba3cf6b6eb0f7c9f6d41d8d25a86a2f46b0c4'; remote = '<html> > > <head><title>301' - RETRYING > > Downloading: > http://oss.sonatype.org/content/repositories/releases//org/jasig/cas/cas-server-support-ldap/4.0.0/cas-server-support-ldap-4.0.0.pom > <http://oss.sonatype.org/content/repositories/releases/org/jasig/cas/cas-server-support-ldap/4.0.0/cas-server-support-ldap-4.0.0.pom> > > 184b downloaded (cas-server-support-ldap-4.0.0.pom) > > [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = > '780ba3cf6b6eb0f7c9f6d41d8d25a86a2f46b0c4'; remote = '<html> > > <head><title>301' - IGNORING > > [WARNING] POM for > 'org.jasig.cas:cas-server-support-ldap:pom:4.0.0:compile' is invalid. > > > > Its dependencies (if any) will NOT be available to the current build. > > Downloading: > http://oss.sonatype.org/content/repositories/releases//org/jasig/cas/cas-server-integration-restlet/4.0.0/cas-server-integration-restlet-4.0.0.pom > <http://oss.sonatype.org/content/repositories/releases/org/jasig/cas/cas-server-integration-restlet/4.0.0/cas-server-integration-restlet-4.0.0.pom> > > 184b downloaded (cas-server-integration-restlet-4.0.0.pom) > > [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = > '780ba3cf6b6eb0f7c9f6d41d8d25a86a2f46b0c4'; remote = '<html> > > <head><title>301' - RETRYING > > Downloading: > http://oss.sonatype.org/content/repositories/releases//org/jasig/cas/cas-server-integration-restlet/4.0.0/cas-server-integration-restlet-4.0.0.pom > <http://oss.sonatype.org/content/repositories/releases/org/jasig/cas/cas-server-integration-restlet/4.0.0/cas-server-integration-restlet-4.0.0.pom> > > 184b downloaded (cas-server-integration-restlet-4.0.0.pom) > > [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = > '780ba3cf6b6eb0f7c9f6d41d8d25a86a2f46b0c4'; remote = '<html> > > <head><title>301' - IGNORING > > [WARNING] POM for > 'org.jasig.cas:cas-server-integration-restlet:pom:4.0.0:compile' is invalid. > > > > If I try to open any of the downloaded JARs under ~/.m2 they are malformed > and won’t open in my Archive Manager. > > > > What is wrong with the Maven2/CAS repos? > > -- > You are currently subscribed to [email protected] as: > [email protected] > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user > > -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
