diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 45fe502e..f33f83ac 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -39,7 +39,7 @@ jobs: cache: 'maven' - name: Build with Maven - run: mvn -B -ff -ntp clean install -Dgpg.skip=true + run: mvn -B -ff -ntp clean install - name: Publish Code Coverage if: github.ref == 'refs/heads/main' && matrix.java == '11' @@ -70,7 +70,7 @@ jobs: cache: 'maven' - name: Build with Maven - run: mvn -B -ff -ntp clean install -Dgpg.skip=true + run: mvn -B -ff -ntp clean install build_windows: runs-on: windows-latest @@ -93,7 +93,7 @@ jobs: cache: 'maven' - name: Build with Maven - run: mvn -B -ff -ntp clean install --% -Dgpg.skip=true + run: mvn -B -ff -ntp clean install verify-native: name: Verify GraalVM ${{ matrix.java }} compatibility on ${{ matrix.os }} @@ -111,7 +111,7 @@ jobs: distribution: 'graalvm-community' - name: Install nitrite - run: mvn -B -ff -ntp clean install "-Dgpg.skip=true" -DskipTests + run: mvn -B -ff -ntp clean install -DskipTests - name: Run native tests working-directory: ./nitrite-native-tests diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index edb94a0e..be006b80 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -51,7 +51,7 @@ jobs: PGP_KEY_PASSWORD: ${{ secrets.PGP_KEY_PASSWORD }} - name: Deploy Release - run: mvn -B -ff -ntp deploy -DskipTests -Dgpg.passphrase="$PGP_KEY_PASSWORD" + run: mvn -P deploy -B -ff -ntp deploy -DskipTests -Dgpg.passphrase="$PGP_KEY_PASSWORD" shell: bash env: MAVEN_USERNAME: ${{ secrets.OSSRH_USER }} diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml index 2e4bab89..ddcdc1b8 100644 --- a/.github/workflows/snapshot.yml +++ b/.github/workflows/snapshot.yml @@ -51,7 +51,7 @@ jobs: PGP_KEY_PASSWORD: ${{ secrets.PGP_KEY_PASSWORD }} - name: Deploy Snapshot - run: mvn -B -ff -ntp deploy -DskipTests -Dgpg.passphrase="$PGP_KEY_PASSWORD" + run: mvn -P deploy -B -ff -ntp deploy -DskipTests -Dgpg.passphrase="$PGP_KEY_PASSWORD" shell: bash env: MAVEN_USERNAME: ${{ secrets.OSSRH_USER }} diff --git a/nitrite-bom/pom.xml b/nitrite-bom/pom.xml index c2cdf4bf..2c9db54b 100644 --- a/nitrite-bom/pom.xml +++ b/nitrite-bom/pom.xml @@ -67,17 +67,4 @@ true - - - - - org.apache.maven.plugins - maven-gpg-plugin - - - org.sonatype.plugins - nexus-staging-maven-plugin - - - diff --git a/nitrite-jackson-mapper/pom.xml b/nitrite-jackson-mapper/pom.xml index 8b2d741e..7c6f7a3d 100644 --- a/nitrite-jackson-mapper/pom.xml +++ b/nitrite-jackson-mapper/pom.xml @@ -132,18 +132,10 @@ org.apache.maven.plugins maven-source-plugin - - org.apache.maven.plugins - maven-gpg-plugin - org.codehaus.mojo animal-sniffer-maven-plugin - - org.sonatype.plugins - nexus-staging-maven-plugin - org.apache.maven.plugins maven-jar-plugin diff --git a/nitrite-mvstore-adapter/pom.xml b/nitrite-mvstore-adapter/pom.xml index 6fce262f..eceb5d4a 100644 --- a/nitrite-mvstore-adapter/pom.xml +++ b/nitrite-mvstore-adapter/pom.xml @@ -174,14 +174,6 @@ org.apache.maven.plugins maven-source-plugin - - org.apache.maven.plugins - maven-gpg-plugin - - - org.sonatype.plugins - nexus-staging-maven-plugin - org.apache.maven.plugins maven-jar-plugin diff --git a/nitrite-rocksdb-adapter/pom.xml b/nitrite-rocksdb-adapter/pom.xml index b011bc0f..edd368ff 100644 --- a/nitrite-rocksdb-adapter/pom.xml +++ b/nitrite-rocksdb-adapter/pom.xml @@ -172,14 +172,6 @@ org.apache.maven.plugins maven-source-plugin - - org.apache.maven.plugins - maven-gpg-plugin - - - org.sonatype.plugins - nexus-staging-maven-plugin - org.apache.maven.plugins maven-jar-plugin diff --git a/nitrite-spatial/pom.xml b/nitrite-spatial/pom.xml index 2f5e7725..ef4c1b87 100644 --- a/nitrite-spatial/pom.xml +++ b/nitrite-spatial/pom.xml @@ -117,10 +117,6 @@ org.codehaus.mojo animal-sniffer-maven-plugin - - org.apache.maven.plugins - maven-gpg-plugin - org.sonatype.plugins nexus-staging-maven-plugin diff --git a/nitrite-support/pom.xml b/nitrite-support/pom.xml index 4d3c3ace..0c022902 100644 --- a/nitrite-support/pom.xml +++ b/nitrite-support/pom.xml @@ -125,14 +125,6 @@ org.codehaus.mojo animal-sniffer-maven-plugin - - org.apache.maven.plugins - maven-gpg-plugin - - - org.sonatype.plugins - nexus-staging-maven-plugin - org.apache.maven.plugins maven-jar-plugin diff --git a/nitrite/pom.xml b/nitrite/pom.xml index aa5159c5..d8cdee59 100644 --- a/nitrite/pom.xml +++ b/nitrite/pom.xml @@ -206,18 +206,10 @@ org.apache.maven.plugins maven-source-plugin - - org.apache.maven.plugins - maven-gpg-plugin - org.codehaus.mojo animal-sniffer-maven-plugin - - org.sonatype.plugins - nexus-staging-maven-plugin - org.apache.maven.plugins maven-jar-plugin diff --git a/pom.xml b/pom.xml index 088c2e3d..197e4cac 100644 --- a/pom.xml +++ b/pom.xml @@ -80,7 +80,9 @@ 33.3.1-jre 1.7.0 - 2.36.0 + + 2.31.0 + 0.8.12 3.5.2 3.13.0 @@ -522,19 +524,27 @@ - - - - org.apache.maven.plugins - maven-gpg-plugin - - - org.sonatype.plugins - nexus-staging-maven-plugin - - + + + deploy + + + + org.apache.maven.plugins + maven-gpg-plugin + + + org.sonatype.plugins + nexus-staging-maven-plugin + + + + + + + diff --git a/potassium-nitrite/pom.xml b/potassium-nitrite/pom.xml index 3432c940..2e596b54 100644 --- a/potassium-nitrite/pom.xml +++ b/potassium-nitrite/pom.xml @@ -162,14 +162,6 @@ org.codehaus.mojo animal-sniffer-maven-plugin - - org.apache.maven.plugins - maven-gpg-plugin - - - org.sonatype.plugins - nexus-staging-maven-plugin - org.apache.maven.plugins maven-jar-plugin