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

Script to interoperate with maven-release-plugin

    XMLWordPrintable

Details

    Description

      If you have opted into Incrementals, is it still possible to run maven-release-plugin or does it get too confused?

      Attachments

        Issue Links

          Activity

            jglick Jesse Glick added a comment -
            mvn help:evaluate -Dexpression=project.version -Doutput=version && mvn versions:set -Ddollar='$' -DnewVersion='${dollar}{revision}${dollar}{changelist}' -DgenerateBackupPoms=false && mvn versions:set-property -Dproperty=revision -DnewVersion=`sed -e 's/-SNAPSHOT$//' < version` -DgenerateBackupPoms=false && rm version
            
            jglick Jesse Glick added a comment - mvn help:evaluate -Dexpression=project.version -Doutput=version && mvn versions:set -Ddollar='$' -DnewVersion='${dollar}{revision}${dollar}{changelist}' -DgenerateBackupPoms=false && mvn versions:set-property -Dproperty=revision -DnewVersion=`sed -e 's/-SNAPSHOT$//' < version` -DgenerateBackupPoms=false && rm version
            jglick Jesse Glick added a comment -

            Formally documented this script. Can promote it to a saved file somewhere later, TBD.

            jglick Jesse Glick added a comment - Formally documented this script. Can promote it to a saved file somewhere later, TBD.
            jglick Jesse Glick added a comment -

            Will need to have a repository of related scripts anyway, so may as well do this one.

            jglick Jesse Glick added a comment - Will need to have a repository of related scripts anyway, so may as well do this one.
            jglick Jesse Glick added a comment -

            Better yet, convert to a mojo.

            jglick Jesse Glick added a comment - Better yet, convert to a mojo.
            jglick Jesse Glick added a comment -

            mvn incrementals:reincrementalify

            jglick Jesse Glick added a comment - mvn incrementals:reincrementalify

            People

              jglick Jesse Glick
              jglick Jesse Glick
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: