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

Script to interoperate with maven-release-plugin

    Details

    • Similar Issues:
    • Epic Link:

      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

            Hide
            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
            
            Show
            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
            Hide
            jglick Jesse Glick added a comment -

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

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

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

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

            Better yet, convert to a mojo.

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

            mvn incrementals:reincrementalify

            Show
            jglick Jesse Glick added a comment - mvn incrementals:reincrementalify

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: