diff --git a/hadoop-ozone/dist/dev-support/bin/dist-layout-stitching b/hadoop-ozone/dist/dev-support/bin/dist-layout-stitching index 7553ef42e51..0ec066aca56 100755 --- a/hadoop-ozone/dist/dev-support/bin/dist-layout-stitching +++ b/hadoop-ozone/dist/dev-support/bin/dist-layout-stitching @@ -113,6 +113,9 @@ run cp -r "${ROOT}/hadoop-ozone/fault-injection-test/network-tests/src/test/blo # Optional documentation, could be missing cp -r "${ROOT}/hadoop-hdds/docs/target/classes/docs" ./ +# BOM is created only when using 'dist' profile +cp -p "${ROOT}"/target/bom.* ./ + #copy byteman helpers run cp -r "${ROOT}/dev-support/byteman" "share/ozone/" diff --git a/pom.xml b/pom.xml index 227e3b847d8..9e02b1834eb 100644 --- a/pom.xml +++ b/pom.xml @@ -140,6 +140,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xs 1.78.1 10.14.2.0 3.0.2 + 2.8.0 3.2.6 0.8.12 3.30.2-GA @@ -1577,6 +1578,11 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xs download-maven-plugin ${download-maven-plugin.version} + + org.cyclonedx + cyclonedx-maven-plugin + ${cyclonedx.version} + @@ -1834,6 +1840,18 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xs + + org.cyclonedx + cyclonedx-maven-plugin + + + package + + makeAggregateBom + + + +