You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2023/02/06 21:50:05 UTC

[maven-parent] branch MPOM-346 created (now ef0fcc5)

This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a change to branch MPOM-346
in repository https://gitbox.apache.org/repos/asf/maven-parent.git


      at ef0fcc5  [MPOM-346] publish SBOM on release

This branch includes the following new commits:

     new ef0fcc5  [MPOM-346] publish SBOM on release

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[maven-parent] 01/01: [MPOM-346] publish SBOM on release

Posted by hb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch MPOM-346
in repository https://gitbox.apache.org/repos/asf/maven-parent.git

commit ef0fcc5db3f81601d49d7645f4c956e0a928ab74
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Mon Feb 6 22:49:49 2023 +0100

    [MPOM-346] publish SBOM on release
---
 pom.xml | 23 ++++++++++++++++++++++-
 1 file changed, 22 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 41e8e31..245199f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -909,7 +909,7 @@ under the License.
   <scm>
     <connection>scm:git:https://gitbox.apache.org/repos/asf/maven-parent.git</connection>
     <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/maven-parent.git</developerConnection>
-    <tag>maven-parent-38</tag>
+    <tag>master</tag>
     <url>https://github.com/apache/maven-parent/tree/${project.scm.tag}</url>
   </scm>
 
@@ -1207,6 +1207,7 @@ under the License.
         </plugin>
       </plugins>
     </pluginManagement>
+
     <plugins>
       <plugin>
         <groupId>com.diffplug.spotless</groupId>
@@ -1290,6 +1291,26 @@ under the License.
   </reporting>
 
   <profiles>
+    <profile>
+      <id>apache-release</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.cyclonedx</groupId>
+            <artifactId>cyclonedx-maven-plugin</artifactId>
+            <version>2.7.4</version>
+            <executions>
+              <execution>
+                <goals>
+                  <goal>makeAggregateBom</goal>
+                </goals>
+                <phase>package</phase>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
     <profile>
       <id>format-check</id>
       <activation>