Skip to content

Commit 61f6628

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

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
@@ -116,6 +116,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/x
116116
<dependency-check-maven.version>1.4.3</dependency-check-maven.version>
117117
<spotbugs.version>4.2.2</spotbugs.version>
118118
<spotbugs-maven-plugin.version>4.2.0</spotbugs-maven-plugin.version>
119+
<cyclonedx.version>2.7.3</cyclonedx.version>
119120

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

@@ -379,6 +380,19 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/x
379380
</dependency>
380381
</dependencies>
381382
</plugin>
383+
<plugin>
384+
<groupId>org.cyclonedx</groupId>
385+
<artifactId>cyclonedx-maven-plugin</artifactId>
386+
<version>${cyclonedx.version}</version>
387+
<executions>
388+
<execution>
389+
<phase>package</phase>
390+
<goals>
391+
<goal>makeBom</goal>
392+
</goals>
393+
</execution>
394+
</executions>
395+
</plugin>
382396
</plugins>
383397
</pluginManagement>
384398

@@ -486,6 +500,10 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/x
486500
<groupId>com.github.spotbugs</groupId>
487501
<artifactId>spotbugs-maven-plugin</artifactId>
488502
</plugin>
503+
<plugin>
504+
<groupId>org.cyclonedx</groupId>
505+
<artifactId>cyclonedx-maven-plugin</artifactId>
506+
</plugin>
489507
</plugins>
490508
</build>
491509

0 commit comments

Comments
 (0)