[ http://jira.codehaus.org/browse/MNGECLIPSE-159?page=comments#action_69540 
] 

Ryan Sonnek commented on MNGECLIPSE-159:
----------------------------------------

nope.  nothing special in my settings.xml.  

I'm fairly comfortable with maven, but i've never seen this repository metadata 
file before.  So, this is my problem:  when I perform a command line 
installation using maven, the repository metadata file is generated "correctly" 
and looks like this:
<?xml version="1.0" encoding="UTF-8"?><metadata>
  <groupId>com.codecrate.shard</groupId>
  <artifactId>shard-core</artifactId>
  <version>0.5.0-SNAPSHOT</version>
</metadata>

when I install my project using the m2eclipse plugin, the repository metatdata 
file is drastically different and causes the m2eclipse plugin to bomb with the 
error I first reported.  I just cleaned out my local repo, so i don't have the 
original "problem file".
 
let me know if there's something else I can look into.  

> 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

Reply via email to