You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I add multiple algorithms in the pom plugin config the build fails with:
Failed to execute goal net.nicoulaj.maven.plugins:checksum-maven-plugin:1.5:artifacts (default-cli) on project uber-apk-signer: Must use only one type of hash
The text was updated successfully, but these errors were encountered:
patrickfav
changed the title
When providing multiple algorithms, checksum:artifacts fails
When providing multiple algorithms, checksum:artifacts fails when using summary
May 26, 2017
The intention of the summary file is to produce a file compatible with the *nix shasum file format. This file format does not support multiple algorithms so unfortunately neither can the checksum plugin. Your solution is to use multiple executions each with a single algorithm and a different ouput file.
That is a possibility but you could do what we do which is to have multiple executions, one for each desired hash type. The per-execution configuration is just the algorithm and filename.
When I add multiple algorithms in the pom plugin config the build fails with:
when using:
My config is:
It seems when not using summary, this works.
Full project: https://github.com/patrickfav/uber-apk-signer
btw. the doc lacks correct closing tags with
<algorithm>...</algorithm>
here https://checksum-maven-plugin.nicoulaj.net/artifacts-mojo.html#algorithmsThe text was updated successfully, but these errors were encountered: