Changes:
- The
check
goal now includes a new configuration parameter,maxErrors
, which limits the console output to a specified number of issues. This functionality is disabled by default.
Usage in a Maven Project
To use this plugin in your Maven project, add the following configuration to your pom.xml
:
<plugin>
<groupId>eu.soft-pol.lib.nullaudit</groupId>
<artifactId>nullaudit-maven-plugin</artifactId>
<version>0.2.0</version>
<configuration>
<!-- Limit the number of issues displayed on the console -->
<maxErrors>100</maxErrors>
</configuration>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>