From 76b295c61d22c2ad51c663c6487f0cfbb304b795 Mon Sep 17 00:00:00 2001 From: Hirotaka Wakabayashi Date: Fri, 15 Nov 2024 13:53:51 +0900 Subject: [PATCH] Update version --- .github/workflows/main.yml | 15 +++++++- ChangeLog | 7 ++++ k2hash/pom.xml | 5 ++- pom.xml | 72 +++++++++++++++++++++++++++++++++----- 4 files changed, 86 insertions(+), 13 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 30c858e..4aec57c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -33,7 +33,14 @@ jobs: with: distribution: 'zulu' java-version: ${{ matrix.java }} - + - name: Configure GPG Key + run: | + export GPG_TTY=$(tty) + echo -n "$GPG_SIGNING_KEY" | gpg --import --batch + env: + GPG_SIGNING_KEY: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} + - name: List of keys on gpg + run: gpg --list-secret-keys --keyid-format LONG - name: Set environments run: | echo "COMMON_MAVEN_OPTS=-Dmaven.compiler.failOnWarning=true -Dmaven.compiler.showDeprecation=true -Dmaven.compiler.verbose=true -Dmaven.compiler.debuglevel=lines,vars,source" >> "$GITHUB_ENV" @@ -52,11 +59,17 @@ jobs: if: "matrix.java == '8'" run: | mvn ${{ env.COMMON_MAVEN_OPTS }} -Dmaven.compiler.target=8 package + env: + MAVEN_CENTRAL_TOKEN: ${{ secrets.OSSRH_PASSWORD }} + MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }} - name: Run package on version other than 8 if: "matrix.java != '8'" run: | mvn ${{ env.COMMON_MAVEN_OPTS }} -Dmaven.compiler.target=${{ matrix.java }} -Dmaven.compiler.source=${{ matrix.java }} -Dmaven.compiler.release=${{ matrix.java }} package + env: + MAVEN_CENTRAL_TOKEN: ${{ secrets.OSSRH_PASSWORD }} + MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }} - name: Run javadoc run: | diff --git a/ChangeLog b/ChangeLog index b4aa8c6..11deb51 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +k2hash-java (1.0.7) stable; urgency=low + + * Maven Central Repository migration + * Update document + + -- Hirotaka Wakabayashi Thu, 30 Nov 2023 13:57:40 +0900 + k2hash-java (1.0.6) stable; urgency=low * Updated the SonaType configurations diff --git a/k2hash/pom.xml b/k2hash/pom.xml index a158124..5f0f23b 100644 --- a/k2hash/pom.xml +++ b/k2hash/pom.xml @@ -7,12 +7,12 @@ ax.antpick k2hash-parent - 1.0.6 + 1.0.7 k2hash jar - 1.0.6 + 1.0.7 k2hash library An official java driver for k2hash, which is a highly available and scalable distributed KVS library. @@ -139,7 +139,6 @@ --pinentry-mode loopback - hiwkby@yahoo.com diff --git a/pom.xml b/pom.xml index f946b06..a502019 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ pom k2hash-parent k2hash - 1.0.6 + 1.0.7 An official java driver for k2hash, which is a highly available and scalable distributed KVS library. https://github.com/yahoojapan/k2hash_java @@ -82,21 +82,23 @@ 3.29.2-GA 3.6.0 3.3.0 - 3.11.0 + 3.12.1 - 3.1.0 - 3.6.0 + 3.2.7 + 3.6.3 3.4.5 - 4.0.0-M9 - 3.3.0 + 4.0.0-M14 + 3.3.1 3.1.2 3.1.2 3.1.0 - 2.16.0 + 2.16.2 0.12 3.6.1 5.10.0 checkstyle.xml + 1.7.0 + 3.1.1 @@ -174,7 +176,13 @@ site - site + + site-deploy + + github + Building site for my project + true + @@ -221,6 +229,53 @@ + + + org.sonatype.plugins + nexus-staging-maven-plugin + ${nexus-staging-maven-plugin.version} + true + + ossrh + https://s01.oss.sonatype.org + true + + + + org.apache.maven.plugins + maven-release-plugin + ${maven-source-plugin.version} + + @{project.version} + + + + default + + perform + + + + + + org.apache.maven.plugins + maven-gpg-plugin + + + sign-artifacts + verify + + sign + + + + --pinentry-mode + loopback + + + + + org.apache.maven.plugins maven-gpg-plugin @@ -238,7 +293,6 @@ --pinentry-mode loopback - hiwkby@yahoo.com