diff --git a/.github/workflows/maven-push.yml b/.github/workflows/maven-push.yml
index 77be19a5d6..497202dfd4 100644
--- a/.github/workflows/maven-push.yml
+++ b/.github/workflows/maven-push.yml
@@ -44,10 +44,7 @@ jobs:
with:
servers: |
[{
- "name": "Central Portal Snapshots",
"id": "central-portal-snapshots",
- "url": "https://central.sonatype.com/repository/maven-snapshots/",
- "snapshots": {"enabled":true},
"username": "${{ secrets.SONATYPE_BOT_USERNAME }}",
"password": "${{ secrets.SONATYPE_BOT_TOKEN }}"
}]
diff --git a/pom.xml b/pom.xml
index 871a38df45..79fc6217a2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -40,10 +40,24 @@
indy-parent-3.3.7
+
+
+ true
+ central-portal-snapshots
+ Central Portal Snapshots
+ https://central.sonatype.com/repository/maven-snapshots/
+ default
+
+
+
- sonatype-snapshots
- https://oss.sonatype.org/content/repositories/snapshots/
+ Central Portal Snapshots
+ central-portal-snapshots
+ https://central.sonatype.com/repository/maven-snapshots/
+
+ false
+
true