Skip to content

Commit d5e90f0

Browse files
committed
Added findsecbugs plugin to pom
1 parent c969488 commit d5e90f0

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

pom.xml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
<maven-release-plugin.version>3.1.1</maven-release-plugin.version>
4242
<dependency-check-maven.version>12.1.0</dependency-check-maven.version>
4343
<jacoco-maven-plugin.version>0.8.14</jacoco-maven-plugin.version>
44+
<findsecbugs-plugin.version>1.13.0</findsecbugs-plugin.version>
4445
</properties>
4546
<repositories>
4647
<repository>
@@ -152,6 +153,23 @@
152153
</executions>
153154
</plugin>
154155

156+
<plugin>
157+
<groupId>org.owasp</groupId>
158+
<artifactId>dependency-check-maven</artifactId>
159+
<version>${dependency-check-maven.version}</version>
160+
<configuration>
161+
<ossindexAnalyzerEnabled>false</ossindexAnalyzerEnabled>
162+
</configuration>
163+
<executions>
164+
<execution>
165+
<phase>package</phase>
166+
<goals>
167+
<goal>check</goal>
168+
</goals>
169+
</execution>
170+
</executions>
171+
</plugin>
172+
155173
<plugin>
156174
<groupId>org.apache.maven.plugins</groupId>
157175
<artifactId>maven-dependency-plugin</artifactId>
@@ -174,13 +192,21 @@
174192
<groupId>com.github.spotbugs</groupId>
175193
<artifactId>spotbugs-maven-plugin</artifactId>
176194
<version>4.9.8.2</version>
195+
<dependencies>
196+
<dependency>
197+
<groupId>com.h3xstream.findsecbugs</groupId>
198+
<artifactId>findsecbugs-plugin</artifactId>
199+
<version>${findsecbugs-plugin.version}</version>
200+
</dependency>
201+
</dependencies>
177202
<configuration>
178203
<effort>Max</effort>
179204
<threshold>High</threshold>
180205
<xmlOutput>false</xmlOutput>
181206
</configuration>
182207
<executions>
183208
<execution>
209+
<phase>package</phase>
184210
<goals>
185211
<goal>check</goal>
186212
</goals>
@@ -226,6 +252,10 @@
226252
<groupId>org.eclipse.emf</groupId>
227253
<artifactId>org.eclipse.emf.common</artifactId>
228254
</exclusion>
255+
<exclusion>
256+
<groupId>org.geotools.ogc</groupId>
257+
<artifactId>net.opengis.ows</artifactId>
258+
</exclusion>
229259
</exclusions>
230260
</dependency>
231261

@@ -254,6 +284,10 @@
254284
<groupId>commons-digester</groupId>
255285
<artifactId>commons-digester</artifactId>
256286
</exclusion>
287+
<exclusion>
288+
<groupId>commons-collections</groupId>
289+
<artifactId>commons-collections</artifactId>
290+
</exclusion>
257291
</exclusions>
258292
</dependency>
259293
<!-- https://commons.apache.org/proper/commons-csv/ -->

0 commit comments

Comments
 (0)