Open patrickfav opened 7 years ago
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.
Hi bondolo, Thanks for the quick reply. How about generating multiple summary files then? Otherwise the algorithm config is kind of confusing.
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#algorithms