Skip to content

Commit c760188

Browse files
dongjoon-hyuncnauroth
authored andcommitted
HADOOP-18590. Publish SBOM artifacts (#5281)
Signed-off-by: Chris Nauroth <[email protected]> (cherry picked from commit 6f99558) (cherry picked from commit b6fd322)
1 parent fbb9734 commit c760188

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

pom.xml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/x
115115
<dependency-check-maven.version>1.4.3</dependency-check-maven.version>
116116
<spotbugs.version>4.2.2</spotbugs.version>
117117
<spotbugs-maven-plugin.version>4.2.0</spotbugs-maven-plugin.version>
118+
<cyclonedx.version>2.7.3</cyclonedx.version>
118119

119120
<shell-executable>bash</shell-executable>
120121

@@ -355,6 +356,19 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/x
355356
</dependency>
356357
</dependencies>
357358
</plugin>
359+
<plugin>
360+
<groupId>org.cyclonedx</groupId>
361+
<artifactId>cyclonedx-maven-plugin</artifactId>
362+
<version>${cyclonedx.version}</version>
363+
<executions>
364+
<execution>
365+
<phase>package</phase>
366+
<goals>
367+
<goal>makeBom</goal>
368+
</goals>
369+
</execution>
370+
</executions>
371+
</plugin>
358372
</plugins>
359373
</pluginManagement>
360374

@@ -457,6 +471,10 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/x
457471
<groupId>com.github.spotbugs</groupId>
458472
<artifactId>spotbugs-maven-plugin</artifactId>
459473
</plugin>
474+
<plugin>
475+
<groupId>org.cyclonedx</groupId>
476+
<artifactId>cyclonedx-maven-plugin</artifactId>
477+
</plugin>
460478
</plugins>
461479
</build>
462480

0 commit comments

Comments
 (0)