From 4271cb0337367568d8b0739106f72490a0fbcbc9 Mon Sep 17 00:00:00 2001 From: Daniel Hougaard Date: Wed, 4 Dec 2024 02:21:06 +0400 Subject: [PATCH] more --- .github/workflows/ci.yml | 2 +- pom.xml | 38 +++++++++++++------------------------- 2 files changed, 14 insertions(+), 26 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 730f95d..5e88e46 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -75,7 +75,7 @@ jobs: # -DskipTests - name: Publish package - run: mvn --batch-mode clean deploy -P central-deploy -DskipTests=true + run: mvn --batch-mode clean deploy -P release -DskipTests=true env: MAVEN_USERNAME: ${{ secrets.ORG_GRADLE_PROJECT_MAVENCENTRALUSERNAME }} MAVEN_PASSWORD: ${{ secrets.ORG_GRADLE_PROJECT_MAVENCENTRALPASSWORD }} diff --git a/pom.xml b/pom.xml index cfc191c..e7ff3d0 100644 --- a/pom.xml +++ b/pom.xml @@ -117,11 +117,15 @@ - - + + release + + + false + @@ -166,7 +170,7 @@ --pinentry-mode loopback - ${env.MAVEN_GPG_PASSPHRASE} + ${env.MAVEN_GPG_PASSPHRASE} @@ -176,8 +180,10 @@ + + org.apache.maven.plugins maven-compiler-plugin @@ -195,6 +201,7 @@ + org.sonatype.plugins nexus-staging-maven-plugin @@ -206,6 +213,8 @@ true + + org.apache.maven.plugins maven-source-plugin @@ -232,28 +241,7 @@ - - org.apache.maven.plugins - maven-gpg-plugin - 3.1.0 - - - sign-artifacts - verify - - sign - - - - --pinentry-mode - loopback - - ${env.MAVEN_GPG_PASSPHRASE} - - - - - +