[ https://jira.codehaus.org/browse/WAGON-411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=341801#comment-341801 ]
Dan Tran commented on WAGON-411: -------------------------------- i saw the patch, looks maven 3 metadata api fix the bug, we just need to code it up at wagon-maven-plugin > Enhance merge-maven-repos to work with SNAPSHOT builds > ------------------------------------------------------ > > Key: WAGON-411 > URL: https://jira.codehaus.org/browse/WAGON-411 > Project: Maven Wagon > Issue Type: Improvement > Affects Versions: 1.0-beta-3 > Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 02:44:56-0600) > Maven home: D:\maven\apache-maven-3.0.4\bin\.. > Java version: 1.6.0_24, vendor: Sun Microsystems Inc. > Java home: D:\j2sdk1.6.0_24\jre > Default locale: en_US, platform encoding: Cp1252 > OS name: "windows 7", version: "6.1", arch: "x86", family: "windows" > Reporter: Jim McCaskey > > According to Dan Tran the merge-maven-repos goal does not work with > SNAPSHOTS. I could not find an issue open for that so here we go. > Here is a link to my original e-mail with Dan's response. > http://mail-archives.apache.org/mod_mbox/maven-users/201303.mbox/%3CCAPCjjnGNu2%3DV0ZZ4_tT8%2B-4O0Uq%3DmnD8spE5LSLLEdYD7agU_A%40mail.gmail.com%3E > FWIW, it appears to me that there is a problem with the maven-metadata.xml > files that get merged. Here is an example of a badly merged file. > {code} > <?xml version="1.0" encoding="UTF-8"?> > <metadata modelVersion="1.1.0"> > <groupId>myGroup</groupId> > <artifactId>MyArtifact</artifactId> > <version>10.2.6-SNAPSHOT</version> > <versioning> > <snapshot> > <timestamp>20130313.165705</timestamp> > <buildNumber>1</buildNumber> > </snapshot> > <lastUpdated>20130313165705</lastUpdated> > <snapshotVersions> > <snapshotVersion> > <classifier>MyClassifier</classifier> > <extension>zip</extension> > <value>10.2.6-20130311.175410-1</value> > <updated>20130311175410</updated> > </snapshotVersion> > <snapshotVersion> > <extension>pom</extension> > <value>10.2.6-20130311.175410-1</value> > <updated>20130311175410</updated> > </snapshotVersion> > </snapshotVersions> > </versioning> > </metadata> > {code} -- This message was sent by Atlassian JIRA (v6.1.6#6162)