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

"successful" release:perform with dryRun=true should not invoke release:clean

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Minor
    • Resolution: Auto Closed
    • 2.4.2
    • None
    • clean, perform
    • None
    • maven-2.2.1

    Description

      I recently upgraded maven-release-plugin version to 2.4.2 from 2.0

      I observed a change in the behaviour of release:perform together with dryRun (on a side-note, in 2.0 dryRun user property did not seem to have an effect on release:perform)

      basically:

      1. dryRun=true release:prepare

      2. dryRun=false release:prepare: generate tag+release info

      3. dryRun=true (due to it being considered in 2.4.2) release:perform: no deployment into repository, BUT release:clean removes release info

      4. dryRun=false release:perform: fails, lacks release info

      I know I should not do step #3, but I recommend not to execute release:clean after a "successful" release:perform with dryRun=true

      Attachments

        Activity

          People

            Unassigned Unassigned
            work_registries Jürgen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: