This is an automated email from the ASF dual-hosted git repository.
dkuzmenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git
The following commit(s) were added to refs/heads/master by this push:
new e570e65a397 HIVE-28244: Add SBOM for storage-api and
standalone-metastore modules (Raghav Aggarwal, reviewed by Denys Kuzmenko)
e570e65a397 is described below
commit e570e65a397aae47c62472f12acaaed06b68cf54
Author: Raghav Aggarwal <[email protected]>
AuthorDate: Tue Jun 4 20:02:31 2024 +0530
HIVE-28244: Add SBOM for storage-api and standalone-metastore modules
(Raghav Aggarwal, reviewed by Denys Kuzmenko)
Closes #5234
---
standalone-metastore/pom.xml | 21 +++++++++++++++++++++
storage-api/pom.xml | 23 +++++++++++++++++++++++
2 files changed, 44 insertions(+)
diff --git a/standalone-metastore/pom.xml b/standalone-metastore/pom.xml
index 1081ad7b2f6..3964dfba17b 100644
--- a/standalone-metastore/pom.xml
+++ b/standalone-metastore/pom.xml
@@ -40,6 +40,7 @@
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.useIncrementalCompilation>false</maven.compiler.useIncrementalCompilation>
+ <maven.cyclonedx.plugin.version>2.7.10</maven.cyclonedx.plugin.version>
<maven.repo.local>${settings.localRepository}</maven.repo.local>
<maven.exec.plugin.version>3.1.0</maven.exec.plugin.version>
<checkstyle.conf.dir>${basedir}/${standalone.metastore.path.to.root}/checkstyle</checkstyle.conf.dir>
@@ -659,5 +660,25 @@
</plugins>
</reporting>
</profile>
+ <profile>
+ <id>dist</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.cyclonedx</groupId>
+ <artifactId>cyclonedx-maven-plugin</artifactId>
+ <version>${maven.cyclonedx.plugin.version}</version>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>makeBom</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
</project>
diff --git a/storage-api/pom.xml b/storage-api/pom.xml
index 44e0a91c3f3..58e6ac886b3 100644
--- a/storage-api/pom.xml
+++ b/storage-api/pom.xml
@@ -36,6 +36,7 @@
<junit.vintage.version>5.6.3</junit.vintage.version>
<slf4j.version>1.7.30</slf4j.version>
<maven.checkstyle.plugin.version>2.17</maven.checkstyle.plugin.version>
+ <maven.cyclonedx.plugin.version>2.7.10</maven.cyclonedx.plugin.version>
<checkstyle.conf.dir>${basedir}/checkstyle/</checkstyle.conf.dir>
<maven.versions.plugin.version>2.16.0</maven.versions.plugin.version>
<maven.surefire.plugin.version>3.0.0-M4</maven.surefire.plugin.version>
@@ -216,4 +217,26 @@
</plugin>
</plugins>
</build>
+ <profiles>
+ <profile>
+ <id>dist</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.cyclonedx</groupId>
+ <artifactId>cyclonedx-maven-plugin</artifactId>
+ <version>${maven.cyclonedx.plugin.version}</version>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>makeBom</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>