diff --git a/.github/workflows/deploy-maven-repository-workflow.yml b/.github/workflows/deploy-maven-repository-workflow.yml index 7bb0fb30..e34012dc 100644 --- a/.github/workflows/deploy-maven-repository-workflow.yml +++ b/.github/workflows/deploy-maven-repository-workflow.yml @@ -33,7 +33,7 @@ jobs: gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase - name: Deploy to Maven Central repository - run: mvn clean deploy -DskipTests -P deploy-maven ${{ inputs.maven_opts }} --no-transfer-progress + run: mvn clean deploy -DskipTests -Pdeploy-maven ${{ inputs.maven_opts }} --no-transfer-progress env: MAVEN_NEXUS_USER: ${{ secrets.MAVEN_USER_TOKEN }} MAVEN_NEXUS_PASSWORD: ${{ secrets.MAVEN_PASSWORD_TOKEN }} @@ -44,6 +44,6 @@ jobs: distribution: 'temurin' java-version: '8' - name: Deploy to GitHub Packages repository - run: mvn clean deploy -DskipTests -P deploy-github ${{ inputs.maven_opts }} --no-transfer-progress + run: mvn clean deploy -DskipTests -Pdeploy-github ${{ inputs.maven_opts }} --no-transfer-progress env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/commons-datastore/commons-datastore-core/pom.xml b/commons-datastore/commons-datastore-core/pom.xml index 218ad74c..0d0eaa90 100644 --- a/commons-datastore/commons-datastore-core/pom.xml +++ b/commons-datastore/commons-datastore-core/pom.xml @@ -13,6 +13,10 @@ commons-datastore-core jar + OpenCB commons-datastore-core project + OpenCB commons project contains several Java libs for Bioinformatics + http://www.opencb.org + com.fasterxml.jackson.core diff --git a/commons-datastore/commons-datastore-mongodb/pom.xml b/commons-datastore/commons-datastore-mongodb/pom.xml index 4d3c30c8..bef09573 100644 --- a/commons-datastore/commons-datastore-mongodb/pom.xml +++ b/commons-datastore/commons-datastore-mongodb/pom.xml @@ -13,6 +13,10 @@ commons-datastore-mongodb jar + OpenCB commons-datastore-mongodb project + OpenCB commons project contains several Java libs for Bioinformatics + http://www.opencb.org + org.opencb.commons diff --git a/commons-datastore/commons-datastore-solr/pom.xml b/commons-datastore/commons-datastore-solr/pom.xml index 8077f533..4b14c23a 100644 --- a/commons-datastore/commons-datastore-solr/pom.xml +++ b/commons-datastore/commons-datastore-solr/pom.xml @@ -29,6 +29,11 @@ commons-datastore-solr jar + OpenCB commons-datastore-solr project + OpenCB commons project contains several Java libs for Bioinformatics + http://www.opencb.org + + org.opencb.commons diff --git a/commons-datastore/pom.xml b/commons-datastore/pom.xml index 64d7216f..a85aed2b 100644 --- a/commons-datastore/pom.xml +++ b/commons-datastore/pom.xml @@ -13,6 +13,11 @@ commons-datastore pom + OpenCB commons-datastore project + OpenCB commons project contains several Java libs for Bioinformatics + http://www.opencb.org + + commons-datastore-core commons-datastore-mongodb diff --git a/commons-lib/pom.xml b/commons-lib/pom.xml index 6dd59587..48de972f 100644 --- a/commons-lib/pom.xml +++ b/commons-lib/pom.xml @@ -13,6 +13,10 @@ commons-lib jar + OpenCB commons-lib project + OpenCB commons project contains several Java libs for Bioinformatics + http://www.opencb.org + org.opencb.commons diff --git a/pom.xml b/pom.xml index c59a3367..b4562449 100644 --- a/pom.xml +++ b/pom.xml @@ -51,14 +51,6 @@ - - ossrh - https://oss.sonatype.org/content/repositories/snapshots - - true - daily - - github https://maven.pkg.github.com/opencb @@ -305,34 +297,62 @@ + deploy-maven + ossrh - https://oss.sonatype.org/service/local/staging/deploy/maven2/ + OSSRH Staging API Releases + https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/ + + ossrh - https://oss.sonatype.org/content/repositories/snapshots + Central Portal Snapshots + https://central.sonatype.com/repository/maven-snapshots/ + + + org.sonatype.central + central-publishing-maven-plugin + 0.8.0 + + true + + + ossrh + + true + + published + + true + + + org.apache.maven.plugins maven-source-plugin - 3.2.0 + 3.2.1 attach-sources + jar-no-fork + + org.apache.maven.plugins maven-javadoc-plugin @@ -341,14 +361,20 @@ attach-javadocs + jar + none + + false + + org.apache.maven.plugins maven-gpg-plugin @@ -356,12 +382,13 @@ sign-artifacts - deploy + + verify sign - + --pinentry-mode loopback @@ -370,17 +397,6 @@ - - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.8 - true - - ossrh - https://oss.sonatype.org/ - true - -