[
https://issues.apache.org/jira/browse/MNG-6065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16943844#comment-16943844
]
Robert Scholte commented on MNG-6065:
-------------------------------------
That looks good. I'll mark this issue as 3.7.0-candidate. I won't merge it to
master yet, there are some other discussions that need a verdict first.
Maybe [~bdemers] can have a look at it too.
> Creating opton --fail-level / -fl which is error by default, but could be
> changed to warning/warn.
> ---------------------------------------------------------------------------------------------------
>
> Key: MNG-6065
> URL: https://issues.apache.org/jira/browse/MNG-6065
> Project: Maven
> Issue Type: Improvement
> Affects Versions: 3.5.0
> Reporter: Robert Scholte
> Priority: Major
> Labels: infosupport
> Fix For: needing-scrub-3.4.0-fallout
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> I've been thinking the option {{--fail-level}} / {{-fl}} which is {{error}}
> by default, but could be changed to {{warning}}/{{warn}}. We've had similar
> request and they make sense: one should be able to execute a build without
> any warnings.
> I did an attempt to hook into the Logger to but that seems very tricky. The
> other option is to have this level available in the API, so Maven core and
> plugins can verify it for themselves and decide to throw an Exception. It is
> a simple implementation, but now every component is responsible for checking
> it, not really my preferred solution.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)