[ http://jira.codehaus.org/browse/MNGECLIPSE-159?page=comments#action_69576 ]
Ryan Sonnek commented on MNGECLIPSE-159: ---------------------------------------- I've had this issue happen on more than one computer, and here's the invalid repository metadata file: <HTML><HEAD><META HTTP-EQUIV="Refresh" CONTENT="0.1; URL=/com/codecrate/shard/shard-core/0.5.0-SNAPSHOT/maven-metadata.xml"> <META HTTP-EQUIV="Pragma" CONTENT="no cache"> <META HTTP-EQUIV="Expires" CONTENT="-1"> </HEAD></HTML> I can't put my finger on this as either a core maven issue or an m2eclipse issue, but it *only* throws errors in the m2eclipse plugin. I've been forced to build from the command line to get around this problem. > using install goal creates invalid > ----------------------------------- > > Key: MNGECLIPSE-159 > URL: http://jira.codehaus.org/browse/MNGECLIPSE-159 > Project: Maven 2.x Extension for Eclipse > Type: Bug > Versions: 0.0.9 > Environment: eclipse 3.2, m2eclipse 0.0.9 > Reporter: Ryan Sonnek > Assignee: Eugene Kuleshov > > > When I install my project using the m2eclise plugin (external tools > integration), i get the following error. Either maven or the m2eclipse > plugin created an invalid repository xml file and installed it in my local > repository. > The only solution is to nuke the local repository files and install from the > command line. > Is this because my project has custom repositories defined in my POM? > Project ID: com.codecrate.shard:shard-gui-core > Reason: Error getting POM for 'com.codecrate.shard:shard-gui-core' from the > repository: Unable to read local copy of metadata: Cannot read metadata from > '/home/rsonnek/.m2/repository/com/codecrate/shard/shard-gui-core/0.5.0-SNAPSHOT/maven-metadata-codecrate-maven-repo.xml': > end tag name </HEAD> must be the same as start tag <META> from line 3 > (position: TEXT seen ...<META HTTP-EQUIV="Expires" > CONTENT="-1">\r\n</HEAD>... @4:8) > com.codecrate.shard:shard-gui-core:pom:0.5.0-SNAPSHOT -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira