Uploaded image for project: 'Build'
  1. Build
  2. BUILD-589

Allow released versions of SNAPSHOTs to be resolved from the staging repository

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Neutral
    • POMs 43
    • None
    • None
    • None

    Description

      When running the following command:

      mvn versions:update-properties -DallowIncrementalUpdates=false -DallowMajorUpdates=false -DallowMinorUpdates=false -DgenerateBackupPoms=false -Pstaging

      With PPOM 42, a SNAPSHOT such as main 6.2.13-SNAPSHOT won't be converted into 6.2.13 (even when in staging). This is because our configuration for the staging repository has the property snapshots.enabled = false. This means that, in some cases (TBD), Maven won't even try to look for a possible next version, because the initial version is a SNAPSHOT to begin with.

      This ticket also includes filtering out debug versions such as 6.2.13-MAGNOLIA-1234, that Maven considers more recent than the actual release, and will pick over staged dependencies (unless excluded).

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                mmichel Maxime Michel
                mmichel Maxime Michel
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: