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

Execute plugin before questions about version

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Auto Closed
    • Affects Version/s: 2.0-beta-9
    • Fix Version/s: None
    • Component/s: prepare
    • Labels:
      None
    • Environment:
      2.0

      Description

      I don't see any solution how to execute plugins before question like "What is the release version for" appears.

      Current "preparationGoals" are executed later.
      Also command line sequence like mvn plugin:task... release:prepare do not help.

      I suppose that many users would like to manage project.version before questions are displayed.

      In my example i tried to run buildnumber-maven-plugin or maven-scm-plugin to retrieve last ${buildNumber} or ${scm.revision} . This number I would like use in final release number. Plugins under release are not executed.

      BTW.
      release:prepare execute scm (svn) so it also could return revision status in standard variable named ${scm.revision}

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              krokodylowy3 Krashan Brahmanjara
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: