You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Maarten Mulders (Jira)" <ji...@apache.org> on 2023/04/12 13:54:00 UTC

[jira] [Comment Edited] (MNG-7762) Show version and continue build

    [ https://issues.apache.org/jira/browse/MNG-7762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17711398#comment-17711398 ] 

Maarten Mulders edited comment on MNG-7762 at 4/12/23 1:53 PM:
---------------------------------------------------------------

You can achieve this with {{mvn -V verify}} (note the uppercase {{V}} rather than the lowercase {{v}}). Does that address your use case?


was (Author: mthmulders):
You can achieve this with {{mvn -V verify}}. Does that address your use case?

> Show version and continue build
> -------------------------------
>
>                 Key: MNG-7762
>                 URL: https://issues.apache.org/jira/browse/MNG-7762
>             Project: Maven
>          Issue Type: Improvement
>    Affects Versions: 4.0.0-alpha-5
>            Reporter: Delany
>            Priority: Minor
>
> When Maven is called with '--version' the build stops. But sometimes its useful to have the version info displayed as part of the build output.
> I propose that when a goal is specified on the command line only (and not via defaultGoal) and the --version switch is used, the build should continue, e.g. `mvn --version clean install`
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)