Fork me on GitHub

Plugin Documentation

Goals available for this plugin:

Goal Description
checksum:artifacts Compute project artifacts checksum digests and store them in individual files and/or a summary file.
checksum:check checks the summary file (csv) against the project dependencies.
checksum:dependencies Compute project dependencies checksum digests and store them in a summary file.
checksum:file Compute specified file checksum digest for all supported checksum algorithms.

This goal is a facility for invoking checksum-maven-plugin through the command line.

Here is an example of use:

mvn checksum:file -Dfile=some-file.zip
checksum:files Compute specified files checksum digests and store them in individual files and/or a summary file. The files are not filtered.
checksum:help Display help information on checksum-maven-plugin.
Call mvn checksum:help -Ddetail=true -Dgoal=<goal-name> to display parameter details.

System Requirements

The following specifies the minimum requirements to run this Maven plugin:

Maven 3.0.4
JDK 1.6
Memory No minimum requirement.
Disk Space No minimum requirement.

Usage

You should specify the version in your project's plugin configuration:

<project>
  ...
  <build>
    <!-- To define the plugin version in your parent POM -->
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>net.nicoulaj.maven.plugins</groupId>
          <artifactId>checksum-maven-plugin</artifactId>
          <version>1.8</version>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>net.nicoulaj.maven.plugins</groupId>
        <artifactId>checksum-maven-plugin</artifactId>
        <version>1.8</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

For more information, see "Guide to Configuring Plug-ins"