You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2015/09/06 22:45:06 UTC

[jira] [Closed] (MRELEASE-432) Execute plugin before questions about version

     [ https://issues.apache.org/jira/browse/MRELEASE-432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov closed MRELEASE-432.
-----------------------------------
    Resolution: Auto Closed

This issue has been auto closed because it has been inactive for a long period of time. If you think this issue still applies, retest your problem with the most recent version of Maven and the affected component, reopen and post your results.

> Execute plugin before questions about version
> ---------------------------------------------
>
>                 Key: MRELEASE-432
>                 URL: https://issues.apache.org/jira/browse/MRELEASE-432
>             Project: Maven Release Plugin
>          Issue Type: Improvement
>          Components: prepare
>    Affects Versions: 2.0-beta-9
>         Environment: 2.0
>            Reporter: Krashan Brahmanjara
>
> 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}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)