Skip to content

Commit 837ecdb

Browse files
authored
Fix #5361: SBOM publishing (#5396)
1 parent abe0a50 commit 837ecdb

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

pom.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,9 +207,17 @@
207207
</plugin>
208208

209209
<!-- 28-Apr-2025, tatu: SBOM generation [JSTEP-14] -->
210+
<!-- 16-Nov-2025: [databind#5361] - use makeBom goal instead of makeAggregateBom for single-module project -->
210211
<plugin>
211212
<groupId>org.cyclonedx</groupId>
212213
<artifactId>cyclonedx-maven-plugin</artifactId>
214+
<executions>
215+
<execution>
216+
<id>make-bom</id>
217+
<phase>package</phase>
218+
<goals><goal>makeBom</goal></goals>
219+
</execution>
220+
</executions>
213221
</plugin>
214222

215223
<plugin>

release-notes/VERSION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Versions: 3.x (for earlier see VERSION-2.x)
99

1010
#5350: Add `DeserializationFeature.USE_NULL_FOR_MISSING_REFERENCE_VALUES` for
1111
selecting `null` vs "empty/absent" value when deserializing missing `Optional` value
12+
#5361: Fix Maven SBOM publishing (worked in 3.0.0-rc4 but not in rc5 or later)
1213

1314
3.0.2 (07-Nov-2025)
1415

0 commit comments

Comments
 (0)