Uploaded image for project: 'OpenNLP'
  1. OpenNLP
  2. OPENNLP-135

MD5 and SHA1 hash files should be automatically generated for the distribution artifacts

    XMLWordPrintableJSON

Details

    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>

      Attachments

        Activity

          People

            joern Jörn Kottmann
            joern Jörn Kottmann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: