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.
|