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

Properties releaseVersion and developmentVersion are not read correctly during release:prepare (eventually release:perform)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 2.0-beta-8
    • None
    • prepare
    • None
    • Maven version: 2.0.9
      Java version: 1.6.0_07
      OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
      scm=CVS
    • Patch

    Description

      Calling
      mvn --batch-mode release:prepare release:perform -Dtag=TEST_RELEASE-3_0_0 -DreleaseVersion=3.0.0 -DdevelopmentVersion=3.0.1-SNAPSHOT
      doesn't produce the expected results:

      • -DdevelopmentVersion=3.0.1-SNAPSHOT
        • the value is not set correctly in the file pom.xml:
          • Expected: <version>3.0.1-SNAPSHOT</version>
          • But was: <version>2.0.5-SNAPSHOT</version>
      • -DreleaseVersion=3.0.0
        • the artifacts are not created correctly:
          • Expected artifact: ipi-multimodule-b-3.0.0.jar
          • But was: ipi-multimodule-b-2.0.4.jar
        • the value is not set correctly in the file pom.xml (comment in CVS: [maven-release-plugin] prepare release TEST_RELEASE-3_0_0):
          • Expected: <version>3.0.0</version>
          • But was: <version>2.0.4</version>
      • -Dtag=TEST_RELEASE-3_0_0
        • the value is set correctly in the file pom.xml
        • the tagging of the CVS module is also correct.

      Attachments

        1. Patch-MRELEASE-389.txt
          0.7 kB
          Ringo De Smet
        2. jcrouvi_20081204_test.log
          36 kB

        Issue Links

          Activity

            People

              pgier Paul Gier
              jcrouvi@yahoo.com Jean-Claude Rouvinez
              Votes:
              5 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: