diff --git a/.github/workflows/PublishMaven.yml b/.github/workflows/PublishMaven.yml index e885e69..c6d5d09 100644 --- a/.github/workflows/PublishMaven.yml +++ b/.github/workflows/PublishMaven.yml @@ -22,7 +22,7 @@ jobs: java-version: 11 distribution: "temurin" cache: "maven" - server-id: ossrh + server-id: central server-username: MAVEN_USERNAME server-password: MAVEN_TOKEN gpg-private-key: ${{ secrets.OSSRH_GPG_SECRET_KEY }} diff --git a/jvm/pom.xml b/jvm/pom.xml index 0823730..ca5ff6a 100644 --- a/jvm/pom.xml +++ b/jvm/pom.xml @@ -30,7 +30,7 @@ http://github.com/apex-dev-tools/apex-parser.git - + UTF-8 @@ -39,18 +39,9 @@ - oss.sonatype.org - https://s01.oss.sonatype.org/content/repositories/releases - - true - - - false - - - - snapshots-oss.sonatype.org - https://s01.oss.sonatype.org/content/repositories/snapshots + Central Portal Snapshots + central-portal-snapshots + https://central.sonatype.com/repository/maven-snapshots false @@ -84,13 +75,9 @@ - ossrh - https://s01.oss.sonatype.org/content/repositories/snapshots + central + https://central.sonatype.com/repository/maven-snapshots - - ossrh - https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/ - @@ -232,14 +219,13 @@ - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.7 + org.sonatype.central + central-publishing-maven-plugin + 0.8.0 true - ossrh - https://s01.oss.sonatype.org/ - true + central + true