Use the skipScan configuration property to skip the scan if necessary
<plugin>
<groupId>com.optum.sourcehawk.maven</groupId>
<artifactId>sourcehawk-maven-plugin</artifactId>
<executions>
<execution>
<id>scan</id>
<goals>
<goal>scan</goal>
</goals>
<configuration>
<skipScan>true</skipScan>
</configuration>
</execution>
</executions>
</plugin>Set the failBuild property to false to prevent the build from failing even if the scan fails.
<plugin>
<groupId>com.optum.sourcehawk.maven</groupId>
<artifactId>sourcehawk-maven-plugin</artifactId>
<executions>
<execution>
<id>scan</id>
<goals>
<goal>scan</goal>
</goals>
<configuration>
<failBuild>false</failBuild>
</configuration>
</execution>
</executions>
</plugin>Override the default configuration file name with the configurationFile property.
<plugin>
<groupId>com.optum.sourcehawk.maven</groupId>
<artifactId>sourcehawk-maven-plugin</artifactId>
<executions>
<execution>
<id>scan</id>
<goals>
<goal>scan</goal>
</goals>
</execution>
</executions>
<configuration>
<configurationFile>Sourcehawk</configurationFile>
</configuration>
</plugin>