You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Krashan Brahmanjara (JIRA)" <ji...@codehaus.org> on 2009/04/03 11:04:12 UTC
[jira] Commented: (MRELEASE-432) Execute plugin before questions
about version
[ http://jira.codehaus.org/browse/MRELEASE-432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=171896#action_171896 ]
Krashan Brahmanjara commented on MRELEASE-432:
----------------------------------------------
My feature request is - add parametr "initGoals" for tasks executed on start.
For example :
Instead command -
mvn buildnumber:create release:prepare
user should run only
mvn release:prepare with parameter <initGoals>buildnumber:create</initGoals>
> Execute plugin before questions about version
> ---------------------------------------------
>
> Key: MRELEASE-432
> URL: http://jira.codehaus.org/browse/MRELEASE-432
> Project: Maven 2.x 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 is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira