Skip to content

Commit 68e9b6d

Browse files
committed
pom updates
1 parent 5e9dbe0 commit 68e9b6d

File tree

1 file changed

+39
-12
lines changed

1 file changed

+39
-12
lines changed

pom.xml

Lines changed: 39 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,26 @@
2020

2121
<selenium.version>4.34.0</selenium.version>
2222
<selenium.devtools.artifactId>selenium-devtools-v138</selenium.devtools.artifactId>
23-
<htmlunit.version>4.14.0-SNAPSHOT</htmlunit.version>
23+
<htmlunit.version>4.14.0</htmlunit.version>
2424

2525
<jetty.version>9.4.57.v20241219</jetty.version>
2626

27-
<central-publishing.version>0.8.0</central-publishing.version>
27+
<!-- test dependencies -->
28+
<junit.version>4.13.2</junit.version>
2829

29-
<checkstyle.version>10.25.1</checkstyle.version>
30+
<!-- quality -->
31+
<checkstyle.version>10.26.1</checkstyle.version>
3032
<spotbugs.version>4.9.3</spotbugs.version>
3133
<archunit.version>1.4.1</archunit.version>
32-
<dependencycheck.version>12.1.1</dependencycheck.version>
34+
<dependencycheck.version>12.1.3</dependencycheck.version>
35+
36+
<!-- plugins -->
37+
<central-publishing-plugin.version>0.8.0</central-publishing-plugin.version>
38+
<checkstyle-plugin.version>3.6.0</checkstyle-plugin.version>
39+
<spotbugs-plugin.version>4.9.3.2</spotbugs-plugin.version>
40+
<gpg-plugin.version>3.2.8</gpg-plugin.version>
41+
<enforcer-plugin.version>3.6.1</enforcer-plugin.version>
42+
<cyclonedx-plugin.version>2.9.1</cyclonedx-plugin.version>
3343
</properties>
3444

3545
<licenses>
@@ -175,7 +185,7 @@
175185
<dependency>
176186
<groupId>junit</groupId>
177187
<artifactId>junit</artifactId>
178-
<version>4.13.2</version>
188+
<version>${junit.version}</version>
179189
<scope>test</scope>
180190
</dependency>
181191
<dependency>
@@ -208,7 +218,7 @@
208218
<plugin>
209219
<groupId>org.apache.maven.plugins</groupId>
210220
<artifactId>maven-checkstyle-plugin</artifactId>
211-
<version>3.6.0</version>
221+
<version>${checkstyle-plugin.version}</version>
212222
<configuration>
213223
<configLocation>checkstyle.xml</configLocation>
214224
<suppressionsLocation>checkstyle_suppressions.xml</suppressionsLocation>
@@ -225,7 +235,7 @@
225235
<plugin>
226236
<groupId>com.github.spotbugs</groupId>
227237
<artifactId>spotbugs-maven-plugin</artifactId>
228-
<version>4.9.3.0</version>
238+
<version>${spotbugs-plugin.version}</version>
229239
<dependencies>
230240
<dependency>
231241
<groupId>com.github.spotbugs</groupId>
@@ -281,7 +291,7 @@
281291
<plugin>
282292
<groupId>org.apache.maven.plugins</groupId>
283293
<artifactId>maven-gpg-plugin</artifactId>
284-
<version>3.2.7</version>
294+
<version>${gpg-plugin.version}</version>
285295
<executions>
286296
<execution>
287297
<phase>verify</phase>
@@ -294,13 +304,12 @@
294304
<plugin>
295305
<groupId>org.sonatype.central</groupId>
296306
<artifactId>central-publishing-maven-plugin</artifactId>
297-
<version>${central-publishing.version}</version>
307+
<version>${central-publishing-plugin.version}</version>
298308
<extensions>true</extensions>
299309
<configuration>
300310
<publishingServerId>central</publishingServerId>
301311
</configuration>
302312
</plugin>
303-
<!--
304313
<plugin>
305314
<groupId>org.owasp</groupId>
306315
<artifactId>dependency-check-maven</artifactId>
@@ -319,7 +328,6 @@
319328
</execution>
320329
</executions>
321330
</plugin>
322-
-->
323331
<plugin>
324332
<groupId>org.apache.maven.plugins</groupId>
325333
<artifactId>maven-assembly-plugin</artifactId>
@@ -341,7 +349,7 @@
341349
<plugin>
342350
<groupId>org.apache.maven.plugins</groupId>
343351
<artifactId>maven-enforcer-plugin</artifactId>
344-
<version>3.5.0</version>
352+
<version>${enforcer-plugin.version}</version>
345353
<executions>
346354
<execution>
347355
<id>enforce</id>
@@ -363,6 +371,25 @@
363371
</execution>
364372
</executions>
365373
</plugin>
374+
<plugin>
375+
<groupId>org.cyclonedx</groupId>
376+
<artifactId>cyclonedx-maven-plugin</artifactId>
377+
<version>${cyclonedx-plugin.version}</version>
378+
<executions>
379+
<execution>
380+
<phase>package</phase>
381+
<goals>
382+
<goal>makeAggregateBom</goal>
383+
</goals>
384+
</execution>
385+
</executions>
386+
<configuration>
387+
<projectType>library</projectType>
388+
<outputFormat>json</outputFormat>
389+
<!-- strange but it helps -->
390+
<skipNotDeployed>false</skipNotDeployed>
391+
</configuration>
392+
</plugin>
366393
</plugins>
367394
</build>
368395

0 commit comments

Comments
 (0)