Skip to content

Commit

Permalink
pom: Enable find-sec-bugs spotbugs plugin upon -Dstrict
Browse files Browse the repository at this point in the history
  • Loading branch information
kohlschuetter committed Dec 10, 2024
1 parent 1257428 commit 12a8aff
Showing 1 changed file with 53 additions and 2 deletions.
55 changes: 53 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -712,10 +712,10 @@
</reporting>
</profile>
<profile>
<id>code-quality</id>
<id>code-quality-setup</id>
<activation>
<property>
<name>ignorant</name>
<name>strict</name>
<value>!true</value>
</property>
<file>
Expand All @@ -730,6 +730,57 @@
<configuration>
<excludeFilterFile>${spotbugs.exclude.file}</excludeFilterFile>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>code-quality-setup-strict</id>
<activation>
<property>
<name>strict</name>
<value>true</value>
</property>
<file>
<exists>src/main/java</exists>
</file>
</activation>
<build>
<plugins>
<plugin>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
<configuration>
<excludeFilterFile>${spotbugs.exclude.file}</excludeFilterFile>
<effort>Max</effort>
<plugins>
<plugin>
<groupId>com.h3xstream.findsecbugs</groupId>
<artifactId>findsecbugs-plugin</artifactId>
<version>1.13.0</version>
</plugin>
</plugins>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>code-quality</id>
<activation>
<property>
<name>ignorant</name>
<value>!true</value>
</property>
<file>
<exists>src/main/java</exists>
</file>
</activation>
<build>
<plugins>
<plugin>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
<executions>
<execution>
<id>spotbugs-during-install</id>
Expand Down

0 comments on commit 12a8aff

Please sign in to comment.