diff --git a/.github/actions/deploy-release/action.yml b/.github/actions/deploy-release/action.yml index 100983d..295b0ca 100644 --- a/.github/actions/deploy-release/action.yml +++ b/.github/actions/deploy-release/action.yml @@ -62,7 +62,7 @@ runs: -Dmaven.test.skip=true -Dgpg.passphrase="$GPG_PASSPHRASE" -Dgpg.keyname="$GPG_PUB_KEY" - clean deploy + clean deploy -P deploy-release shell: bash env: MAVEN_CENTRAL_USER: ${{ inputs.user }} diff --git a/pom.xml b/pom.xml index 24e4c22..0a813f4 100644 --- a/pom.xml +++ b/pom.xml @@ -182,37 +182,18 @@ maven-gpg-plugin - - - sign-artifacts - deploy - - sign - - - + 3.2.8 org.sonatype.central central-publishing-maven-plugin - - central - + 0.8.0 + true - - maven-gpg-plugin - 3.2.7 - - - org.sonatype.central - central-publishing-maven-plugin - 0.7.0 - true - maven-clean-plugin 3.5.0 @@ -269,6 +250,35 @@ + + + deploy-release + + + + maven-gpg-plugin + + + sign-artifacts + deploy + + sign + + + + + + org.sonatype.central + central-publishing-maven-plugin + + central + + + + + + + artifactory