I want to use qulice-maven-plugin and I do not want to use the default findBugs rules but to set my custom once. Is that possible? - Also, I do not want qulice-maven-plugin to fail on checkstyle violations, but I do no want to disable the plugin. How to change the default qulice-maven-plugin, checkstyle configuration?
<build>
<plugins>
<plugin>
<groupId>com.qulice</groupId>
<artifactId>qulice-maven-plugin</artifactId>
<version>0.16.4</version>
<configuration>
<license>file:${basedir}/LICENSE.txt</license>
</configuration>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
It is not possible to override the rules in qulice. The basic idea behind it is that it has a set of rules that are not changeable. So each project that uses qulice looks more/less the same.
You can only disable qulice using regexp (checkstyle:.*), like this:
So you can achieve only the second requirement - build won't fail if checkstyle fails. For findbugs you would need to use
SuppressFBWarnings
(fromedu.umd.cs.findbugs.annotations
) like this:@SuppressFBWarnings("JLM_JSR166_UTILCONCURRENT_MONITORENTER")