Sometimes my Maven build gives a warning, i.e., the Maven output has a line starting with [WARNING]
. (I am not talking about, e.g., warnings in compiled Java code, but, e.g., a warning that an empty jar-file is being created.)
In such a situation I want my build to fail. How do I do that?
This feature was already suggested to Maven team in MNG-5091. Upvote it in their JIRA and let's wait (this is what I did) :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With