You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by re...@apache.org on 2018/10/02 11:20:00 UTC
svn commit: r1842612 - /uima/build/trunk/parent-pom/pom.xml
Author: rec
Date: Tue Oct 2 11:20:00 2018
New Revision: 1842612
URL: http://svn.apache.org/viewvc?rev=1842612&view=rev
Log:
[UIMA-5856] Use modern checksum algorithms during release
- Use the checksum plugin to generate SHA-512 files for all artifacts and attach them to the build
Modified:
uima/build/trunk/parent-pom/pom.xml
Modified: uima/build/trunk/parent-pom/pom.xml
URL: http://svn.apache.org/viewvc/uima/build/trunk/parent-pom/pom.xml?rev=1842612&r1=1842611&r2=1842612&view=diff
==============================================================================
--- uima/build/trunk/parent-pom/pom.xml (original)
+++ uima/build/trunk/parent-pom/pom.xml Tue Oct 2 11:20:00 2018
@@ -317,12 +317,17 @@ Copyright (c) 2003, 2006 IBM Corporation
<artifactId>maven-resources-plugin</artifactId>
<artifactId>maven-dependency-plugin</artifactId><version>3.0.2</version> see https://issues.apache.org/jira/browse/UIMA-2963
<artifactId>maven-enforcer-plugin</artifactId>
- <artifactId>maven-javadoc-plugin</artifactId>
<artifactId>apache-rat-plugin</artifactId>
<artifactId>maven-remote-resources-plugin</artifactId>
-
- -->
-
+ -->
+
+ <plugin>
+ <groupId>net.nicoulaj.maven.plugins</groupId>
+ <artifactId>checksum-maven-plugin</artifactId>
+ <version>1.8</version>
+ <!-- Cannot use 1.7 used by ASF parent pom because of https://github.com/nicoulaj/checksum-maven-plugin/issues/62 -->
+ </plugin>
+
<!-- assembly plugin
Disable running assembly:assembly with
warning message to use install instead -->
@@ -595,7 +600,28 @@ Copyright (c) 2003, 2006 IBM Corporation
</pluginManagement>
<plugins>
-
+ <plugin>
+ <groupId>net.nicoulaj.maven.plugins</groupId>
+ <artifactId>checksum-maven-plugin</artifactId>
+ <version>1.8</version>
+ <!-- Cannot use 1.7 used by ASF parent pom because of https://github.com/nicoulaj/checksum-maven-plugin/issues/62 -->
+ <executions>
+ <execution>
+ <id>artifacts-checksum</id>
+ <goals>
+ <goal>artifacts</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <algorithms>
+ <algorithm>SHA-512</algorithm>
+ </algorithms>
+ <appendFilename>true</appendFilename>
+ <attachChecksums>true</attachChecksums>
+ </configuration>
+ </plugin>
+
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>