RFR: Added gpg plugin and steps for release
Leonid Kuskov
lkuskov at openjdk.java.net
Wed Jun 9 18:24:19 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?
Looks good. I'll be a sponsor for your integration. The OpenJDK repos were initialized with options:
Setting Options: Merge button → Only allow squash merging
Settings General Merge Request: Squash commits when merging → Encourage
-------------
PR: https://git.openjdk.java.net/asmtools/pull/20
More information about the asmtools-dev
mailing list