Uploaded image for project: 'Maven Wagon'
  1. Maven Wagon
  2. WAGON-411

Enhance merge-maven-repos to work with SNAPSHOT builds

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.0-beta-3
    • None
    • None
    • None

    Description

      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.

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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jmccaske jmccaske
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: