Author: fanningpj
Date: Wed Dec 21 11:23:43 2022
New Revision: 1906134
URL: http://svn.apache.org/viewvc?rev=1906134&view=rev
Log:
cyclonedx per module
Modified:
poi/trunk/build.gradle
poi/trunk/poi-examples/build.gradle
poi/trunk/poi-excelant/build.gradle
poi/trunk/poi-ooxml-full/build.gradle
poi/trunk/poi-ooxml-lite/build.gradle
poi/trunk/poi-ooxml/build.gradle
poi/trunk/poi-scratchpad/build.gradle
poi/trunk/poi/build.gradle
Modified: poi/trunk/build.gradle
URL:
http://svn.apache.org/viewvc/poi/trunk/build.gradle?rev=1906134&r1=1906133&r2=1906134&view=diff
==============================================================================
--- poi/trunk/build.gradle (original)
+++ poi/trunk/build.gradle Wed Dec 21 11:23:43 2022
@@ -36,8 +36,8 @@ plugins {
id 'distribution'
id "com.github.spotbugs" version '5.0.13'
id 'de.thetaphi.forbiddenapis' version '3.4'
+ id 'org.sonarqube' version '3.5.0.2730'
id 'org.cyclonedx.bom' version '1.7.3'
- id 'org.sonarqube' version "3.5.0.2730"
}
repositories {
@@ -75,7 +75,7 @@ ant.taskdef(name: "junit",
wrapper {
- gradleVersion = '7.5.1'
+ gradleVersion = '7.6'
}
task adjustWrapperPropertiesFile {
@@ -112,6 +112,7 @@ subprojects {
apply plugin: 'signing'
apply plugin: 'de.thetaphi.forbiddenapis'
apply plugin: 'com.github.spotbugs'
+ apply plugin: 'org.cyclonedx.bom'
ext {
bouncyCastleVersion = '1.70'
@@ -844,22 +845,3 @@ binDistZip.finalizedBy fixDistDir
binDistTar.finalizedBy fixDistDir
srcDistZip.finalizedBy fixDistDir
srcDistTar.finalizedBy fixDistDir
-
-cyclonedxBom {
- // includeConfigs is the list of configuration names to include when
generating the BOM (leave empty to include every configuration)
- includeConfigs = ["runtimeClasspath"]
- // skipConfigs is a list of configuration names to exclude when generating
the BOM
- //skipConfigs = ["compileClasspath", "testCompileClasspath"]
- // Specified the type of project being built. Defaults to 'library'
- projectType = "library"
- // Specified the version of the CycloneDX specification to use. Defaults
to 1.4.
- schemaVersion = "1.4"
- // Boms destination directory (defaults to build/reports)
- destination = file("build/reports")
- // The file name for the generated BOMs (before the file format suffix).
Defaults to 'bom'
- outputName = "pom-${project.version}.bom"
- // The file format generated, can be xml, json or all for generating both
- outputFormat = "xml"
- // Exclude BOM Serial Number
- includeBomSerialNumber = true
-}
Modified: poi/trunk/poi-examples/build.gradle
URL:
http://svn.apache.org/viewvc/poi/trunk/poi-examples/build.gradle?rev=1906134&r1=1906133&r2=1906134&view=diff
==============================================================================
--- poi/trunk/poi-examples/build.gradle (original)
+++ poi/trunk/poi-examples/build.gradle Wed Dec 21 11:23:43 2022
@@ -113,3 +113,22 @@ sourcesJar {
from("$projectDir/../legal/NOTICE")
}
}
+
+cyclonedxBom {
+ // includeConfigs is the list of configuration names to include when
generating the BOM (leave empty to include every configuration)
+ includeConfigs = ["runtimeClasspath"]
+ // skipConfigs is a list of configuration names to exclude when generating
the BOM
+ //skipConfigs = ["compileClasspath", "testCompileClasspath"]
+ // Specified the type of project being built. Defaults to 'library'
+ projectType = "library"
+ // Specified the version of the CycloneDX specification to use. Defaults
to 1.4.
+ schemaVersion = "1.4"
+ // Boms destination directory (defaults to build/reports)
+ destination = file("build/reports")
+ // The file name for the generated BOMs (before the file format suffix).
Defaults to 'bom'
+ outputName = "poi-examples-${project.version}.bom"
+ // The file format generated, can be xml, json or all for generating both
+ outputFormat = "all"
+ // Exclude BOM Serial Number
+ includeBomSerialNumber = true
+}
Modified: poi/trunk/poi-excelant/build.gradle
URL:
http://svn.apache.org/viewvc/poi/trunk/poi-excelant/build.gradle?rev=1906134&r1=1906133&r2=1906134&view=diff
==============================================================================
--- poi/trunk/poi-excelant/build.gradle (original)
+++ poi/trunk/poi-excelant/build.gradle Wed Dec 21 11:23:43 2022
@@ -202,3 +202,22 @@ publishing {
}
}
}
+
+cyclonedxBom {
+ // includeConfigs is the list of configuration names to include when
generating the BOM (leave empty to include every configuration)
+ includeConfigs = ["runtimeClasspath"]
+ // skipConfigs is a list of configuration names to exclude when generating
the BOM
+ //skipConfigs = ["compileClasspath", "testCompileClasspath"]
+ // Specified the type of project being built. Defaults to 'library'
+ projectType = "library"
+ // Specified the version of the CycloneDX specification to use. Defaults
to 1.4.
+ schemaVersion = "1.4"
+ // Boms destination directory (defaults to build/reports)
+ destination = file("build/reports")
+ // The file name for the generated BOMs (before the file format suffix).
Defaults to 'bom'
+ outputName = "poi-excelant-${project.version}.bom"
+ // The file format generated, can be xml, json or all for generating both
+ outputFormat = "all"
+ // Exclude BOM Serial Number
+ includeBomSerialNumber = true
+}
Modified: poi/trunk/poi-ooxml-full/build.gradle
URL:
http://svn.apache.org/viewvc/poi/trunk/poi-ooxml-full/build.gradle?rev=1906134&r1=1906133&r2=1906134&view=diff
==============================================================================
--- poi/trunk/poi-ooxml-full/build.gradle (original)
+++ poi/trunk/poi-ooxml-full/build.gradle Wed Dec 21 11:23:43 2022
@@ -179,4 +179,23 @@ publishing {
spotbugsTest.enabled = false
spotbugsMain.enabled = false
javadoc.enabled = false
-javadocJar.enabled = false
\ No newline at end of file
+javadocJar.enabled = false
+
+cyclonedxBom {
+ // includeConfigs is the list of configuration names to include when
generating the BOM (leave empty to include every configuration)
+ includeConfigs = ["runtimeClasspath"]
+ // skipConfigs is a list of configuration names to exclude when generating
the BOM
+ //skipConfigs = ["compileClasspath", "testCompileClasspath"]
+ // Specified the type of project being built. Defaults to 'library'
+ projectType = "library"
+ // Specified the version of the CycloneDX specification to use. Defaults
to 1.4.
+ schemaVersion = "1.4"
+ // Boms destination directory (defaults to build/reports)
+ destination = file("build/reports")
+ // The file name for the generated BOMs (before the file format suffix).
Defaults to 'bom'
+ outputName = "poi-ooxml-full-${project.version}.bom"
+ // The file format generated, can be xml, json or all for generating both
+ outputFormat = "all"
+ // Exclude BOM Serial Number
+ includeBomSerialNumber = true
+}
\ No newline at end of file
Modified: poi/trunk/poi-ooxml-lite/build.gradle
URL:
http://svn.apache.org/viewvc/poi/trunk/poi-ooxml-lite/build.gradle?rev=1906134&r1=1906133&r2=1906134&view=diff
==============================================================================
--- poi/trunk/poi-ooxml-lite/build.gradle (original)
+++ poi/trunk/poi-ooxml-lite/build.gradle Wed Dec 21 11:23:43 2022
@@ -166,4 +166,23 @@ sourcesJar {
spotbugsTest.enabled = false
spotbugsMain.enabled = false
javadoc.enabled = false
-javadocJar.enabled = false
\ No newline at end of file
+javadocJar.enabled = false
+
+cyclonedxBom {
+ // includeConfigs is the list of configuration names to include when
generating the BOM (leave empty to include every configuration)
+ includeConfigs = ["runtimeClasspath"]
+ // skipConfigs is a list of configuration names to exclude when generating
the BOM
+ //skipConfigs = ["compileClasspath", "testCompileClasspath"]
+ // Specified the type of project being built. Defaults to 'library'
+ projectType = "library"
+ // Specified the version of the CycloneDX specification to use. Defaults
to 1.4.
+ schemaVersion = "1.4"
+ // Boms destination directory (defaults to build/reports)
+ destination = file("build/reports")
+ // The file name for the generated BOMs (before the file format suffix).
Defaults to 'bom'
+ outputName = "poi-ooxml-lite-${project.version}.bom"
+ // The file format generated, can be xml, json or all for generating both
+ outputFormat = "all"
+ // Exclude BOM Serial Number
+ includeBomSerialNumber = true
+}
\ No newline at end of file
Modified: poi/trunk/poi-ooxml/build.gradle
URL:
http://svn.apache.org/viewvc/poi/trunk/poi-ooxml/build.gradle?rev=1906134&r1=1906133&r2=1906134&view=diff
==============================================================================
--- poi/trunk/poi-ooxml/build.gradle (original)
+++ poi/trunk/poi-ooxml/build.gradle Wed Dec 21 11:23:43 2022
@@ -366,3 +366,22 @@ publishing {
}
}
}
+
+cyclonedxBom {
+ // includeConfigs is the list of configuration names to include when
generating the BOM (leave empty to include every configuration)
+ includeConfigs = ["runtimeClasspath"]
+ // skipConfigs is a list of configuration names to exclude when generating
the BOM
+ //skipConfigs = ["compileClasspath", "testCompileClasspath"]
+ // Specified the type of project being built. Defaults to 'library'
+ projectType = "library"
+ // Specified the version of the CycloneDX specification to use. Defaults
to 1.4.
+ schemaVersion = "1.4"
+ // Boms destination directory (defaults to build/reports)
+ destination = file("build/reports")
+ // The file name for the generated BOMs (before the file format suffix).
Defaults to 'bom'
+ outputName = "poi-ooxml-${project.version}.bom"
+ // The file format generated, can be xml, json or all for generating both
+ outputFormat = "all"
+ // Exclude BOM Serial Number
+ includeBomSerialNumber = true
+}
Modified: poi/trunk/poi-scratchpad/build.gradle
URL:
http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/build.gradle?rev=1906134&r1=1906133&r2=1906134&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/build.gradle (original)
+++ poi/trunk/poi-scratchpad/build.gradle Wed Dec 21 11:23:43 2022
@@ -207,3 +207,22 @@ publishing {
}
}
}
+
+cyclonedxBom {
+ // includeConfigs is the list of configuration names to include when
generating the BOM (leave empty to include every configuration)
+ includeConfigs = ["runtimeClasspath"]
+ // skipConfigs is a list of configuration names to exclude when generating
the BOM
+ //skipConfigs = ["compileClasspath", "testCompileClasspath"]
+ // Specified the type of project being built. Defaults to 'library'
+ projectType = "library"
+ // Specified the version of the CycloneDX specification to use. Defaults
to 1.4.
+ schemaVersion = "1.4"
+ // Boms destination directory (defaults to build/reports)
+ destination = file("build/reports")
+ // The file name for the generated BOMs (before the file format suffix).
Defaults to 'bom'
+ outputName = "poi-scratchpad-${project.version}.bom"
+ // The file format generated, can be xml, json or all for generating both
+ outputFormat = "all"
+ // Exclude BOM Serial Number
+ includeBomSerialNumber = true
+}
Modified: poi/trunk/poi/build.gradle
URL:
http://svn.apache.org/viewvc/poi/trunk/poi/build.gradle?rev=1906134&r1=1906133&r2=1906134&view=diff
==============================================================================
--- poi/trunk/poi/build.gradle (original)
+++ poi/trunk/poi/build.gradle Wed Dec 21 11:23:43 2022
@@ -236,3 +236,22 @@ publishing {
}
}
}
+
+cyclonedxBom {
+ // includeConfigs is the list of configuration names to include when
generating the BOM (leave empty to include every configuration)
+ includeConfigs = ["runtimeClasspath"]
+ // skipConfigs is a list of configuration names to exclude when generating
the BOM
+ //skipConfigs = ["compileClasspath", "testCompileClasspath"]
+ // Specified the type of project being built. Defaults to 'library'
+ projectType = "library"
+ // Specified the version of the CycloneDX specification to use. Defaults
to 1.4.
+ schemaVersion = "1.4"
+ // Boms destination directory (defaults to build/reports)
+ destination = file("build/reports")
+ // The file name for the generated BOMs (before the file format suffix).
Defaults to 'bom'
+ outputName = "poi-${project.version}.bom"
+ // The file format generated, can be xml, json or all for generating both
+ outputFormat = "all"
+ // Exclude BOM Serial Number
+ includeBomSerialNumber = true
+}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]