http://nexus.codehaus.org/ is no maven repo. Most likely you're after https://nexus.codehaus.org/content/groups/public/ .
However, all artifacts at the Codehaus repo is synced to central, so you shouldn't need this at all. It's only if you want the snapshots as well you need to define the Codehaus snapshot repo ( https://nexus.codehaus.org/content/groups/snapshots-group/). Possibly you're getting the repo definition from one of your dependencies. Please execute maven in debug mode and check what repo Maven says it is accessing and why. It might give you some idea on where the problem exists. /Anders PS. I've commented on the jira for the repo migration of the Codehaus Mojo project, so let's hope Ben sees that soon and can put a fix in place. On Tue, Aug 31, 2010 at 13:29, mnenchev <[email protected]> wrote: > > Hi, > > OK, i changed http://repository.codehaus.org/ to > http://nexus.codehaus.org/ > I removed all XXX/org/codehouse/* from .m2 and now i'm getting the same > error But the file maven-metadata-codehouse.xml contains: > > <html> > > <head><title>301 Moved Permanently</title></head> > > <body bgcolor="white"> > > <center><h1>301 Moved Permanently</h1></center> > > <hr> > <center>nginx/0.8.24</center> > > </body> > > </html> > > -- > View this message in context: > http://maven.40175.n5.nabble.com/Strange-hr-tag-in-maven-metadata-codehaus-xml-does-not-allow-me-to-build-successfully-tp2797753p2797923.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
