MD5 and SHA1 hash files should be automatically generated for the distribution
artifacts
----------------------------------------------------------------------------------------
Key: OPENNLP-135
URL: https://issues.apache.org/jira/browse/OPENNLP-135
Project: OpenNLP
Issue Type: Improvement
Components: Build, Packaging and Test
Reporter: Jörn Kottmann
Assignee: Jörn Kottmann
The maven build should automatically generate the md5 and sha1 checksum files
for the source and binary distribution files.
The following addition to the opennlp-distr/pom will do that:
<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>
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira