From 57be8e7fc10228549d78980eba7b18ceeee5b157 Mon Sep 17 00:00:00 2001 From: Hirotaka Wakabayashi Date: Fri, 15 Nov 2024 16:07:45 +0900 Subject: [PATCH 1/3] Fix the version --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 256e3e6..1511300 100644 --- a/pom.xml +++ b/pom.xml @@ -244,7 +244,7 @@ org.apache.maven.plugins maven-release-plugin - ${maven-source-plugin.version} + ${maven-release-plugin.version} @{project.version} From 07ef7cb2eb3ec847bb0025c7d94f0a553eb230f7 Mon Sep 17 00:00:00 2001 From: Hirotaka Wakabayashi Date: Fri, 15 Nov 2024 17:00:43 +0900 Subject: [PATCH 2/3] Migrate ossrh to central --- .github/workflows/main.yml | 2 +- k2hash/pom.xml | 8 -------- pom.xml | 27 +++++++++------------------ 3 files changed, 10 insertions(+), 27 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4aec57c..d122452 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -87,7 +87,7 @@ jobs: with: # running setup-java again overwrites the settings.xml distribution: 'zulu' java-version: ${{ matrix.java }} - server-id: ossrh # Value of the distributionManagement/repository/id field of the pom.xml + server-id: central # Value of the distributionManagement/repository/id field of the pom.xml server-username: MAVEN_USERNAME # env variable for username in deploy server-password: MAVEN_CENTRAL_TOKEN # env variable for token in deploy gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import diff --git a/k2hash/pom.xml b/k2hash/pom.xml index 375c92c..26f6605 100644 --- a/k2hash/pom.xml +++ b/k2hash/pom.xml @@ -24,14 +24,6 @@ https://github.com/yahoojapan/k2hash_java - - - ossrh - Central Repository OSSRH - https://oss.sonatype.org/service/local/staging/deploy/maven2/ - - - diff --git a/pom.xml b/pom.xml index 1511300..45ba458 100644 --- a/pom.xml +++ b/pom.xml @@ -42,14 +42,6 @@ https://github.com/yahoojapan/k2hash_java - - - ossrh - Central Repository OSSRH - https://oss.sonatype.org/service/local/staging/deploy/maven2/ - - - @@ -99,6 +91,7 @@ checkstyle.xml 1.7.0 3.1.1 + 0.6.0 @@ -229,17 +222,15 @@ - - org.sonatype.plugins - nexus-staging-maven-plugin - ${nexus-staging-maven-plugin.version} - true - - ossrh - https://s01.oss.sonatype.org - true - + org.sonatype.central + central-publishing-maven-plugin + ${central-publishing-maven-plugin.version} + true + + central + true + org.apache.maven.plugins From 04c133c9cf4d0ab48d590c397b489c221ef30f64 Mon Sep 17 00:00:00 2001 From: Hirotaka Wakabayashi Date: Fri, 15 Nov 2024 17:46:30 +0900 Subject: [PATCH 3/3] Removes unused settings --- k2hash/pom.xml | 1 - pom.xml | 1 - 2 files changed, 2 deletions(-) diff --git a/k2hash/pom.xml b/k2hash/pom.xml index 26f6605..9f9f07e 100644 --- a/k2hash/pom.xml +++ b/k2hash/pom.xml @@ -131,7 +131,6 @@ --pinentry-mode loopback - hiwkby@yahoo.com diff --git a/pom.xml b/pom.xml index 45ba458..a4add23 100644 --- a/pom.xml +++ b/pom.xml @@ -284,7 +284,6 @@ --pinentry-mode loopback - hiwkby@yahoo.com