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

2023-04-12 Thread Delany (Jira)


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

Delany commented on MNG-7762:
-

Thanks - and its mentioned in --help

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


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

2023-04-12 Thread Maarten Mulders (Jira)


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

Maarten Mulders commented on MNG-7762:
--

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)