I have a set of tar files. I wanted to create MD5 checksum for those files using Maven. How to do it?
i created this tar files using maven-assembly-plugin.
The Creating artifact checksums told us as
The Install Plugin can create integrity checksums (MD5, SHA-1) for the artifacts during installation.
mvn install -DcreateChecksum=true
To generate the checksum for other file the checksum-maven-plugin may help. It provides the checksum:file as the following usage: -
mvn checksum:file -Dfile=some-file.zip
It also provides the custom checksum algorithms , e.g. MD5, SHA-1, SHA-256 and so on.