diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 25ef5c1..03c965f 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -26,8 +26,8 @@ jobs:
- name: Publish
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
env:
- OSSRH_USERNAME: ${{ secrets.SONATYPE_OSSRH_USERNAME }}
- OSSRH_PASSWORD: ${{ secrets.SONATYPE_OSSRH_PASSWORD }}
+ SONATYPE_PORTAL_USERNAME: ${{ secrets.SONATYPE_PORTAL_USERNAME }}
+ SONATYPE_PORTAL_PASSWORD: ${{ secrets.SONATYPE_PORTAL_PASSWORD }}
GPG_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
GPG_SECRET_KEYS: ${{ secrets.PGP_PRIVATE_KEY }}
run: |
diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml
index 0cc3857..e56c0a7 100644
--- a/.idea/codeStyles/Project.xml
+++ b/.idea/codeStyles/Project.xml
@@ -54,4 +54,4 @@
-
\ No newline at end of file
+
diff --git a/.mvn/settings.xml b/.mvn/settings.xml
index 2088155..c27552b 100644
--- a/.mvn/settings.xml
+++ b/.mvn/settings.xml
@@ -5,15 +5,15 @@
- ossrh
- ${env.OSSRH_USERNAME}
- ${env.OSSRH_PASSWORD}
+ central
+ ${env.SONATYPE_PORTAL_USERNAME}
+ ${env.SONATYPE_PORTAL_PASSWORD}
- ossrh
+ central
true
@@ -23,4 +23,4 @@
-
\ No newline at end of file
+
diff --git a/pom.xml b/pom.xml
index b6d32fb..417d23e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -9,7 +9,7 @@
jar
DHIS JSON Tree
https://github.com/dhis2/json-tree
- 1.9-SNAPSHOT
+ 1.8.1-SNAPSHOT
@@ -77,17 +77,6 @@
-
-
- ossrh
- https://oss.sonatype.org/content/repositories/snapshots
-
-
- ossrh
- https://oss.sonatype.org/service/local/staging/deploy/maven2
-
-
-
@@ -152,15 +141,14 @@
- org.sonatype.plugins
- nexus-staging-maven-plugin
- 1.7.0
+ org.sonatype.central
+ central-publishing-maven-plugin
+ 0.8.0
true
- ossrh
- https://oss.sonatype.org/
- true
- 15
+ central
+ true
+ published