findbugs can be configured to fail the build
http://mojo.codehaus.org/findbugs-maven-plugin/plugin-info.html
jdt compiler warnings can also be configured to error
Regards
Jan
From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx]
On Behalf Of Christian Schwarz
Sent: Donnerstag, 9. Januar 2014 11:22
To: Tycho user list
Subject: Re: [tycho-user] Problems changing the compiler to google error-prone
Not sure but I think the idea was that the compiler implementation should be interchangeable (and you may lose some additional features if not using JDT).
If that is true this would qualify as a bug and we should make sure we only use JDT-specific compiler arguments if the JDT compiler is actually used.
Does it mean that we can use an other compiler other than JDT, otherwise the attribute
<compilerId> make no sense?
I don't know the error-prone javac extension but JDT compiler warnings or findbugs may provide similar functionality.
Yes, Findbugs is pritty similar to error-prone but it is not able to make a build fail, as far as i know. Maybe it there is an extension or mavan-plugin for findbugs that provide that functionality.