From 63c216982e96e5e1a8b4215619d2fb4d8115c607 Mon Sep 17 00:00:00 2001 From: rafael Date: Mon, 17 Mar 2025 10:52:37 -0400 Subject: [PATCH] chore: fixing maven central deployment * fixing validation error --- .github/workflows/main.yaml | 2 +- pom.xml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 86d6ecc..db62e97 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -39,7 +39,7 @@ jobs: gpg-passphrase: MAVEN_GPG_PASSPHRASE - name: "Maven deploy maven central" - run: mvn -Pcentral -DskipTests -B deploy + run: mvn deploy --batch-mode -D skipTests --activate-profiles central --no-transfer-progress env: MAVEN_USERNAME: ${{secrets.MAVEN_TOKEN_USER}} MAVEN_TOKEN: ${{secrets.MAVEN_TOKEN}} diff --git a/pom.xml b/pom.xml index af8997d..ef34c07 100644 --- a/pom.xml +++ b/pom.xml @@ -177,6 +177,7 @@ attach-sources + package jar-no-fork @@ -190,6 +191,7 @@ attach-javadocs + package jar