I am sure that there is a better solution, but I don't know it yet ;-)

Have a look at https://www.mojohaus.org/build-helper-maven-plugin/attach-artifact-mojo.html

Oliver

Am 22.01.21 um 16:11 schrieb Petr Ivanov:
Hi all!


Struggling to configure maven-gpg-plugin to generate sha512 has sum to deployed 
artifacts alongside with asc.
Current config does not work:

             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-gpg-plugin</artifactId>
                 <version>3.0.0</version>
                 <configuration>
                     <gpgArguments>
                         <arg>--no-permission-warning</arg>
                         <arg>--digest-algo=SHA512</arg>
                     </gpgArguments>
                 </configuration>
                 <executions>
                     <execution>
                         <id>sign-artifacts</id>
                         <phase>verify</phase>
                         <goals>
                             <goal>sign</goal>
                         </goals>
                     </execution>
                 </executions>
             </plugin>


Documentation is predictably empty.

The final goal — sha512 hash sums for deployed artifacts with deploy goal.


Does anyone know how can this be achieved?
Thanks in advance!
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

--
N Oliver B. Fischer
A Schönhauser Allee 64, 10437 Berlin, Deutschland/Germany
P +49 30 44793251
M +49 178 7903538
E [email protected]
S oliver.b.fischer
J [email protected]
X http://xing.to/obf


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to