@@ -342,6 +342,17 @@ Copyright (c) 2012 - Jeremy Long
342342 <ignoredVersions >.*-(alpha|beta|M|rc)[-0-9]+</ignoredVersions >
343343 </configuration >
344344 </plugin >
345+ <plugin >
346+ <groupId >org.cyclonedx</groupId >
347+ <artifactId >cyclonedx-maven-plugin</artifactId >
348+ <version >2.9.1</version >
349+ <configuration >
350+ <includeProvidedScope >false</includeProvidedScope >
351+ <skipNotDeployed >false</skipNotDeployed >
352+ <outputName >sbom</outputName >
353+ <outputFormat >json</outputFormat >
354+ </configuration >
355+ </plugin >
345356 </plugins >
346357 </pluginManagement >
347358 <plugins >
@@ -1040,12 +1051,6 @@ Copyright (c) 2012 - Jeremy Long
10401051 <artifactId >semver4j</artifactId >
10411052 <version >5.8.0</version >
10421053 </dependency >
1043- <dependency >
1044- <groupId >org.jspecify</groupId >
1045- <artifactId >jspecify</artifactId >
1046- <version >1.0.0</version >
1047- <optional >true</optional >
1048- </dependency >
10491054 <dependency >
10501055 <groupId >com.h2database</groupId >
10511056 <artifactId >h2</artifactId >
@@ -1254,6 +1259,20 @@ Copyright (c) 2012 - Jeremy Long
12541259 </exclusion >
12551260 </exclusions >
12561261 </dependency >
1262+ <dependency >
1263+ <groupId >org.jspecify</groupId >
1264+ <artifactId >jspecify</artifactId >
1265+ <version >1.0.0</version >
1266+ <!-- Use provided scope to ensure not used at runtime, even from transitive dependencies -->
1267+ <scope >provided</scope >
1268+ </dependency >
1269+ <dependency >
1270+ <groupId >com.github.spotbugs</groupId >
1271+ <artifactId >spotbugs-annotations</artifactId >
1272+ <version >4.9.8</version >
1273+ <!-- Use provided scope to ensure not used at runtime, even from transitive dependencies -->
1274+ <scope >provided</scope >
1275+ </dependency >
12571276 </dependencies >
12581277 </dependencyManagement >
12591278 <dependencies >
@@ -1293,15 +1312,12 @@ Copyright (c) 2012 - Jeremy Long
12931312 <dependency >
12941313 <groupId >org.jspecify</groupId >
12951314 <artifactId >jspecify</artifactId >
1296- <scope >compile</scope >
1297- <optional >true</optional >
1315+ <scope >provided</scope >
12981316 </dependency >
12991317 <dependency >
13001318 <groupId >com.github.spotbugs</groupId >
13011319 <artifactId >spotbugs-annotations</artifactId >
1302- <version >4.9.8</version >
1303- <scope >compile</scope >
1304- <optional >true</optional >
1320+ <scope >provided</scope >
13051321 </dependency >
13061322 <!-- endregion -->
13071323 </dependencies >
0 commit comments