error in opening zip file
-------------------------
Key: MNG-4627
URL: http://jira.codehaus.org/browse/MNG-4627
Project: Maven 2 & 3
Issue Type: Bug
Components: Dependencies
Affects Versions: 2.2.1
Reporter: Rafal Rusin
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 contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira