You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "John Casey (JIRA)" <ji...@codehaus.org> on 2008/06/26 18:45:26 UTC

[jira] Closed: (MNG-3368) Printing version (-v argument) should not stop lifecycle execution

     [ http://jira.codehaus.org/browse/MNG-3368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Casey closed MNG-3368.
---------------------------

       Resolution: Fixed
    Fix Version/s: 2.1-alpha-1

New options:

mvn -V clean
mvn --show-version clean

will show the maven, java, etc. versions without stopping the build.

The original -v option will remain intact and unmodified to keep from causing problems with scripted maven executions, etc.

> Printing version (-v argument) should not stop lifecycle execution
> ------------------------------------------------------------------
>
>                 Key: MNG-3368
>                 URL: http://jira.codehaus.org/browse/MNG-3368
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Bootstrap & Build, Command Line
>    Affects Versions: 2.0.8
>            Reporter: Paul Benedict
>            Assignee: John Casey
>             Fix For: 2.0.10, 2.1-alpha-1
>
>
> I wanted to always print the Maven version when I build, but unfortunately Maven immediately quits after outputting the version. This option should not quit when a lifecycle is also specified. Example: mvn -v install

-- 
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