You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by fa...@apache.org on 2022/07/21 15:22:42 UTC

svn commit: r1902913 - in /xmlbeans/trunk: build.gradle gradle.properties

Author: fanningpj
Date: Thu Jul 21 15:22:42 2022
New Revision: 1902913

URL: http://svn.apache.org/viewvc?rev=1902913&view=rev
Log:
sbom/pom experiment

Modified:
    xmlbeans/trunk/build.gradle
    xmlbeans/trunk/gradle.properties

Modified: xmlbeans/trunk/build.gradle
URL: http://svn.apache.org/viewvc/xmlbeans/trunk/build.gradle?rev=1902913&r1=1902912&r2=1902913&view=diff
==============================================================================
--- xmlbeans/trunk/build.gradle (original)
+++ xmlbeans/trunk/build.gradle Thu Jul 21 15:22:42 2022
@@ -38,7 +38,7 @@ plugins {
     id('de.thetaphi.forbiddenapis') version '3.2'
     id 'jacoco'
     id 'com.github.spotbugs' version '4.8.0'
-    id 'org.cyclonedx.bom' version '1.4.1'
+    id 'org.cyclonedx.bom' version '1.7.0'
 }
 
 // Only add the plugin for Sonar if enabled
@@ -520,7 +520,7 @@ distributions {
 publishing {
     publications {
         POI(MavenPublication) {
-            groupId 'org.apache.poi'
+            groupId 'org.apache.xmlbeans'
             artifactId project.archivesBaseName
             version XMLBeansVersion
 
@@ -718,6 +718,25 @@ if (project.hasProperty('enableSonar'))
     }
 }
 
+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 = "xmlbeans-${XMLBeansVersion}.bom"
+    // The file format generated, can be xml, json or all for generating both
+    outputFormat = "xml"
+    // Exclude BOM Serial Number
+    includeBomSerialNumber = true
+}
+
 Set<File> xsdDirs(File parent) {
     Set<File> xsdDirs = [] as Set<File>
     parent.eachDirRecurse {dirIt ->

Modified: xmlbeans/trunk/gradle.properties
URL: http://svn.apache.org/viewvc/xmlbeans/trunk/gradle.properties?rev=1902913&r1=1902912&r2=1902913&view=diff
==============================================================================
--- xmlbeans/trunk/gradle.properties (original)
+++ xmlbeans/trunk/gradle.properties Thu Jul 21 15:22:42 2022
@@ -14,7 +14,7 @@
 
 
 # comment-out, because of naming problems with the distribution plugin
-# project.version=5.1.1-SNAPSHOT
+#project.version=5.1.1-SNAPSHOT
 XMLBeansVersion=5.1.1-SNAPSHOT
 
 # Specifies the JVM arguments used for the daemon process.



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org