activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r881433 - /activemq/trunk/activemq-xmpp/pom.xml
Date Tue, 17 Nov 2009 18:32:49 GMT
Author: gtully
Date: Tue Nov 17 18:32:49 2009
New Revision: 881433

URL: http://svn.apache.org/viewvc?rev=881433&view=rev
Log:
resolve issue with jaxb jar downloads that result in - [INFO] Internal error in the plugin
manager executing goal 'org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.1:generate': Unable to
find the mojo 'org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.1:generate' in the plugin 'org.jvnet.jaxb2.maven2:maven-jaxb2-plugin'
com/sun/tools/xjc/ErrorReceiver - redirection seems to be the root cause as your local repo
can end up with jar files contaning text which fails checksum. eg: cat /home/gtully/.m2/repository/com/sun/xml/bind/jaxb-xjc/2.0.2/jaxb-xjc-2.0.2.jar
<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/com.sun.xml.bind/jars/jaxb-xjc-2.0.2.jar>here</a>.</p>
<hr>
<address>Apache Server at maven-repository.dev.java.net Port 443</address>
</body></html>
. Adding the maven 1 legacy repo seems to do the trick for some reason.

Modified:
    activemq/trunk/activemq-xmpp/pom.xml

Modified: activemq/trunk/activemq-xmpp/pom.xml
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-xmpp/pom.xml?rev=881433&r1=881432&r2=881433&view=diff
==============================================================================
--- activemq/trunk/activemq-xmpp/pom.xml (original)
+++ activemq/trunk/activemq-xmpp/pom.xml Tue Nov 17 18:32:49 2009
@@ -32,20 +32,28 @@
   <repositories>
     <repository>
       <id>maven2-repository.dev.java.net</id>
-      <name>Java.net Maven  Repository </name>
+      <name>Java.net Maven 2 Repository</name>
       <url>http://download.java.net/maven/2</url>
     </repository>
     <repository>
-      <id>codehaus</id>
-      <name>Codehaus Maven 2 Repository</name>
-      <url>http://repository.codehaus.org/</url>
+      <id>maven-repository.dev.java.net</id>
+      <name>Java.net Maven 1 Repository (legacy)</name>
+      <url>http://download.java.net/maven/1</url>
+      <layout>legacy</layout>
     </repository>
   </repositories>
   <pluginRepositories>
     <pluginRepository>
       <id>maven2-repository.dev.java.net</id>
+      <name>Java.net Maven 2 Repository (legacy)</name>
       <url>http://download.java.net/maven/2</url>
     </pluginRepository>
+    <pluginRepository>
+      <id>maven-repository.dev.java.net</id>
+      <name>Java.net Maven 1 Repository (legacy)</name>
+      <url>http://download.java.net/maven/1</url>
+      <layout>legacy</layout>
+    </pluginRepository>
   </pluginRepositories>
 
   <dependencies>



Mime
View raw message