Skip to content

Commit 84d6707

Browse files
committed
Update pom.xml
1 parent faac049 commit 84d6707

File tree

1 file changed

+28
-20
lines changed

1 file changed

+28
-20
lines changed

pom.xml

Lines changed: 28 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -76,16 +76,18 @@
7676
<maven.compiler.source>1.8</maven.compiler.source>
7777
<maven.compiler.target>1.8</maven.compiler.target>
7878

79-
<junit.version>5.11.3</junit.version>
79+
<junit.version>5.12.0</junit.version>
8080
</properties>
8181

8282
<dependencyManagement>
8383
<dependencies>
8484
<dependency>
8585
<groupId>org.jetbrains</groupId>
8686
<artifactId>annotations</artifactId>
87-
<version>26.0.1</version>
87+
<version>26.0.2</version>
8888
<scope>provided</scope>
89+
<!-- set to provided so they don't get bundled into the jar (not needed at runtime) -->
90+
<optional>true</optional>
8991
</dependency>
9092

9193
<dependency>
@@ -136,7 +138,7 @@
136138
<plugin>
137139
<groupId>org.apache.maven.plugins</groupId>
138140
<artifactId>maven-javadoc-plugin</artifactId>
139-
<version>3.11.1</version>
141+
<version>3.11.2</version>
140142
</plugin>
141143
<plugin>
142144
<groupId>org.apache.maven.plugins</groupId>
@@ -166,7 +168,10 @@
166168
<plugin>
167169
<groupId>org.owasp</groupId>
168170
<artifactId>dependency-check-maven</artifactId>
169-
<version>11.1.0</version>
171+
<version>12.1.0</version>
172+
<configuration>
173+
<nvdApiKeyEnvironmentVariable>NVD_API_KEY</nvdApiKeyEnvironmentVariable>
174+
</configuration>
170175
</plugin>
171176
</plugins>
172177
</pluginManagement>
@@ -202,22 +207,6 @@
202207
</executions>
203208
</plugin>
204209

205-
<plugin>
206-
<groupId>org.owasp</groupId>
207-
<artifactId>dependency-check-maven</artifactId>
208-
<executions>
209-
<execution>
210-
<goals>
211-
<goal>check</goal>
212-
</goals>
213-
<configuration>
214-
<failBuildOnCVSS>10</failBuildOnCVSS>
215-
<skipTestScope>true</skipTestScope>
216-
</configuration>
217-
</execution>
218-
</executions>
219-
</plugin>
220-
221210
<!-- Run 'mvn license:license-list' to show licenses -->
222211
<plugin>
223212
<groupId>org.codehaus.mojo</groupId>
@@ -356,6 +345,25 @@
356345
</archive>
357346
</configuration>
358347
</plugin>
348+
<plugin>
349+
<groupId>org.owasp</groupId>
350+
<artifactId>dependency-check-maven</artifactId>
351+
<!-- dependency-check now requires JDK11+ -->
352+
<configuration>
353+
<nvdApiKeyEnvironmentVariable>NVD_API_KEY</nvdApiKeyEnvironmentVariable>
354+
</configuration>
355+
<executions>
356+
<execution>
357+
<goals>
358+
<goal>check</goal>
359+
</goals>
360+
<configuration>
361+
<failBuildOnCVSS>9</failBuildOnCVSS>
362+
<skipTestScope>true</skipTestScope>
363+
</configuration>
364+
</execution>
365+
</executions>
366+
</plugin>
359367
</plugins>
360368
</build>
361369
</profile>

0 commit comments

Comments
 (0)