[maven-release-plugin] copy for tag commons-jcs-2.2.1-RC4
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/jcs/tags/commons-jcs-2.2.1-RC4@1838700 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/commons-jcs-dist/pom.xml b/commons-jcs-dist/pom.xml
index 49f9715..ea65d4a 100644
--- a/commons-jcs-dist/pom.xml
+++ b/commons-jcs-dist/pom.xml
@@ -100,6 +100,38 @@
</execution>
</executions>
</plugin>
+ <!-- calculate checksums of release artifacts for Apache dist area -->
+ <plugin>
+ <groupId>net.nicoulaj.maven.plugins</groupId>
+ <artifactId>checksum-maven-plugin</artifactId>
+ <version>1.7</version>
+ <executions>
+ <execution>
+ <id>generate.checksums</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>files</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <algorithms>
+ <algorithm>SHA-512</algorithm>
+ </algorithms>
+ <csvSummary>false</csvSummary>
+ <fileSets>
+ <fileSet>
+ <directory>${project.build.directory}</directory>
+ <includes>
+ <include>${project.artifactId}-${project.version}-src.zip</include>
+ <include>${project.artifactId}-${project.version}-src.tar.gz</include>
+ <include>${project.artifactId}-${project.version}-bin.zip</include>
+ <include>${project.artifactId}-${project.version}-bin.tar.gz</include>
+ </includes>
+ </fileSet>
+ </fileSets>
+ </configuration>
+ </plugin>
</plugins>
</build>
</profile>
diff --git a/pom.xml b/pom.xml
index 77344b7..3580ec2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -21,7 +21,7 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-parent</artifactId>
- <version>46</version>
+ <version>47</version>
</parent>
<artifactId>commons-jcs</artifactId>
@@ -276,33 +276,6 @@
<skipIfEmpty>true</skipIfEmpty>
</configuration>
</plugin>
- <!-- Disable generation of MD5 and SHA-1 checksum files -->
- <plugin>
- <artifactId>maven-install-plugin</artifactId>
- <configuration>
- <createChecksum>false</createChecksum>
- </configuration>
- </plugin>
- <plugin>
- <groupId>net.nicoulaj.maven.plugins</groupId>
- <artifactId>checksum-maven-plugin</artifactId>
- <version>1.7</version>
- <executions>
- <execution>
- <id>generate.checksums</id>
- <phase>verify</phase>
- <goals>
- <goal>artifacts</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <attachChecksums>true</attachChecksums>
- <algorithms>
- <algorithm>SHA-512</algorithm>
- </algorithms>
- </configuration>
- </plugin>
</plugins>
</build>