diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 3df593d..4d2c48b 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -49,7 +49,7 @@ jobs: gpg-passphrase: MAVEN_GPG_PASSPHRASE - name: "Maven deploy maven central" - run: mvn deploy --batch-mode -D skipTests --no-transfer-progress + run: mvn deploy --batch-mode -D skipTests --activate-profiles central --no-transfer-progress - name: "Tag release and rev version" run: | diff --git a/pom.xml b/pom.xml index dee2b2e..bd2dda4 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 com.uvasoftware scanii-java - 6.0.1-SNAPSHOT + 6.0.2-SNAPSHOT jar Scanii.com Java SDK scanii-java @@ -89,15 +89,6 @@ maven-compiler-plugin 3.14.0 - - org.sonatype.central - central-publishing-maven-plugin - 0.7.0 - true - - central - - org.apache.maven.plugins maven-source-plugin @@ -176,7 +167,22 @@ - + + central + + + + org.sonatype.central + central-publishing-maven-plugin + 0.7.0 + true + + central + + + + + github