diff --git a/.github/workflows/deploy-mvn-central-release.yml b/.github/workflows/deploy-mvn-central-release.yml
index 9eafd5d..584216f 100644
--- a/.github/workflows/deploy-mvn-central-release.yml
+++ b/.github/workflows/deploy-mvn-central-release.yml
@@ -33,11 +33,11 @@ jobs:
ref: ${{ env.BRANCH }}
fetch-depth: 0
- name: Setup Java JDK and Maven
- uses: ontimize/setup-java-maven-gitAction@v4
+ uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '11'
- server-id: ossrh
+ server-id: central
server-username: MAVEN_USERNAME
server-password: MAVEN_CENTRAL_TOKEN
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
diff --git a/.github/workflows/deploy-mvn-central-snapshot.yml b/.github/workflows/deploy-mvn-central-snapshot.yml
index d9b330c..737464b 100644
--- a/.github/workflows/deploy-mvn-central-snapshot.yml
+++ b/.github/workflows/deploy-mvn-central-snapshot.yml
@@ -15,11 +15,11 @@ jobs:
- name: Checkout repository code
uses: actions/checkout@v4
- name: Setup Java JDK and Maven
- uses: ontimize/setup-java-maven-gitAction@v4
+ uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '11'
- server-id: ossrh
+ server-id: central
server-username: MAVEN_USERNAME
server-password: MAVEN_CENTRAL_TOKEN
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
diff --git a/pom.xml b/pom.xml
index dfa04c8..464a77e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -43,17 +43,6 @@
https://github.com/ontimize/ontimize-jee-sdms.git/tree/main
-
-
- ossrh
- https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/
-
-
- ossrh
- https://s01.oss.sonatype.org/content/repositories/snapshots
-
-
-
ontimize-jee-sdms-common
ontimize-jee-sdms-event
@@ -81,17 +70,16 @@
3.8.1
1.0
- 3.0.0-M1
2.8
3.0.1
3.0.2
3.2.0
- 1.6.7
3.2.0
3.2.1
2.4
3.0.0-M5
3.0.0-M5
+ 0.7.0
@@ -192,11 +180,6 @@
-
- org.apache.maven.plugins
- maven-deploy-plugin
- ${deploy.plugin.version}
-
org.apache.maven.plugins
maven-source-plugin
@@ -261,8 +244,8 @@
- sonatype-snapshot
- https://s01.oss.sonatype.org/content/repositories/snapshots/
+ central-portal-snapshots
+ https://central.sonatype.com/repository/maven-snapshots/
false
@@ -276,8 +259,8 @@
generate-version
- sonatype-snapshot
- https://s01.oss.sonatype.org/content/repositories/snapshots/
+ central-portal-snapshots
+ https://central.sonatype.com/repository/maven-snapshots/
false
@@ -299,14 +282,13 @@
maven-javadoc-plugin
- org.sonatype.plugins
- nexus-staging-maven-plugin
- ${nexus-staging-maven-plugin.version}
+ org.sonatype.central
+ central-publishing-maven-plugin
+ ${central-publishing-maven-plugin.version}
true
- ossrh
- https://s01.oss.sonatype.org/
- true
+ central
+ true