this is a bug that got into the master repo here is am example maven-metadata-codehaus-snapshots.xml from /org/codehaus/cargo/cargo-maven2-plugin/1.0.1-SNAPSHOT <!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="https://nexus.codehaus.org/content/repositories/snapshots/org/codehaus/cargo//cargo-maven2-plugin/1.0.1-SNAPSHOT/maven-metadata.xml">here</a>.</p> <hr> <address>Apache/2.0.52 (Red Hat) Server at snapshots.repository.codehaus.org Port 80</address> </body> </html>
as the html tag/endtag pairings are incomplete please insert </hr> after the </address> and before the </body> tag as seen here <!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="https://nexus.codehaus.org/content/repositories/snapshots/org/codehaus/cargo//cargo-maven2-plugin/1.0.1-SNAPSHOT/maven-metadata.xml">here</a>.</p> <hr> <address>Apache/2.0.52 (Red Hat) Server at snapshots.repository.codehaus.org Port 80</address> </hr> </body> </html> Martin Gainty ______________________________________________ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Tue, 21 Sep 2010 23:46:56 -0700 > From: [email protected] > To: [email protected] > Subject: Strange <hr> tag in maven-metadata-codehaus.xml does not allow me to > build successfully > > > hi.. > i also got a same error while building the maven...pls tel me d solution > sir.. > > Unable to read local copy of metadata: Cannot read metadata from > 'C:\Documents and > Settings\Kapilan\.m2\repository\org\codehaus\castor\castor-xml\1.3.1-SNAPSHOT\maven-metadata-codehaus.releases.xml': > end tag name </body> must match start tag name <hr> from line 7 (position: > TEXT seen ...</address>\n</body>... @9:8) > -- > 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-tp2797753p2849250.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] >
