From e1017c517e83df05b40ced73b3eae2c8f3ee4156 Mon Sep 17 00:00:00 2001 From: Thomas Leplus Date: Sun, 15 Dec 2024 00:45:43 +0800 Subject: [PATCH] Remove CycloneDX, keep SPX only for now --- .github/workflows/maven.yml | 8 +------- pom.xml | 17 ----------------- 2 files changed, 1 insertion(+), 24 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 70939c2b..7facd594 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -75,19 +75,13 @@ jobs: else GPG_SKIP=false fi - if [ "${{ matrix.java }}" = "8" ] - then - CYCLONEDX_SKIP=true - else - CYCLONEDX_SKIP=false - fi # Forcing dependency check version to a version compatible # with Java 8 since version does not matter due to # dependencyCheck.skip=true. But otherwise Maven initialization # fails with error: "java.lang.TypeNotPresentException: # Type org.owasp.dependencycheck.maven.CheckMojo not present". # shellcheck disable=SC2086 - ./mvnw ${MAVEN_CLI_OPTS} -DdependencyCheck.version=10.0.4 -DdependencyCheck.skip=true -Dgpg.skip=${GPG_SKIP} -Dcyclonedx.skip=${CYCLONEDX_SKIP} verify + ./mvnw ${MAVEN_CLI_OPTS} -DdependencyCheck.version=10.0.4 -DdependencyCheck.skip=true -Dgpg.skip=${GPG_SKIP} verify - name: Publish site env: GITHUB_TOKEN: ${{ github.token }} diff --git a/pom.xml b/pom.xml index 60be1146..ed56befb 100644 --- a/pom.xml +++ b/pom.xml @@ -84,7 +84,6 @@ limitations under the License. 11.1.1 false 7 - false @@ -331,22 +330,6 @@ limitations under the License. - - org.cyclonedx - cyclonedx-maven-plugin - 2.9.1 - - ${cyclonedx.skip} - - - - package - - makeAggregateBom - - - -