invalid remote repository metadata file installed in local repo
---------------------------------------------------------------

                 Key: MNG-2490
                 URL: http://jira.codehaus.org/browse/MNG-2490
             Project: Maven 2
          Issue Type: Bug
          Components: Artifacts and Repositories
    Affects Versions: 2.0.4
            Reporter: Ryan Sonnek


When I install my project, a metadata file is placed in my local repository for 
each of the remote repositories my project uses.  For some reason, maven is 
creating an invalid remote repository file.  This breaks my m2eclipse 
integration and eclipse complains that it can't read the metadata file.


here are the contents of maven-metadata-codecrate-maven-repo.xml that's in my 
local repository:
<HTML><HEAD><META HTTP-EQUIV="Refresh" CONTENT="0.1; 
URL=/com/codecrate/shard/shard-dice/0.5.0-SNAPSHOT/maven-metadata.xml">
<META HTTP-EQUIV="Pragma" CONTENT="no cache">
<META HTTP-EQUIV="Expires" CONTENT="-1">
</HEAD></HTML>

This is blatently wrong, and should be more like this 
maven-metadata-spring-rich-client-maven-repo.xml file:
<?xml version="1.0" encoding="UTF-8"?><metadata>
  <groupId>com.codecrate.shard</groupId>
  <artifactId>shard-dice</artifactId>
  <version>0.5.0-SNAPSHOT</version>
</metadata>


-- 
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