Uploaded image for project: 'Maven Release Plugin'
  1. Maven Release Plugin
  2. MRELEASE-1028

OddEven release policy does not support numeric qualifiers in versions

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      We are using maven-release-oddeven-policy:2.5.3 in our projects to automate the way our versioning process works.

      We sometimes use project versions which contain two versions, e.g. when tracking the version of an API specification or relevant external dependency. For instance, Foo Wrapper 1.1.0-1.0.5 is a bundle that wraps Foo version 1.0.5 and is itself at version 1.1.0 .

      Assuming a Foo version of 1.0.5, at development time, the bundle version would be 1.1.1-1.0.5-SNAPSHOT and at release time 1.1.2-1.0.5 .

      However, the odd/even release policy would propose a release version of 1.1.1-2.0.5 at release time. IIUC the change is not in line with how Maven defines versios ( 1.0.5 is just a qualifier ) and the release policy should be corrected.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rombert Robert Munteanu
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: