From cc54434284874362b417bd2683aa54c727e7e963 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Besson?= Date: Mon, 23 Jun 2025 12:12:20 +0100 Subject: [PATCH 1/3] Update deployment infrastructure to publish to Central Portal See https://central.sonatype.org/news/20250326_ossrh_sunset/ The OSSRH service is reaching end-of-life on June 30th, 2025. This updates the build infrastructure to allow this component and generally any living on the `org.openmicroscopy` namespace to use the Central Portal for publishing --- pom.xml | 35 ++++++++++++----------------------- 1 file changed, 12 insertions(+), 23 deletions(-) diff --git a/pom.xml b/pom.xml index 37f3a183..e3231327 100644 --- a/pom.xml +++ b/pom.xml @@ -85,16 +85,6 @@ Jenkins https://ci.openmicroscopy.org/ - - - ossrh - https://oss.sonatype.org/content/repositories/snapshots - - - ossrh - https://oss.sonatype.org/service/local/staging/deploy/maven2/ - - @@ -434,24 +424,12 @@ release - - - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.8 - true - - ossrh - https://oss.sonatype.org/ - false - - org.apache.maven.plugins maven-gpg-plugin - 1.6 + 3.2.7 sign-artifacts @@ -462,6 +440,17 @@ + + + org.sonatype.central + central-publishing-maven-plugin + 0.8.0 + true + + central + true + + From 5995e843233160764ee9418b80705ebd87a7ed6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Besson?= Date: Mon, 23 Jun 2025 12:13:59 +0100 Subject: [PATCH 2/3] Update project and issue URLs --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index e3231327..7c138747 100644 --- a/pom.xml +++ b/pom.xml @@ -75,11 +75,11 @@ scm:git:https://github.com/ome/ome-common-java scm:git:git@github.com:ome/ome-common-java HEAD - http://github.com/ome/ome-common-java + https://github.com/ome/ome-common-java Trac - https://trac.openmicroscopy.org/ome + https://github.com/ome/ome-common-java/issues Jenkins From cceee997ec3f62dd5d99db21f2e0fd474b7c4580 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Besson?= Date: Mon, 23 Jun 2025 12:22:00 +0100 Subject: [PATCH 3/3] maven-compiler-plugin: set release parameter to 8 For JDK 9+, this should pass the --release option to the javac executable which is the preferred form. The source/target options remain available for building with Java 8. --- pom.xml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 7c138747..a40d615f 100644 --- a/pom.xml +++ b/pom.xml @@ -213,11 +213,12 @@ org.apache.maven.plugins maven-compiler-plugin - 3.7.0 + 3.14.0 - 1.8 - 1.8 + 8 + 8 + 8