You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opennlp.apache.org by jo...@apache.org on 2011/03/01 13:32:47 UTC
svn commit: r1075793 - /incubator/opennlp/trunk/opennlp-distr/pom.xml
Author: joern
Date: Tue Mar 1 12:32:47 2011
New Revision: 1075793
URL: http://svn.apache.org/viewvc?rev=1075793&view=rev
Log:
OPENNLP-135 Added ant task to generate hash files
Modified:
incubator/opennlp/trunk/opennlp-distr/pom.xml
Modified: incubator/opennlp/trunk/opennlp-distr/pom.xml
URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-distr/pom.xml?rev=1075793&r1=1075792&r2=1075793&view=diff
==============================================================================
--- incubator/opennlp/trunk/opennlp-distr/pom.xml (original)
+++ incubator/opennlp/trunk/opennlp-distr/pom.xml Tue Mar 1 12:32:47 2011
@@ -77,6 +77,33 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>1.6</version>
+ <executions>
+ <execution>
+ <id>generate checksums for binary artifacts</id>
+ <goals><goal>run</goal></goals>
+ <phase>verify</phase>
+ <configuration>
+ <target>
+ <checksum algorithm="sha1" format="MD5SUM">
+ <fileset dir="${project.build.directory}">
+ <include name="*.zip" />
+ <include name="*.gz" />
+ </fileset>
+ </checksum>
+ <checksum algorithm="md5" format="MD5SUM">
+ <fileset dir="${project.build.directory}">
+ <include name="*.zip" />
+ <include name="*.gz" />
+ </fileset>
+ </checksum>
+ </target>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>