training-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cd...@apache.org
Subject [incubator-training] branch develop updated: - Make the checksum plugin create the checksum for our changed output file names
Date Wed, 09 Sep 2020 14:15:42 GMT
This is an automated email from the ASF dual-hosted git repository.

cdutz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-training.git


The following commit(s) were added to refs/heads/develop by this push:
     new d91727c  - Make the checksum plugin create the checksum for our changed output file
names
d91727c is described below

commit d91727cda540964ae976a7abb8ae54d3f772541c
Author: Christofer Dutz <christofer.dutz@c-ware.de>
AuthorDate: Wed Sep 9 16:15:23 2020 +0200

    - Make the checksum plugin create the checksum for our changed output file names
---
 tools/pom.xml | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/tools/pom.xml b/tools/pom.xml
index 0985201..c14e25a 100644
--- a/tools/pom.xml
+++ b/tools/pom.xml
@@ -95,6 +95,28 @@
             <finalName>apache-training-incubating-tools-${project.version}</finalName>
           </configuration>
         </plugin>
+        <!--
+          As we renamed the default output name in the plugin above, we also
+          have to tell the checksum plugin where the new file is
+        -->
+        <plugin>
+          <groupId>net.nicoulaj.maven.plugins</groupId>
+          <artifactId>checksum-maven-plugin</artifactId>
+          <configuration>
+            <algorithms>
+              <algorithm>SHA-512</algorithm>
+            </algorithms>
+            <csvSummary>false</csvSummary>
+            <fileSets>
+              <fileSet>
+                <directory>${project.build.directory}</directory>
+                <includes>
+                  <include>apache-training-incubating-tools-${project.version}-source-release.zip</include>
+                </includes>
+              </fileSet>
+            </fileSets>
+          </configuration>
+        </plugin>
       </plugins>
     </pluginManagement>
   </build>


Mime
View raw message