diff --git a/.github/workflows/pre-release-ci.yml b/.github/workflows/pre-release-ci.yml index a7f35887..8ac272c7 100644 --- a/.github/workflows/pre-release-ci.yml +++ b/.github/workflows/pre-release-ci.yml @@ -29,7 +29,7 @@ jobs: echo Pre-release version $pre_release_version mvn versions:set -DnewVersion=$pre_release_version -DgenerateBackupPoms=false mvn versions:commit - mvn clean deploy -Pdeploy2Github -B -V + mvn clean deploy -Pdeploy2Github -DskipTests -B -V env: GITHUB_TOKEN: ${{ secrets.ORGANIZATION_TOKEN }} - name: Set up Java for publishing to Maven Central Repository diff --git a/pom.xml b/pom.xml index d79f0ced..763a60bc 100644 --- a/pom.xml +++ b/pom.xml @@ -35,6 +35,33 @@ + + deploy2Maven + + + ossrh + Central Repository OSSRH + https://oss.sonatype.org/service/local/staging/deploy/maven2/ + + + + + + org.sonatype.plugins + nexus-staging-maven-plugin + + + maven-source-plugin + + + maven-javadoc-plugin + + + maven-gpg-plugin + + + +