Reputation: 777
I am using the Maven Build step and Maven tells me it has succeeded when I queue the build, however I still see errors in the issues section.
In the control section I do not have checked the option to Continue on Error.
Here are the build issues I am seeing:
Per the documentation this is just a warning, however I would like it to fail on such warnings, how do I do that?
Upvotes: 0
Views: 289
Reputation: 1342
Hi this is just a warning that notifies you that there are multiple jars in your configured classpath - that have SL4J binding implementations (to put it simply). Please look up the official documentation here.
You can try and modify the maven compiler plugin configuration to fail on warnings
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.3</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<showWarnings>true</showWarnings>
<compilerArgs>
<arg>-Xlint:all</arg>
<arg>-Werror</arg>
</compilerArgs>
</configuration>
</plugin>
</plugins>
Example taken from this question
Hope that helps
Upvotes: 1