Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-7247

Overriding the suggested release version is ignored (m2release)

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • m2release-plugin
    • None

      If you have a pom with version 1.5-SNAPSHOT that you now want to release.
      After clicking 'perform maven release' you are prompted for a release and development version number.

      The plug-in suggests 1.6 and 1.6-SNAPSHOT.

      However if you enter 1.5.1 and 1.6-SNAPSHOT what is released is the suggested version.

      In other words: the maven release plugin ignores the given version parameters an falls back to the defaults.

      I have copied (most) from http://issues.jenkins-ci.org/browse/JENKINS-6362

      This might be associated with:
      http://www.mail-archive.com/users@maven.apache.org/msg108980.html

          [JENKINS-7247] Overriding the suggested release version is ignored (m2release)

          James Nord added a comment -

          As per the previous issue if I don't get any logs and the output of mvn help:effective pom for a project where it fails this will be closed as can not reproduce.

          Also,
          Which version of Maven?
          which version of the maven-release-plugin?
          which version of Hudson?
          which version of the Hudson m2release plugin?
          What OS - is this a build on the slave or a master?
          Which version option are you uising - one for all modules - or listing the modules individually?

          James Nord added a comment - As per the previous issue if I don't get any logs and the output of mvn help:effective pom for a project where it fails this will be closed as can not reproduce. Also, Which version of Maven? which version of the maven-release-plugin? which version of Hudson? which version of the Hudson m2release plugin? What OS - is this a build on the slave or a master? Which version option are you uising - one for all modules - or listing the modules individually?

            Unassigned Unassigned
            iceandfire iceandfire
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: