[ https://jira.codehaus.org/browse/MNG-4627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=300082#comment-300082 ]
Jon Gorrono commented on MNG-4627: ---------------------------------- I can't see this as being a duplicate of MNG-2259. Particularly since I do not get checksum errors at all, and yet the contents of a 'jar' file is pure html Could someone explain the relation or direct me to another ticket (or ask me to create a new one)? I am using 3.0.4: Apache Maven 3.0.4 (r1232337; 2012-01-17 00:44:56-0800) Maven home: /ucd/opt/maven Java version: 1.6.0_32, vendor: Sun Microsystems Inc. Java home: /local/d01/ucd/pkg/jdk1.6.0_32/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "2.6.18-308.4.1.el5", arch: "amd64", family: "unix" For my project jog4j is a transient dependency mvn clean install -Dmaven.resolver.threads=1 .... [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project oipp-feed: Compilation failure [ERROR] error: error reading HOMME/.m2/repository/log4j/log4j/1.2.12/log4j-1.2.12.jar; error in opening zip file .... less HOMME/.m2/repository/log4j/log4j/1.2.12/log4j-1.2.12.jar <html> <head> <title>PlanetMirror - log4j-1.2.12.jar Download Now</title> <!-- meta http-equiv='Refresh' content='3;URL=http://downloads.planetmirror.com/pub/maven/log4j/log4j/1.2.12/log4j-1.2.12.jar'--> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'> ... So the redirect meta tag is not being properly respected or properly ignored I have no settings.xml file installed. > error in opening zip file > ------------------------- > > Key: MNG-4627 > URL: https://jira.codehaus.org/browse/MNG-4627 > Project: Maven 2 & 3 > Issue Type: Bug > Components: Dependencies > Affects Versions: 2.2.1 > Reporter: Rafal Rusin > Assignee: Benjamin Bentmann > > Maven sometimes downloads artifact from repository (a jar), but the > repository is no longer there (often html page is fetched). > Maven thinks it's a proper jar and continues build. Later, it fails with > error in opening zip file. > Reproduction steps: > download: > http://svn.apache.org/repos/asf/ode/branches/APACHE_ODE_1.X/ rev. 931628 > do mvn install. It ends with this: > Downloading: > https://maven-repository.dev.java.net/nonav/repository//xalan/jars/xalan-2.7.1.jar > 347b downloaded (xalan-2.7.1.jar) > [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = > '58bd24b3f26e94ee0bcb402a2abf301d3456e146'; remote = '<!DOCTYPE' - RETRYING > Downloading: > https://maven-repository.dev.java.net/nonav/repository//xalan/jars/xalan-2.7.1.jar > 347b downloaded (xalan-2.7.1.jar) > [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = > '58bd24b3f26e94ee0bcb402a2abf301d3456e146'; remote = '<!DOCTYPE' - IGNORING > [INFO] [compiler:compile {execution: default-compile}] > [INFO] Compiling 87 source files to /home/joker/ode-1.X/utils/target/classes > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Compilation failure > error: error reading > /home/joker/.m2/repository/xalan/xalan/2.7.1/xalan-2.7.1.jar; error in > opening zip file -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira