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

Tamas Cservenak updated MNG-7823:
---------------------------------
    Description: 
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

  was:
Currently, the value of {{maven.plugin.validation}} is:
* parsed each time is needed (for string)
* warns for bad value lazily (when parsed)
* will warn EACH time needed


> 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