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

Romain Manni-Bucau commented on MNG-7808:
-----------------------------------------

[~hboutemy] do you know a lot of archetypes not triggering these warnings? Most 
will do and as an archetype writer you do *not* want to put versions there but 
just override what maven provides OOTB to limit the maintainance (it is how 
maven was designed after all). So yes, we shouted in our foot.

 

You are right about 3.8.8 and 3.9.3, this is an intended instability by design 
and assume you pin the version with 3.8.8, you don't know if it will work with 
3.9.3 so you didn't get anything pinning, you just ensure it will not work 
faster cause plugins tends to be more stable accross versions when doing 
upgrades than pinning versions which can have internal breakages.

So overall we should probably just keep our philosophy and work OOTB without 
any side effects which don't enhance the user stability but keep it at status 
quo with the same downside than not having them.

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

Reply via email to