Integrated: Added gpg plugin and steps for release

Jiří Vaněk jvanek at openjdk.java.net
Thu Jun 10 16:13:18 UTC 2021


On Wed, 9 Jun 2021 12:03:54 GMT, Jiří Vaněk <jvanek at openjdk.org> wrote:

> Usually the maven release plugin or gpg release plugin are working with direct access to repo - push change of versions, tag, do release, and again bump versions for next development cycle. As for asmtools, the maven is just secondary, unsupported release medium so I had opted for upload of locally finished binaries. Thus the manual ```mvn clean verify gpg:sign install:install deploy:deploy -DaltDeploymentRepository=ossrh::default::https://oss.sonatype.org/service/local/staging/deploy/maven2/ ```  command in pom comment. 
> This may not be best, but for now it is the only way I found to upload locally created binaries. But I must admit, I'm not 100% sure in maven reelase or gpg plugins. During the next releases, maybe I will find something better.
> 
> As the PR is now, the asmtools artifacts are uploaded in staging maven central: https://oss.sonatype.org/content/repositories/orgopenjdkasmtools-1002/org/openjdk/asmtools/asmtools-core/
> 
> I had tested it and it works as expected (https://github.com/pmikova/java-runtime-decompiler/commit/d8b5a03759b9e8dfe584b0052778ff590ba6e82b).
> 
> One offtopic question  - the {slash}integrate and/or {slash}sponsor is autoamtically squashing commits?

This pull request has now been integrated.

Changeset: f40a2c01
Author:    Jiří Vaněk <jvanek at openjdk.org>
Committer: Leonid Kuskov <lkuskov at openjdk.org>
URL:       https://git.openjdk.java.net/asmtools/commit/f40a2c014cfd32eb6cc1e1c6c4264a0411fe0415
Stats:     76 lines in 1 file changed: 72 ins; 3 del; 1 mod

Added gpg plugin and steps for release

-------------

PR: https://git.openjdk.java.net/asmtools/pull/20


More information about the asmtools-dev mailing list