You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by cd...@apache.org on 2020/03/29 13:10:50 UTC

[plc4x-build-tools] branch develop updated: - Added the sha512 genration to the release build

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/plc4x-build-tools.git


The following commit(s) were added to refs/heads/develop by this push:
     new 28c557a  - Added the sha512 genration to the release build
28c557a is described below

commit 28c557aa77357c1d45f9703225d206c52bdd5a78
Author: Christofer Dutz <ch...@c-ware.de>
AuthorDate: Sun Mar 29 15:10:42 2020 +0200

    - Added the sha512 genration to the release build
---
 plc4x-site-skin/pom.xml | 42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/plc4x-site-skin/pom.xml b/plc4x-site-skin/pom.xml
index 749697b..1496f0c 100644
--- a/plc4x-site-skin/pom.xml
+++ b/plc4x-site-skin/pom.xml
@@ -356,5 +356,47 @@
         </plugins>
       </build>
     </profile>
+
+    <!--
+      This profile extends the default "apache-release" configuration with automatic checksum-
+      generation for the release source artifact. It is automatically activated during the
+      release build and only needed there.
+    -->
+    <profile>
+      <id>apache-release</id>
+      <build>
+        <plugins>
+          <!--
+            Create MD5 and SHA512 checksum files for the release artifacts.
+          -->
+          <plugin>
+            <groupId>net.nicoulaj.maven.plugins</groupId>
+            <artifactId>checksum-maven-plugin</artifactId>
+            <version>1.8</version>
+            <executions>
+              <execution>
+                <goals>
+                  <goal>files</goal>
+                </goals>
+              </execution>
+            </executions>
+            <configuration>
+              <algorithms>
+                <algorithm>SHA-512</algorithm>
+              </algorithms>
+              <fileSets>
+                <fileSet>
+                  <directory>${project.build.directory}</directory>
+                  <includes>
+                    <include>apache-plc4x-site-skin-${project.version}-source-release.zip</include>
+                  </includes>
+                </fileSet>
+              </fileSets>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
   </profiles>
+
 </project>