Hello,

I am somewhat new to Maven and running into problems with artifacts being moved 
and we are not sure how correct the problem.

Seeing this during build (On Hudson):
**error: error reading 
/var/db/www/.m2/repository/javax/jms/jms/1.1/jms-1.1.jar; error in opening zip 
file
error: error reading 
/var/db/www/.m2/repository/com/sun/jdmk/jmxtools/1.2.1/jmxtools-1.2.1.jar; 
error in opening zip file
error: error reading 
/var/db/www/.m2/repository/com/sun/jmx/jmxri/1.2.1/jmxri-1.2.1.jar; error in 
opening zip file**

looking at the files I see that they are HTML documents indicating the artifact 
has moved.

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved<a 
href="http://download.java.net/maven/1/javax.jms/jars/jms-1.1.jar";>here</a>.</p>
<hr>
<address>Apache Server at maven-repository.dev.java.net Port 443</address>
</body></html>

We are using Sonatype Nexus and I am wondering if this as simple as adding 
"http://download.java.net/maven/1/"; in my repository list or would we have to 
manually download and add
these items as they come up?

Thank you in advance for any direction.

Regards,

M. Goodell


Maven Build Output:

At revision 989
no change for https://builds.pdc4u.com/subversion/parsingValidation/trunk since 
the previous build
Parsing POMs
[trunk] $ /usr/local/diablo-jdk1.6.0/bin/java -Xms32m -Xmx512m 
-XX:MaxPermSize=1024m -cp 
/var/db/hudson/plugins/maven-plugin/WEB-INF/lib/maven-agent-1.340.jar:/usr/local/share/java/maven2/boot/classworlds-1.1.jar
 hudson.maven.agent.Main /usr/local/share/java/maven2 
/usr/local/apache-tomcat-6.0/webapps/hudson/WEB-INF/lib/remoting-1.340.jar 
/var/db/hudson/plugins/maven-plugin/WEB-INF/lib/maven-interceptor-1.340.jar 
65030 
/var/db/hudson/plugins/maven-plugin/WEB-INF/lib/maven2.1-interceptor-1.2.jar
<===[HUDSON REMOTING CAPACITY]===>channel started
Executing Maven:  -B -f 
/var/db/hudson/jobs/parsingValidation/workspace/trunk/pom.xml install
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building PDC Web Services File Parsing and Validation
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using encoding: 'UTF-8' to copy filtered resources.
[WARNING] POM for 'javax.mail:mail:pom:1.4:compile' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'javax.jms:jms:pom:1.1:compile' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'com.sun.jdmk:jmxtools:pom:1.2.1:compile' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'com.sun.jmx:jmxri:pom:1.2.1:compile' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 34 source files to 
/var/db/hudson/jobs/parsingValidation/workspace/trunk/target/classes
[HUDSON] Archiving 
/var/db/hudson/jobs/parsingValidation/workspace/trunk/pom.xml to 
/var/db/hudson/jobs/parsingValidation/modules/com.paydatacenter$parsingValidation/builds/2010-03-17_17-24-41/archive/com.paydatacenter/parsingValidation/1.0.1-SNAPSHOT/pom.xml
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

*error: error reading /var/db/www/.m2/repository/javax/jms/jms/1.1/jms-1.1.jar; 
error in opening zip file
error: error reading 
/var/db/www/.m2/repository/com/sun/jdmk/jmxtools/1.2.1/jmxtools-1.2.1.jar; 
error in opening zip file
error: error reading 
/var/db/www/.m2/repository/com/sun/jmx/jmxri/1.2.1/jmxri-1.2.1.jar; error in 
opening zip file
*
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6 seconds
[INFO] Finished at: Wed Mar 17 17:24:52 MDT 2010
[INFO] Final Memory: 11M/80M
[INFO] ------------------------------------------------------------------------
Sending e-mails to: *******************************
channel stopped
Sending e-mails to: *******************************
Finished: FAILURE

Reply via email to