Skip to content

Commit d390a46

Browse files
authored
JSTEP-14: Add SBOM generation, publishing (#579)
1 parent a0521f7 commit d390a46

File tree

6 files changed

+33
-41
lines changed

6 files changed

+33
-41
lines changed

avro/pom.xml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,11 @@ abstractions.
7979
<plugin><!-- Inherited from oss-base. Generate PackageVersion.java.-->
8080
<groupId>com.google.code.maven-replacer-plugin</groupId>
8181
<artifactId>replacer</artifactId>
82-
<executions>
83-
<execution>
84-
<id>process-packageVersion</id>
85-
<phase>generate-sources</phase>
86-
</execution>
87-
</executions>
82+
</plugin>
83+
<!-- 29-Apr-2025, tatu: SBOM generation [JSTEP-14] -->
84+
<plugin>
85+
<groupId>org.cyclonedx</groupId>
86+
<artifactId>cyclonedx-maven-plugin</artifactId>
8887
</plugin>
8988
<!-- 19-Mar-2019, tatu: Add rudimentary JDK9+ module info. To build with JDK 8
9089
will have to use `moduleInfoFile` as anything else requires JDK 9+

cbor/pom.xml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,11 @@ encoded data using Jackson abstractions (streaming API, data binding, tree model
5959
<!-- Inherited from oss-base. Generate PackageVersion.java.-->
6060
<groupId>com.google.code.maven-replacer-plugin</groupId>
6161
<artifactId>replacer</artifactId>
62-
<executions>
63-
<execution>
64-
<id>process-packageVersion</id>
65-
<phase>generate-sources</phase>
66-
</execution>
67-
</executions>
62+
</plugin>
63+
<!-- 29-Apr-2025, tatu: SBOM generation [JSTEP-14] -->
64+
<plugin>
65+
<groupId>org.cyclonedx</groupId>
66+
<artifactId>cyclonedx-maven-plugin</artifactId>
6867
</plugin>
6968
<!-- 19-Mar-2019, tatu: Add rudimentary JDK9+ module info. To build with JDK 8
7069
will have to use `moduleInfoFile` as anything else requires JDK 9+

ion/pom.xml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
<artifactId>jackson-dataformats-binary</artifactId>
1212
<version>2.20.0-SNAPSHOT</version>
1313
</parent>
14-
<groupId>com.fasterxml.jackson.dataformat</groupId>
1514
<artifactId>jackson-dataformat-ion</artifactId>
1615
<name>Jackson dataformat: Ion</name>
1716
<packaging>jar</packaging>
@@ -72,12 +71,11 @@ tree model)
7271
<!-- Inherited from oss-base. Generate PackageVersion.java.-->
7372
<groupId>com.google.code.maven-replacer-plugin</groupId>
7473
<artifactId>replacer</artifactId>
75-
<executions>
76-
<execution>
77-
<id>process-packageVersion</id>
78-
<phase>generate-sources</phase>
79-
</execution>
80-
</executions>
74+
</plugin>
75+
<!-- 29-Apr-2025, tatu: SBOM generation [JSTEP-14] -->
76+
<plugin>
77+
<groupId>org.cyclonedx</groupId>
78+
<artifactId>cyclonedx-maven-plugin</artifactId>
8179
</plugin>
8280
<!-- 19-Mar-2019, tatu: Add rudimentary JDK9+ module info. To build with JDK 8
8381
will have to use `moduleInfoFile` as anything else requires JDK 9+

pom.xml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<connection>scm:git:[email protected]:FasterXML/jackson-dataformats-binary.git</connection>
3636
<developerConnection>scm:git:[email protected]:FasterXML/jackson-dataformats-binary.git</developerConnection>
3737
<url>https://github.com/FasterXML/jackson-dataformats-binary</url>
38-
<tag>jackson-dataformats-binary-2.19.0</tag>
38+
<tag>HEAD</tag>
3939
</scm>
4040
<issueManagement>
4141
<url>https://github.com/FasterXML/jackson-dataformats-binary/issues</url>
@@ -90,18 +90,17 @@
9090
<build>
9191
<pluginManagement>
9292
<plugins>
93-
<plugin>
94-
<!-- Inherited from oss-base. Generate PackageVersion.java.-->
93+
<plugin>
94+
<!-- Inherited from oss-base. Generate PackageVersion.java.-->
9595
<groupId>com.google.code.maven-replacer-plugin</groupId>
9696
<artifactId>replacer</artifactId>
97-
<executions>
97+
<executions>
9898
<execution>
9999
<id>process-packageVersion</id>
100100
<phase>generate-sources</phase>
101101
</execution>
102102
</executions>
103-
</plugin>
104-
103+
</plugin>
105104
</plugins>
106105
</pluginManagement>
107106
</build>

protobuf/pom.xml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -63,19 +63,17 @@ abstractions.
6363
</dependencies>
6464

6565
<build>
66-
<plugins>
67-
<plugin>
66+
<plugins>
67+
<plugin>
6868
<!-- Inherited from oss-base. Generate PackageVersion.java.-->
6969
<groupId>com.google.code.maven-replacer-plugin</groupId>
7070
<artifactId>replacer</artifactId>
71-
<executions>
72-
<execution>
73-
<id>process-packageVersion</id>
74-
<phase>generate-sources</phase>
75-
</execution>
76-
</executions>
77-
</plugin>
78-
71+
</plugin>
72+
<!-- 29-Apr-2025, tatu: SBOM generation [JSTEP-14] -->
73+
<plugin>
74+
<groupId>org.cyclonedx</groupId>
75+
<artifactId>cyclonedx-maven-plugin</artifactId>
76+
</plugin>
7977
<plugin>
8078
<!-- We will shade proto-parser, to simplify deployment, avoid version conflicts -->
8179
<groupId>org.apache.maven.plugins</groupId>

smile/pom.xml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,11 @@ tree model)
7777
<!-- Inherited from oss-base. Generate PackageVersion.java.-->
7878
<groupId>com.google.code.maven-replacer-plugin</groupId>
7979
<artifactId>replacer</artifactId>
80-
<executions>
81-
<execution>
82-
<id>process-packageVersion</id>
83-
<phase>generate-sources</phase>
84-
</execution>
85-
</executions>
80+
</plugin>
81+
<!-- 29-Apr-2025, tatu: SBOM generation [JSTEP-14] -->
82+
<plugin>
83+
<groupId>org.cyclonedx</groupId>
84+
<artifactId>cyclonedx-maven-plugin</artifactId>
8685
</plugin>
8786
<!-- 19-Mar-2019, tatu: Add rudimentary JDK9+ module info. To build with JDK 8
8887
will have to use `moduleInfoFile` as anything else requires JDK 9+

0 commit comments

Comments
 (0)