[ http://jira.codehaus.org/browse/MNG-2970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_105088 ]
Vincent Siveton commented on MNG-2970: -------------------------------------- I propose to add script parameters to activate hook scripts. For instance, {noformat} mvn ... --pre --post {noformat} will do the following sequence: {noformat} $M2_HOME/bin/mavenrc_pre java call $M2_HOME/bin/mavenrc_post {noformat} We could also specify file parameter, i.e. --pre /path/to/pre.sh and --post /path/to/post.sh WDYT? > Improve mvn script for CI builds: mavenrc_pre / mavenrc_post > ------------------------------------------------------------ > > Key: MNG-2970 > URL: http://jira.codehaus.org/browse/MNG-2970 > Project: Maven 2 > Issue Type: Improvement > Components: Command Line > Affects Versions: 2.0.6 > Reporter: Vincent Siveton > Fix For: Reviewed Pending Version Assignment > > > CI builds need specific settings like environment or specific OS tasks. > Some ideas to improve the mvn script: > * add a setenv script before calling maven > * add a pre/post hook scripts between maven call -- 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