From 332a8316a9d0e47dcfc2ba8e62ff8e857df6e8b7 Mon Sep 17 00:00:00 2001 From: Paul Tuckey Date: Wed, 18 Oct 2023 13:24:53 +1300 Subject: [PATCH] add release --- .github/workflows/release.yml | 10 +++++- container-test/example-webapp/pom.xml | 2 +- .../test-with-testcontainers/pom.xml | 2 +- pom.xml | 33 ++++++++++++++++++- 4 files changed, 43 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9b2b6160..1acb5cde 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,8 +11,16 @@ jobs: - uses: actions/checkout@v3 # Do manually for now (Sep 2023) +# https://central.sonatype.org/publish/publish-maven/#nexus-staging-maven-plugin-for-deployment-and-release +# brew uninstall gpg2 +# brew install gnupg +# which gpg +# sudo ln -s /opt/homebrew/bin/gpg /usr/local/bin/gpg2 +# gpg --gen-key --default-new-key-algo=rsa4096/cert,sign+rsa4096/encr +# gpg --list-keys +# gpg --keyserver hkp://keys.openpgp.org --send-keys 01F9EF136A63C2E2BFE561AC5001F66EF9179A2C # -# mvn deploy +# mvn clean deploy # - name: Set up Java for publishing to Maven Central Repository # uses: actions/setup-java@v3 diff --git a/container-test/example-webapp/pom.xml b/container-test/example-webapp/pom.xml index af5352f8..c74e2ab7 100644 --- a/container-test/example-webapp/pom.xml +++ b/container-test/example-webapp/pom.xml @@ -58,7 +58,7 @@ org.tuckey urlrewritefilter - 5.1.0-SNAPSHOT + 5.1.1 jakarta.servlet diff --git a/container-test/test-with-testcontainers/pom.xml b/container-test/test-with-testcontainers/pom.xml index 06163102..1e8402e8 100644 --- a/container-test/test-with-testcontainers/pom.xml +++ b/container-test/test-with-testcontainers/pom.xml @@ -46,7 +46,7 @@ org.tuckey urlrewritefilter - 5.1.0-SNAPSHOT + 5.1.1 diff --git a/pom.xml b/pom.xml index 7258804e..be9b9d7a 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ org.tuckey urlrewritefilter jar - 5.1.0-SNAPSHOT + 5.1.1 UrlRewriteFilter http://www.tuckey.org/urlrewrite/ 2001 @@ -195,6 +195,37 @@ + + org.apache.maven.plugins + maven-gpg-plugin + 1.5 + + + sign-artifacts + verify + + sign + + + + --pinentry-mode + loopback + + + + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.13 + true + + ossrh + https://oss.sonatype.org/ + true + +