diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bb12a1f..21b3957 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,7 +18,7 @@ jobs: java-version: 17 distribution: 'oracle' cache: 'maven' - server-id: ossrh + server-id: central server-username: MAVEN_USERNAME server-password: MAVEN_CENTRAL_TOKEN diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2a55ee2..3e46cfb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,7 +30,7 @@ jobs: java-version: 17 distribution: 'oracle' cache: 'maven' - server-id: ossrh + server-id: central server-username: MAVEN_USERNAME server-password: MAVEN_CENTRAL_TOKEN gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }} diff --git a/maps/pom.xml b/maps/pom.xml index c1ba119..c56c5e6 100644 --- a/maps/pom.xml +++ b/maps/pom.xml @@ -65,17 +65,6 @@ - - - ossrh - https://oss.sonatype.org/content/repositories/snapshots - - - ossrh - https://oss.sonatype.org/service/local/staging/deploy/maven2/ - - - org.openjfx @@ -145,14 +134,14 @@ - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.7 + org.sonatype.central + central-publishing-maven-plugin + 0.7.0 true - ossrh - https://oss.sonatype.org/ - false + central + true + published