You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Matthew Beermann (JIRA)" <ji...@codehaus.org> on 2007/04/25 00:16:27 UTC

[jira] Closed: (MNG-2792) When Maven runs Java 6, maven-metadata.xml file is "corrupted"

     [ http://jira.codehaus.org/browse/MNG-2792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthew Beermann closed MNG-2792.
---------------------------------

       Resolution: Duplicate
    Fix Version/s: 2.0.6

Duplicate of MNG-2793.

> When Maven runs Java 6, maven-metadata.xml file is "corrupted"
> --------------------------------------------------------------
>
>                 Key: MNG-2792
>                 URL: http://jira.codehaus.org/browse/MNG-2792
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Artifacts and Repositories
>    Affects Versions: 2.0.4
>            Reporter: Matthew Beermann
>            Priority: Critical
>             Fix For: 2.0.6
>
>         Attachments: maven-metadata.xml
>
>
> When you run Maven under Java 6, the "maven-metadata.xml" file that gets written to the remote repository is markedly different from the one generated under Java 5 and earlier. This file is "corrupted" in the sense that Maven reports errors about it, and might not be able to locate snapshots as a result. See attachment for an example file; you'd expect to see build numbers or -SNAPSHOTs, but not both at once.
> This issue is described further at http://www.nabble.com/Maven-and-JDK-1.6-t3060866s177.html (originally message only, not the followups). This might be related to MNG-2709, but I don't think it's a duplicate, as it has nothing to do with testing or parents.

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