[
https://jira.codehaus.org/browse/MNG-2490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Paul Benedict updated MNG-2490:
-------------------------------
Fix Version/s: (was: Issues to be reviewed for 3.x)
> invalid remote repository metadata file installed in local repo
> ---------------------------------------------------------------
>
> Key: MNG-2490
> URL: https://jira.codehaus.org/browse/MNG-2490
> Project: Maven
> 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 was sent by Atlassian JIRA
(v6.1.6#6162)