Fail build if compiler warnings in log

Is it possible to fail a build if the java compiler (called from Maven) generates warnings?

We use the compiler warnings to enforce code conventions.

3 comments
Comment actions Permalink

There will be a new feature in next version that allows to fail a build based on specific messages in a build log (TW-3917).

0
Comment actions Permalink

Good news! Will it be possible to use regular expressions for this?

0
Comment actions Permalink

Yes, we're planning to support regexps too.
You can preview it already in EAP build:
Capture.JPG
Any feedback is welcome!

0

Please sign in to leave a comment.