[ 
https://issues.apache.org/jira/browse/MNG-7823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tamas Cservenak closed MNG-7823.
--------------------------------
    Resolution: Fixed

master 
https://github.com/apache/maven/commit/764a9ca0bef69995f5ca40aced0c63ba60917d95
maven-3.9.x 
https://github.com/apache/maven/commit/958112991dc0f0d491881b939ace71f6432e9cf4

> Make plugin validation level parsing more consistent
> ----------------------------------------------------
>
>                 Key: MNG-7823
>                 URL: https://issues.apache.org/jira/browse/MNG-7823
>             Project: Maven
>          Issue Type: Improvement
>            Reporter: Tamas Cservenak
>            Priority: Major
>             Fix For: 3.9.3, 4.0.0-alpha-6, 4.0.0
>
>
> Currently, the value of {{maven.plugin.validation}} is:
> * parsed each time is needed (from string)
> * warns for bad value lazily (when parsed), this implies WARN is "lazy", 
> happens when needed, and can make things "look like" some plugin warns for 
> some reason
> * will warn EACH time needed
> Instead:
> * on session start parse it and store it into session.data
> * this means on session start will warn as well, and warn once
> * parsed enum should be reused, instead to repeatedly parse and warn whenever 
> level needed



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

Reply via email to