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

Robert Scholte commented on MCOMPILER-267:
------------------------------------------

The java compiler already has such option: {{-Werror}}, see 
http://docs.oracle.com/javase/7/docs/technotes/tools/windows/javac.html 
I can imagine that it would be nice to expose this as a plugin parameter, but 
it is not necessary. 

> Compiler plugin could have failOnWarning option
> -----------------------------------------------
>
>                 Key: MCOMPILER-267
>                 URL: https://issues.apache.org/jira/browse/MCOMPILER-267
>             Project: Maven Compiler Plugin
>          Issue Type: Improvement
>            Reporter: Matthieu Baechler
>
> Nobody really reads maven output and warnings are rarely spoted.
> I would like to make sure warning could be treated as errors to stop the 
> build and avoid merging code introducing new warnings.
> Could you think it would be an possible addition ?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to