Other question, why not change the defaults to include at least one less 
challenged checksum?


--
http://bernd.eckenfels.net
________________________________
Von: Michael Osipov <micha...@apache.org>
Gesendet: Sunday, March 14, 2021 9:46:55 PM
An: users@maven.apache.org <users@maven.apache.org>
Betreff: Re: maven-gpg-plugin SHA512

Am 2021-03-11 um 17:25 schrieb Andreas Sewe:
> Andreas Sewe wrote:
>> Michael Osipov wrote:
>>>> Michael Osipov wrote:
>>>>> Don't waste your time. Read [1]: aether.checksums.algorithms
>>>>>
>>>>> [1] https://maven.apache.org/resolver/configuration.html
>>>>
>>>> Thank you for the pointer. Just found this post when searching for a way
>>>> to create .sha256 and .sha512 files during a "mvn deploy" but can't get
>>>> it to work:
>>>>
>>>>    mvn deploy -Daether.checksums.algorithms=SHA-512,SHA-256,SHA1,MD5
>>>>
>>>> The above still only created .sha1 and .md5 files in my staging
>>>> repository. What am I doing wrong?
>>>
>>> You need to update the bundled Maven Resolver version and it will work.
>>> Mark Thomas is already using it with Maven Resolver Ant Tasks to push
>>> Tomcat releases.
>>
>> Thanks Michael. That works like a charm.
>
> Alas, I spoke too soon. It works on the command line, but I can't make
> it an permanent part of my parent POM:
>
>    <properties>
>
> <aether.checksums.algorithms>SHA-512,SHA-256,SHA-1,MD5</aether.checksums.algorithms>
>    </properties>

This will not work. I do recommend to use
https://maven.apache.org/maven-release/maven-release-plugin/prepare-mojo.html#arguments

Please try and tell...

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to