My Maven doesn't build Codehaus anymore, what's wrong?
Wednesday, September 22, 2010 at 4:47PM Recently Codehaus moved artifacts to the nexus repository system, and added a 302 MOVED directive to every request to the OLD repository. (See HAUS-1991).
But, Maven can't deal with this (I haven't tested this assumption in Maven 3.0.0, but it certainly fails in 2.x)
So, if you have:
- a) Maven
- b) a Codehaus plugin or artifact
and you try to build, you MAY get this error:
[INFO] Error building POM (may not be this project's POM). Project ID: org.codehaus.mojo:jboss-packaging-maven-plugin Reason: Error getting POM for 'org.codehaus.mojo:jboss-packaging-maven-plugin' from the repository: Unable to read local copy of metadata: Cannot read metadata from '/Users/krimple/.m2/repository/org/codehaus/mojo/jboss-packaging-maven-plugin/maven-metadata-codehaus.xml': end tag name



Reader Comments