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

Philipp Ottlinger commented on MENFORCER-493:
---------------------------------------------

My use case is:

{{<defaultGoal>clean versions:display-dependency-updates 
versions:display-plugin-updates enforcer:display-info install 
org.pitest:pitest-maven:mutationCoverage</defaultGoal>}}

 

{{Thus I can see in the build log, which version of Maven/JDK was used in the 
build ....}}

{{I haven't used the other configuration mechanisms before, just stumbled upon 
the build warning, when I tried out Maven4.}}

> Provide a more meaningful hint after deprecation of goal display-info
> ---------------------------------------------------------------------
>
>                 Key: MENFORCER-493
>                 URL: https://issues.apache.org/jira/browse/MENFORCER-493
>             Project: Maven Enforcer Plugin
>          Issue Type: Wish
>    Affects Versions: 3.4.1
>            Reporter: Philipp Ottlinger
>            Priority: Major
>
> After upgrading to 3.4.1 I see many warnings in my builds
> {{[WARNING]  Goal 'display-info' is deprecated: please use mvn --version}}
> as I use
> {{enforcer:display-info}}
> as part of my defaultGoal definition.
>  
> I do know mvn --version but I'm not sure how to integrate it into my build as 
> I did with display-info as part of my defaultGoal. Adding a new build step to 
> all my projects seems a rather cumbersome way of deprecating this 
> functionality.
>  
> Is there a better way to get these build informations into my build logs? If 
> so, I'd love to see this instead of a build warning.
>  
> Thanks
>  



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

Reply via email to