diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 22be593f..865c4d17 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -22,7 +22,7 @@ jobs:
with:
java-version: 11.0
distribution: 'adopt'
- server-id: ossrh
+ server-id: central
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
gpg-private-key: ${{ secrets.SONATYPE_GPG_PRIVATE_KEY }}
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index 0559a6a5..cd653463 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -30,7 +30,7 @@ jobs:
with:
java-version: 11.0
distribution: 'adopt'
- server-id: ossrh
+ server-id: central
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
gpg-private-key: ${{ secrets.SONATYPE_GPG_PRIVATE_KEY }}
diff --git a/flytekit-bom/pom.xml b/flytekit-bom/pom.xml
index 83893f6e..f4dbe8d1 100644
--- a/flytekit-bom/pom.xml
+++ b/flytekit-bom/pom.xml
@@ -53,13 +53,9 @@
-
- ossrh
- https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/
-
- ossrh
- https://s01.oss.sonatype.org/content/repositories/snapshots
+ central
+ https://central.sonatype.com/repository/maven-snapshots/
@@ -286,14 +282,14 @@
- org.sonatype.plugins
- nexus-staging-maven-plugin
- 1.6.8
+ org.sonatype.central
+ central-publishing-maven-plugin
+ 0.10.0
true
- ossrh
- https://s01.oss.sonatype.org/
- true
+ central
+ true
+ published
diff --git a/pom.xml b/pom.xml
index 571390d4..1c18f6e1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -74,13 +74,9 @@
-
- ossrh
- https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/
-
- ossrh
- https://s01.oss.sonatype.org/content/repositories/snapshots
+ central
+ https://central.sonatype.com/repository/maven-snapshots/
@@ -411,28 +407,6 @@
-
-
-
- false
-
-
- true
-
- apache.snapshots
- Apache Development Snapshot Repository
- https://repository.apache.org/content/repositories/snapshots/
-
-
-
- false
-
- ossrh
- Sonatype OSS
- https://oss.sonatype.org/content/repositories/releases/
-
-
-
@@ -862,14 +836,14 @@
- org.sonatype.plugins
- nexus-staging-maven-plugin
- 1.6.8
+ org.sonatype.central
+ central-publishing-maven-plugin
+ 0.10.0
true
- ossrh
- https://s01.oss.sonatype.org/
- true
+ central
+ true
+ published