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/26 19:14:35 UTC

(jackrabbit-filevault-package-maven-plugin) branch feature/remove-checksum-generation-with-ant created (now 279fb73)

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

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


      at 279fb73  JCRVLT-742 Stop generating checksum files with Ant

This branch includes the following new commits:

     new 279fb73  JCRVLT-742 Stop generating checksum files with Ant

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.



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

Posted by kw...@apache.org.
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-package-maven-plugin.git

commit 279fb739ca68b7f611a70229dfe7eae603c01462
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Fri Jan 26 20:14:31 2024 +0100

    JCRVLT-742 Stop generating checksum files with Ant
---
 pom.xml | 19 +++----------------
 1 file changed, 3 insertions(+), 16 deletions(-)

diff --git a/pom.xml b/pom.xml
index a42abd7..049ee12 100644
--- a/pom.xml
+++ b/pom.xml
@@ -738,25 +738,12 @@
                                         <copy todir="${basedir}/target/${project.version}" flatten="true">
                                             <fileset dir="${basedir}">
                                                 <include name="RELEASE-NOTES.md" />
+                                                <!-- this includes the SHA512 checksum being generated by ASF parent -->
                                                 <include name="target/*-source-release.zip*" />
                                             </fileset>
                                         </copy>
-                                        <checksum algorithm="MD5" fileext=".md5">
-                                            <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>
-                                        <checksum algorithm="SHA" fileext=".sha1">
-                                            <fileset dir="${basedir}/target/${project.version}">
-                                                <include name="*.zip" />
-                                            </fileset>
-                                        </checksum>
-                                        <checksum file="${basedir}/target/${project.version}/filevault-package-maven-plugin-${project.version}-source-release.zip" algorithm="SHA1" property="checksum" />
+                                        <!-- in check-release.sh we check against the SHA1, we need it in the Maven property, the file can be disregarded -->
+                                        <checksum file="${basedir}/target/${project.artifactId}-${project.version}-source-release.zip" algorithm="SHA1" property="checksum" />
                                         <echo file="${basedir}/target/vote.txt"><![CDATA[
 From: ${username}@apache.org
 To: dev@jackrabbit.apache.org