You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brian Fox (JIRA)" <ji...@codehaus.org> on 2007/11/13 11:13:25 UTC
[jira] Updated: (MNG-2490) invalid remote repository metadata file
installed in local repo
[ http://jira.codehaus.org/browse/MNG-2490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Fox updated MNG-2490:
---------------------------
Fix Version/s: (was: Reviewed Pending Version Assignment)
2.0.x
> 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
> Fix For: 2.0.x
>
>
> 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