Uploaded image for project: 'Dev - Nexus'
  1. Dev - Nexus
  2. NEXUS-1333

Incorrect snapshot timestamps in maven-metadata.xml

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.0.2
    • Fix Version/s: 1.4.0
    • Component/s: None
    • Labels:
      None
    • Environment:
      Solaris 10

      Description

      (This may be related to NEXUS-1332 as it is on an artifact affected by it)

      (Artifact names changed to protect the innocent)

      groupId: group.id
      artifactId: artifactID.$

      {target}
      version: 14.0.0-SNAPSHOT
      Artifact was deployed with target=main, so we are looking at directory group/id/artifactID.main/14.0.0-SNAPSHOT

      The most recent build in this directory is:
      artifactID.main-14.0.0-20090106.195709-143.zip

      maven-metadata.xml generated by Rebuild Maven Metadata within this directory reads:
      <metadata>
      <groupId>group.id</groupId>
      <artifactId>artifactID.${target}

      </artifactId> (I believe this should read artifactID.main instead, see NEXUS-1332)
      <version>14.0.0-SNAPSHOT</version>
      <versioning>
      <snapshot>
      <timestamp>6.195709</timestamp> (should read 20090106.195709)
      <buildNumber>143</buildNumber>
      </snapshot>
      <lastUpdated>20090107162705</lastUpdated> (this matches when I last ran Rebuild Maven Metadata in GMT)
      </versioning>
      </metadata>

      This causes the Maven client to go looking for http://mynexusURL/groups/mygroupname/group/id/artifactID.main/14.0.0-SNAPSHOT/artifactID.main-14.0.0-6.195709-143.zip which doesn't exist (6. should be 20090106. instead) and fail.

        Attachments

          Activity

            People

            • Assignee:
              rseddon Rich Seddon
              Reporter:
              deleted_user Deleted User
              Last Updated By:
              Jason Dillon
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 50m
                50m