[ https://issues.apache.org/jira/browse/MENFORCER-493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17780534#comment-17780534 ]
Michael Osipov commented on MENFORCER-493: ------------------------------------------ No, this isn't a goal, but an option. Why does the other ways not work for you? > 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)