From 415c16770efe93162d5b249eae5f906d96590ebb Mon Sep 17 00:00:00 2001 From: rafael Date: Sat, 15 Mar 2025 08:42:02 -0400 Subject: [PATCH 1/2] chore: fixing maven central deployment --- .github/workflows/main.yaml | 1 - pom.xml | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 4d2c48b..a17cdc7 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -46,7 +46,6 @@ jobs: server-username: ${{secrets.MAVEN_TOKEN_USER}} server-password: ${{secrets.MAVEN_TOKEN}} gpg-private-key: ${{secrets.MAVEN_GPG_KEY}} - gpg-passphrase: MAVEN_GPG_PASSPHRASE - name: "Maven deploy maven central" run: mvn deploy --batch-mode -D skipTests --activate-profiles central --no-transfer-progress diff --git a/pom.xml b/pom.xml index bd2dda4..0d30cd5 100644 --- a/pom.xml +++ b/pom.xml @@ -31,8 +31,7 @@ scm:git:git@github.com:uvasoftware/scanii-java.git scm:git:git@github.com:uvasoftware/scanii-java.git - https://github.com/uvasoftware/scanii-java - HEAD + https://github.com/uvasoftware/scanii-java/tree/main From d4ad1814db26289107a340eabb7cbae890385e34 Mon Sep 17 00:00:00 2001 From: rafael Date: Sat, 15 Mar 2025 08:46:24 -0400 Subject: [PATCH 2/2] chore: fixing maven central deployment * Added back required maven plugins --- pom.xml | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/pom.xml b/pom.xml index 0d30cd5..9becaee 100644 --- a/pom.xml +++ b/pom.xml @@ -170,6 +170,46 @@ central + + org.apache.maven.plugins + maven-source-plugin + 2.2.1 + + + attach-sources + + jar-no-fork + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 3.5.0 + + + attach-javadocs + + jar + + + + + + org.apache.maven.plugins + maven-gpg-plugin + 3.2.6 + + + sign-artifacts + verify + + sign + + + + org.sonatype.central central-publishing-maven-plugin