[
https://issues.apache.org/jira/browse/MNG-7808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17733933#comment-17733933
]
Romain Manni-Bucau commented on MNG-7808:
-----------------------------------------
[~hboutemy] yes, sadly we have not only 2 behaviors on that aspect (raw output:
https://gist.github.com/rmannibucau/fc07a89d554764d2826af2ff55b3a42d):
* old versions (tested on 3.8.6 in ^^) -> nothing (as expected I'd say)
* last v4 (at the beginning of the build):
{code:java}
[WARNING] Version not locked for default bindings plugins
[maven-surefire-plugin, maven-jar-plugin], you should define versions in
pluginManagement section of your pom.xml or parent {code}
* 3.9.2 (after the build, multiple lines)
{code:java}
[WARNING] [WARNING] Plugin validation issues were detected in 2
plugin(s)[WARNING] [WARNING] *
org.apache.maven.plugins:maven-resources-plugin:3.2.0[WARNING] *
org.apache.maven.plugins:maven-compiler-plugin:3.10.1[WARNING] [WARNING] For
more or less details, use 'maven.plugin.validation' property with one of the
values (case insensitive): [BRIEF, DEFAULT, VERBOSE][WARNING] {code}
> Remove warnings of undefined plugin versions
> --------------------------------------------
>
> Key: MNG-7808
> URL: https://issues.apache.org/jira/browse/MNG-7808
> Project: Maven
> Issue Type: Improvement
> Components: Core, Logging
> Reporter: Benjamin Marwell
> Priority: Major
>
> h2. Actual behaviour
> Maven issues warnings about undefined plugin versions when not needed
> h2. Expected behaviour
> Maven should not issue warnings about undefined plugin versions early in a
> project build.
>
> h2. Rationale
> The release plugin will be modified to reject releases of projects which are
> not defining all plugin versions: [MRELEASE-1130] Reject release of project
> containing undefined plugin versions - ASF JIRA (apache.org)
>
> Once that is done, we can remove the warnings from core:
> 1.) There should be as few as possible warnings OOTB on new maven projects
> 2.) It is not really important for local builds to define plugin versions.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)