I've setup my pom.xml
to use Qulice:
<build>
<plugins>
<plugin>
<groupId>com.qulice</groupId>
<artifactId>qulice-maven-plugin</artifactId>
<version>0.17.3</version>
<configuration>
<license>file:${basedir}/LICENSE.txt</license>
</configuration>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
I've added some initial files and ran mvn clean install
, then Qulice complains:
[INFO] Checkstyle: src/main/java/hk/com/novare/App.java[0]: Missing package-info.java file. (JavadocPackageCheck)
[INFO] Checkstyle: src/main/java/hk/com/novare/App.java[2]: Line does not match expected header line of ' */'. (HeaderCheck)
[INFO] Checkstyle: src/main/java/hk/com/novare/App.java[28]: Missing '@since' tag in class/interface comment (JavadocTagsCheck)
There is a way to exclude certain files from Qulice, as documented here, but is there a way to exclude a certain rule from the entire project, such as Checkstyle's JavadocPackageCheck rule ?