diff --git a/.github/workflows/build_deploy_java_language_bindings.yml b/.github/workflows/build_deploy_java_language_bindings.yml
index d87808e..7ce66de 100644
--- a/.github/workflows/build_deploy_java_language_bindings.yml
+++ b/.github/workflows/build_deploy_java_language_bindings.yml
@@ -27,15 +27,15 @@ jobs:
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }} # This is required to connect to the vault in our 1Password account.
MAVEN_GPG_PRIVATE_KEY: "op://rbiv7rvkkrsdlpcrz3bmv7nmcu/dkkfywvsr3xq6eyeubq6cldaxi/Private Key"
MAVEN_GPG_PASSPHRASE: "op://rbiv7rvkkrsdlpcrz3bmv7nmcu/dkkfywvsr3xq6eyeubq6cldaxi/password"
- MAVEN_USERNAME: "op://rbiv7rvkkrsdlpcrz3bmv7nmcu/4o43n5uyr7zjog6u2y5i3fjzye/username"
- MAVEN_PASSWORD: "op://rbiv7rvkkrsdlpcrz3bmv7nmcu/4o43n5uyr7zjog6u2y5i3fjzye/credential"
+ MAVEN_USERNAME: "op://rbiv7rvkkrsdlpcrz3bmv7nmcu/Maven Central Portal user token/username"
+ MAVEN_PASSWORD: "op://rbiv7rvkkrsdlpcrz3bmv7nmcu/Maven Central Portal user token/password"
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: '17.0.11'
distribution: 'temurin'
- server-id: ossrh
+ server-id: central
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
gpg-private-key: ${{ env.MAVEN_GPG_PRIVATE_KEY }}
diff --git a/models/java/gbfs-java-model/pom.xml b/models/java/gbfs-java-model/pom.xml
index 518336a..930379e 100644
--- a/models/java/gbfs-java-model/pom.xml
+++ b/models/java/gbfs-java-model/pom.xml
@@ -5,7 +5,7 @@
4.0.0
org.mobilitydata
gbfs-java-model
- 1.0.10
+ 1.0.12
gbfs-java-model
@@ -20,7 +20,7 @@
Apache License, Version 2.0
http://www.apache.org/licenses/LICENSE-2.0.txt
repo
-
+
@@ -44,12 +44,12 @@
- ossrh
- https://s01.oss.sonatype.org/content/repositories/snapshots
+ central
+ https://central.sonatype.com/content/repositories/snapshots/
- ossrh
- https://s01.oss.sonatype.org/service/local/staging/deploy/maven2
+ central
+ https://central.sonatype.com/service/local/staging/deploy/maven2/
@@ -61,7 +61,7 @@
2.17.0
1.14
- 1.6.13
+ 0.9.0
0.8.12
1.6.0
2.22.2
@@ -376,14 +376,13 @@
- org.sonatype.plugins
- nexus-staging-maven-plugin
- ${nexus-staging-maven-plugin.version}
+ org.sonatype.central
+ central-publishing-maven-plugin
+ ${central-publishing-maven-plugin.version}
true
- ossrh
- https://s01.oss.sonatype.org
- true
+ central
+ true
@@ -412,12 +411,12 @@
- ossrh
- https://s01.oss.sonatype.org/content/repositories/snapshots
+ central
+ https://central.sonatype.com/content/repositories/snapshots/
- ossrh
- https://s01.oss.sonatype.org/service/local/staging/deploy/maven2
+ central
+ https://central.sonatype.com/service/local/staging/deploy/maven2/
@@ -434,7 +433,8 @@
sign
-
${env.MAVEN_GPG_PASSPHRASE}
@@ -455,12 +455,12 @@
- ossrh
- https://s01.oss.sonatype.org/content/repositories/snapshots
+ central
+ https://central.sonatype.com/content/repositories/snapshots/
- ossrh
- https://s01.oss.sonatype.org/service/local/staging/deploy/maven2
+ central
+ https://central.sonatype.com/service/local/staging/deploy/maven2/
@@ -487,18 +487,17 @@
- org.sonatype.plugins
- nexus-staging-maven-plugin
+ org.sonatype.central
+ central-publishing-maven-plugin
+ ${central-publishing-maven-plugin.version}
true
- ossrh
- https://s01.oss.sonatype.org
-
- true
+ central
+ true
-
+
\ No newline at end of file