You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tamaya.apache.org by an...@apache.org on 2019/09/12 08:33:26 UTC

[incubator-tamaya-extensions] 02/02: TAMAYA-408 Added sha1/md5 checksum generation to dist projects.

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

anatole pushed a commit to branch 0.4-incubating-vote-RC4
in repository https://gitbox.apache.org/repos/asf/incubator-tamaya-extensions.git

commit 0b461a9ec8408b2831ab3ebce0f65fe18a1c728e
Author: Anatole Tresch <at...@gmail.com>
AuthorDate: Thu Sep 12 10:31:59 2019 +0200

    TAMAYA-408 Added sha1/md5 checksum generation to dist projects.
---
 distribution/pom.xml | 22 +++++++++++++++++++++-
 1 file changed, 21 insertions(+), 1 deletion(-)

diff --git a/distribution/pom.xml b/distribution/pom.xml
index 975620b..8e67fe8 100644
--- a/distribution/pom.xml
+++ b/distribution/pom.xml
@@ -94,7 +94,27 @@ under the License.
             </activation>
             <build>
                 <plugins>
-
+                    <plugin>
+                        <groupId>net.nicoulaj.maven.plugins</groupId>
+                        <artifactId>checksum-maven-plugin</artifactId>
+                        <version>1.8</version>
+                        <executions>
+                            <execution>
+                                <goals>
+                                    <goal>artifacts</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                        <configuration>
+                            <individualFiles>true</individualFiles>
+                            <attachChecksums>true</attachChecksums>
+                            <failOnError>false</failOnError>
+                            <algorithms>
+                                <algorithm>MD5</algorithm>
+                                <algorithm>SHA-1</algorithm>
+                            </algorithms>
+                        </configuration>
+                    </plugin>
                 </plugins>
             </build>
         </profile>