You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@creadur.apache.org by po...@apache.org on 2026/03/16 22:27:27 UTC

(creadur-rat) branch feature/RAT-534 created (now 16ee2907)

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

pottlinger pushed a change to branch feature/RAT-534
in repository https://gitbox.apache.org/repos/asf/creadur-rat.git


      at 16ee2907 RAT-534: Automatically generate SHA512 and SHA256 checksums during ASF release builds

This branch includes the following new commits:

     new 16ee2907 RAT-534: Automatically generate SHA512 and SHA256 checksums during ASF release builds

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.



(creadur-rat) 01/01: RAT-534: Automatically generate SHA512 and SHA256 checksums during ASF release builds

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

pottlinger pushed a commit to branch feature/RAT-534
in repository https://gitbox.apache.org/repos/asf/creadur-rat.git

commit 16ee29079d3aad70633bab2fa81ed5f814a47406
Author: P. Ottlinger <po...@apache.org>
AuthorDate: Mon Mar 16 23:27:16 2026 +0100

    RAT-534: Automatically generate SHA512 and SHA256 checksums during ASF release builds
---
 apache-rat-plugin/pom.xml |  4 ++--
 apache-rat-tasks/pom.xml  | 24 ++++++++++++------------
 apache-rat/pom.xml        |  2 +-
 pom.xml                   | 27 ++++++++++++++++++++++++---
 4 files changed, 39 insertions(+), 18 deletions(-)

diff --git a/apache-rat-plugin/pom.xml b/apache-rat-plugin/pom.xml
index 76d0e0d3..6c56d599 100644
--- a/apache-rat-plugin/pom.xml
+++ b/apache-rat-plugin/pom.xml
@@ -122,7 +122,7 @@
                     </goals>
                   </pluginExecutionFilter>
                   <action>
-                    <ignore />
+                    <ignore/>
                   </action>
                 </pluginExecution>
                 <pluginExecution>
@@ -135,7 +135,7 @@
                     </goals>
                   </pluginExecutionFilter>
                   <action>
-                    <ignore />
+                    <ignore/>
                   </action>
                 </pluginExecution>
               </pluginExecutions>
diff --git a/apache-rat-tasks/pom.xml b/apache-rat-tasks/pom.xml
index 8a90a0fd..35d00354 100644
--- a/apache-rat-tasks/pom.xml
+++ b/apache-rat-tasks/pom.xml
@@ -198,18 +198,18 @@
               <skip>${skipTests}</skip>
               <target>
                 <ant antfile="src/test/resources/antunit/report-bad-configurations.xml" inheritAll="false" inheritRefs="false">
-                  <property name="jar.name" location="${project.build.outputDirectory}" />
-                  <property name="base.dir" location="${basedir}" />
-                  <property name="antunit.jar.name" location="${project.build.directory}/dependencies/ant-antunit.jar" />
-                  <property name="test.skipped" value="${skipTests}" />
-                  <property name="test.classpath" refid="maven.test.classpath" />
+                  <property name="jar.name" location="${project.build.outputDirectory}"/>
+                  <property name="base.dir" location="${basedir}"/>
+                  <property name="antunit.jar.name" location="${project.build.directory}/dependencies/ant-antunit.jar"/>
+                  <property name="test.skipped" value="${skipTests}"/>
+                  <property name="test.classpath" refid="maven.test.classpath"/>
                 </ant>
                 <ant antfile="src/test/resources/antunit/report-normal-operation.xml" inheritAll="false" inheritRefs="false">
-                  <property name="jar.name" location="${project.build.outputDirectory}" />
-                  <property name="base.dir" location="${basedir}" />
-                  <property name="antunit.jar.name" location="${project.build.directory}/dependencies/ant-antunit.jar" />
-                  <property name="test.skipped" value="${maven.test.skip}" />
-                  <property name="test.classpath" refid="maven.test.classpath" />
+                  <property name="jar.name" location="${project.build.outputDirectory}"/>
+                  <property name="base.dir" location="${basedir}"/>
+                  <property name="antunit.jar.name" location="${project.build.directory}/dependencies/ant-antunit.jar"/>
+                  <property name="test.skipped" value="${maven.test.skip}"/>
+                  <property name="test.classpath" refid="maven.test.classpath"/>
                 </ant>
               </target>
             </configuration>
@@ -291,7 +291,7 @@
                     </goals>
                   </pluginExecutionFilter>
                   <action>
-                    <ignore />
+                    <ignore/>
                   </action>
                 </pluginExecution>
                 <pluginExecution>
@@ -304,7 +304,7 @@
                     </goals>
                   </pluginExecutionFilter>
                   <action>
-                    <ignore />
+                    <ignore/>
                   </action>
                 </pluginExecution>
               </pluginExecutions>
diff --git a/apache-rat/pom.xml b/apache-rat/pom.xml
index 36fccdc5..bcf8b1e2 100644
--- a/apache-rat/pom.xml
+++ b/apache-rat/pom.xml
@@ -369,7 +369,7 @@
                     </goals>
                   </pluginExecutionFilter>
                   <action>
-                    <ignore />
+                    <ignore/>
                   </action>
                 </pluginExecution>
               </pluginExecutions>
diff --git a/pom.xml b/pom.xml
index 253189e0..d1f28b93 100644
--- a/pom.xml
+++ b/pom.xml
@@ -699,7 +699,7 @@ agnostic home for software distribution comprehension and audit tools.
                     </goals>
                   </pluginExecutionFilter>
                   <action>
-                    <ignore />
+                    <ignore/>
                   </action>
                 </pluginExecution>
               </pluginExecutions>
@@ -786,7 +786,7 @@ agnostic home for software distribution comprehension and audit tools.
             </goals>
             <configuration>
               <target>
-                <copy file="RELEASE_NOTES.txt" todir="${project.build.directory}/site/" failonerror="false" />
+                <copy file="RELEASE_NOTES.txt" todir="${project.build.directory}/site/" failonerror="false"/>
               </target>
             </configuration>
           </execution>
@@ -805,7 +805,7 @@ agnostic home for software distribution comprehension and audit tools.
             <configuration>
               <skip>true</skip>
               <rules>
-                <NoPackageCyclesRule implementation="org.apache.axiom.buildutils.enforcer.NoPackageCyclesEnforcerRule" />
+                <NoPackageCyclesRule implementation="org.apache.axiom.buildutils.enforcer.NoPackageCyclesEnforcerRule"/>
               </rules>
             </configuration>
           </execution>
@@ -1097,6 +1097,27 @@ agnostic home for software distribution comprehension and audit tools.
               </execution>
             </executions>
           </plugin>
+          <!-- calculate checksums of source release for Apache dist area -->
+          <plugin>
+            <groupId>net.nicoulaj.maven.plugins</groupId>
+            <artifactId>checksum-maven-plugin</artifactId>
+            <version>1.11</version>
+            <executions>
+              <execution>
+                <id>source-release-checksum</id>
+                <goals>
+                  <goal>artifacts</goal>
+                </goals>
+                <configuration>
+                  <includeClassifiers>bin,src</includeClassifiers>
+                  <algorithms>
+                    <algorithm>SHA-256</algorithm>
+                    <algorithm>SHA-512</algorithm>
+                  </algorithms>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
         </plugins>
       </build>
     </profile>