You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by kw...@apache.org on 2024/01/23 10:40:31 UTC

(jackrabbit-filevault) 01/01: JCRVLT-742 Stop generating checksum files with Ant

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

kwin pushed a commit to branch feature/remove-checksum-generation-with-ant
in repository https://gitbox.apache.org/repos/asf/jackrabbit-filevault.git

commit 7c0dd3877981d25866c000a2cca61271e9d1931e
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Tue Jan 23 11:40:24 2024 +0100

    JCRVLT-742 Stop generating checksum files with Ant
    
    The only relevant checksum (SHA512) is generated through ASF parent
    The additional SHA1 is only used in the vote template for the
    check-release.sh
---
 pom.xml | 17 ++---------------
 1 file changed, 2 insertions(+), 15 deletions(-)

diff --git a/pom.xml b/pom.xml
index e078253c..79e24694 100644
--- a/pom.xml
+++ b/pom.xml
@@ -319,24 +319,11 @@
                                         <copy todir="${basedir}/target/${project.version}" flatten="true">
                                             <fileset dir="${basedir}">
                                                 <include name="RELEASE-NOTES.txt" />
+                                                <!-- this includes the SHA512 checksum being generated by ASF parent -->
                                                 <include name="target/*-src.zip*" />
                                             </fileset>
                                         </copy>
-                                        <checksum algorithm="MD5" fileext=".md5">
-                                            <fileset dir="${basedir}/target/${project.version}">
-                                                <include name="*.zip" />
-                                            </fileset>
-                                        </checksum>
-                                        <checksum algorithm="SHA1" fileext=".sha1">
-                                            <fileset dir="${basedir}/target/${project.version}">
-                                                <include name="*.zip" />
-                                            </fileset>
-                                        </checksum>
-                                        <checksum algorithm="SHA-512" fileext=".sha512">
-                                            <fileset dir="${basedir}/target/${project.version}">
-                                                <include name="*.zip" />
-                                            </fileset>
-                                        </checksum>
+                                        <!-- in check-release.sh we check against the SHA1 -->
                                         <checksum file="${basedir}/target/${project.version}/jackrabbit-filevault-${project.version}-src.zip" algorithm="SHA1" property="checksum" />
                                         <echo file="${basedir}/target/vote.txt"><![CDATA[
 From: ${username}@apache.org