Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
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>