Uploaded image for project: 'Maven Deploy Plugin'
  1. Maven Deploy Plugin
  2. MDEPLOY-112

deployed snapshot name has different build numbers for multiple artifacts of the same build

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.1
    • Fix Version/s: 2.6
    • Component/s: deploy:deploy
    • Labels:
      None
    • Environment:
      windows xp

      Description

      I have a module that deploys 2 artifacts,1 jar and 1 of them is custom type. The build number from the snapshot name is different for the 2 (in the repository). It get incremented every time an artifact is deployed. When I try to make a local build it searches for the highest build number, and tries to bring both the artifacts with the latest build number but only one of them has that number.
      I found a workaround for this by <uniqueVersion>false</uniqueVersion> for the snapshotRepository.

        Attachments

          Activity

            People

            • Assignee:
              bentmann Benjamin Bentmann
              Reporter:
              gdogaru Gabriel Dogaru
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: