[ 
https://issues.apache.org/jira/browse/OPENNLP-135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jörn Kottmann closed OPENNLP-135.
---------------------------------

       Resolution: Fixed
    Fix Version/s: tools-1.5.1-incubating

> 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
>             Fix For: tools-1.5.1-incubating
>
>
> 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


Reply via email to