Exclude
You can exclude anything, using plugin configuration:
<build>
<plugins>
<plugin>
<groupId>com.qulice</groupId>
<artifactId>qulice-maven-plugin</artifactId>
<version>0.25.1</version>
<configuration>
<excludes>
<exclude>checkstyle:/src/examples/.*</exclude>
<exclude>dependencies:.*</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
Every exclude item is a regular expression. The following exclusion prefixes are supported now (the list may actually be longer): checkstyle:, pmd:, dependencies:, duplicatefinder:, *.
Dependencies exclude uses syntax of groupId:artifactId, so to exclude e.g. guava library you should add dependencies:com.google.guava:guava as an exclude. Multiple exclude tags can be provided to exclude multiple dependencies. To exclude all dependency checks dependencies:.* should be used.
To disable duplicatefinder check you should write empty value duplicatefinder:.
You can also exclude files from all checkers using the `*:` prefix.
<build>
<plugins>
<plugin>
<groupId>com.qulice</groupId>
<artifactId>qulice-maven-plugin</artifactId>
<version>0.25.1</version>
<configuration>
<excludes>
<exclude>*:/src/it/.*.java</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
This configuration will exclude all Java files in the `src/it` folder from all checks.