From 26a42424081598ec34e7c3980c76939a7283e4cc Mon Sep 17 00:00:00 2001 From: sstone Date: Mon, 30 Jun 2025 17:48:00 +0200 Subject: [PATCH] Migrate publishing from OSSRH to Central Publisher API --- .travis.yml | 14 ---------- pom.xml | 77 ++++++++++++++++++++++++----------------------------- 2 files changed, 35 insertions(+), 56 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 75775afe..00000000 --- a/.travis.yml +++ /dev/null @@ -1,14 +0,0 @@ -dist: bionic -language: scala -install: - - mvn install -DskipTests -script: - # test with bouncycastle - - mvn test -DargLine="-Dfr.acinq.secp256k1.lib.name=foo" - # test with libsecp256k1 - - mvn test -scala: -- 2.11.11 -jdk: -- openjdk11 - diff --git a/pom.xml b/pom.xml index a6f3e2a0..dfa75963 100644 --- a/pom.xml +++ b/pom.xml @@ -39,17 +39,17 @@ - - - ossrh - https://oss.sonatype.org/content/repositories/snapshots - - - - ossrh - https://oss.sonatype.org/content/repositories/snapshots + central-snapshots + Sonatype Central Portal (snapshots) + https://central.sonatype.com/repository/maven-snapshots + + false + + + true + @@ -139,31 +139,6 @@ - - org.apache.maven.plugins - maven-release-plugin - 3.0.1 - - true - false - release - deploy - v@{project.version} - false - true - - - - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.13 - true - - ossrh - https://oss.sonatype.org/ - false - - @@ -177,12 +152,12 @@ fr.acinq.bitcoin bitcoin-kmp-jvm - 0.24.0 + 0.25.0 fr.acinq.secp256k1 secp256k1-kmp-jni-jvm - 0.17.3 + 0.18.0 org.scodec @@ -229,14 +204,32 @@ release - - - performRelease - true - - + + org.sonatype.central + central-publishing-maven-plugin + 0.8.0 + true + + central + https://central.sonatype.com/repository/maven-snapshots + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.6 + + + sign-artifacts + verify + + sign + + + + org.apache.maven.plugins maven-gpg-plugin