diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 81f6ab4..5aafc49 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -17,7 +17,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- - name: Set up JDK 17
+ - name: Set up JDK 21
uses: actions/setup-java@v3
with:
java-version: 21
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index c475aac..474fada 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -1,7 +1,3 @@
-# Version 5.0.0
-# This workflow will build a Java project with Maven
-# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
-
name: Release and Deploy
on:
@@ -15,14 +11,14 @@ jobs:
steps:
- uses: actions/checkout@v4
- - name: Set up JDK 17
+ - name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: 21
architecture: x64
distribution: temurin
cache: maven
- server-id: ossrh
+ server-id: central
server-username: MAVEN_USERNAME # env variable for username in deploy
server-password: MAVEN_PASSWORD # env variable for token in deploy
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
diff --git a/sources/pom.xml b/sources/pom.xml
index c2a4df9..fd9334f 100644
--- a/sources/pom.xml
+++ b/sources/pom.xml
@@ -78,14 +78,13 @@
- 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
+ central
+ true
@@ -126,17 +125,6 @@
-
-
- ossrh
- https://oss.sonatype.org/content/repositories/snapshots
-
-
- ossrh
- https://oss.sonatype.org/service/local/staging/deploy/maven2/
-
-
-
zkoss-ce