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..9becaee 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 @@ -171,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