This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch branch-1.7
in repository https://gitbox.apache.org/repos/asf/orc.git
The following commit(s) were added to refs/heads/branch-1.7 by this push:
new c38d2204a ORC-1344: Skip SBOM generation during CMake
c38d2204a is described below
commit c38d2204aff36ba97ce693da84292a632e8c3ea6
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Sun Jan 8 22:20:25 2023 -0800
ORC-1344: Skip SBOM generation during CMake
### What changes were proposed in this pull request?
This PR aims to skip `SBOM` generation during CMake.
In the community, Apache ORC release and GitHub Action publishing job uses
`mvnw` directly.
### Why are the changes needed?
During testing, we don't need SBOM.
Only snapshot CI job requires to publish SBOM.
### How was this patch tested?
Manually check the log of GitHub Action jobs in this PR.
Closes #1354 from dongjoon-hyun/ORC-1344.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
(cherry picked from commit 046a03f87e91fc73a168345d7a96be1b79e1b76a)
Signed-off-by: Dongjoon Hyun <[email protected]>
---
java/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/java/CMakeLists.txt b/java/CMakeLists.txt
index 209241ea9..5e1c0f85b 100644
--- a/java/CMakeLists.txt
+++ b/java/CMakeLists.txt
@@ -52,7 +52,7 @@ endif()
add_custom_command(
OUTPUT ${ORC_JARS}
COMMAND ./mvnw ${NO_DOWNLOAD_MSG} ${JAVA_PROFILE}
- -Dbuild.dir=${CMAKE_CURRENT_BINARY_DIR} -DskipTests package
+ -Dbuild.dir=${CMAKE_CURRENT_BINARY_DIR} -Dcyclonedx.skip
-DskipTests package
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
COMMENT "Build the java directory"
VERBATIM)