[
https://issues.apache.org/jira/browse/MNG-6797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16985040#comment-16985040
]
Václav Haisman commented on MNG-6797:
-------------------------------------
The problems are detected and messages about the problems are printed. But they
are regularly ignored by people (at least here). Remembering in MavenSessions
that there were problems would allow me to write Maven Enforcer Plugin rule
which could retrieve the problems flag and could fail the build if there were
problems. I see a benefit in having this no build warnings policy.
> Remember in MavenSession that there were problems detected when building
> Maven model
> ------------------------------------------------------------------------------------
>
> Key: MNG-6797
> URL: https://issues.apache.org/jira/browse/MNG-6797
> Project: Maven
> Issue Type: Improvement
> Components: Bootstrap & Build
> Affects Versions: 3.6.2
> Reporter: Václav Haisman
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Currently, Maven only prints few lines regarding Maven model problems it
> encounters when it is building the model. No plugin or code can retrieve the
> information anywhere. I would like to change that so that at least a boolean
> flag is used to remember that there were or were not problems when building
> Maven model.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)