diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index cba8c56a..c576c834 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -37,4 +37,4 @@ jobs:
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
- name: Release with Maven
- run: mvn -DskipTests deploy
+ run: mvn --batch-mode --no-transfer-progress -DskipTests deploy
diff --git a/pom.xml b/pom.xml
index 82e4a3ac..23c33aed 100644
--- a/pom.xml
+++ b/pom.xml
@@ -81,27 +81,6 @@
-
- org.apache.maven.plugins
- maven-gpg-plugin
- 3.1.0
-
-
- sign-artifacts
- verify
-
- sign
-
-
-
- --pinentry-mode
- loopback
-
-
-
-
-
-
maven-surefire-plugin
3.2.5
@@ -131,6 +110,59 @@
+
+ central-deploy
+
+
+
+ org.apache.maven.plugins
+ maven-gpg-plugin
+ 3.1.0
+
+
+ sign-artifacts
+ verify
+
+ sign
+
+
+
+ --pinentry-mode
+ loopback
+
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-deploy-plugin
+
+ true
+
+
+
+ org.sonatype.plugins
+ nexus-staging-maven-plugin
+
+
+ deploy-to-sonatype
+ deploy
+
+ deploy
+ release
+
+
+
+
+ oss.sonatype.org
+ https://oss.sonatype.org
+
+
+
+
+
pitest
@@ -250,4 +282,11 @@
test
+
+
+ sonatype-nexus-staging
+ Nexus Release Repository
+ https://oss.sonatype.org/service/local/staging/deploy/maven2/
+
+