From fde130d4537e795518d0044d56292eb8af105cef Mon Sep 17 00:00:00 2001 From: Bernard Ladenthin Date: Sun, 10 May 2026 19:12:16 +0200 Subject: [PATCH 1/4] chore: migrate from OSSRH to Sonatype Central Publisher Portal - Remove distributionManagement pointing to s01.oss.sonatype.org - Fix SCM URLs to HTTPS (was git:// and ssh://) - Add distribution=repo to MIT license entry - Replace release profile: remove nexus-staging-maven-plugin, add central-publishing-maven-plugin 0.9.0, upgrade maven-gpg-plugin to 3.2.7 with keyname + --pinentry-mode loopback, add source 3.3.1 and javadoc 3.11.2 plugins; retain cuda classifier jar execution --- pom.xml | 75 ++++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 47 insertions(+), 28 deletions(-) diff --git a/pom.xml b/pom.xml index 1c3d15f8..2cf8cb1c 100644 --- a/pom.xml +++ b/pom.xml @@ -17,35 +17,23 @@ MIT License https://www.opensource.org/licenses/mit-license.php + repo Bernard Ladenthin - https://github.com/bernardladenthin - scm:git:git://github.com/kherud/java-llama.cpp.git - scm:git:ssh://github.com:bernardladenthin/java-llama.cpp.git + scm:git:https://github.com/bernardladenthin/java-llama.cpp.git + scm:git:https://github.com/bernardladenthin/java-llama.cpp.git https://github.com/bernardladenthin/java-llama.cpp/tree/master - - - ossrh - https://s01.oss.sonatype.org/content/repositories/snapshots - - - ossrh - - https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/ - - - 5.18.1 4.13.2 @@ -167,30 +155,61 @@ - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.13 - true - - ossrh - https://s01.oss.sonatype.org/ - true - + org.apache.maven.plugins + maven-source-plugin + 3.3.1 + + + attach-sources + jar-no-fork + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 3.11.2 + + + attach-javadocs + jar + + + + org.apache.maven.plugins maven-gpg-plugin - 3.1.0 + 3.2.7 sign-artifacts verify - - sign - + sign + + ${gpg.keyname} + + --pinentry-mode + loopback + + + + + org.sonatype.central + central-publishing-maven-plugin + 0.9.0 + true + + central + true + published + + + org.apache.maven.plugins maven-jar-plugin From d6a79d06b844a6de1a668b37888123750ac06cbd Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 10 May 2026 18:04:02 +0000 Subject: [PATCH 2/4] chore: update plugin and dependency versions to latest stable Plugins (main build): - maven-compiler-plugin 3.13.0 -> 3.15.0 - maven-resources-plugin 3.3.1 -> 3.5.0 - maven-source-plugin 3.3.0 -> 3.4.0 - maven-javadoc-plugin 3.5.0 -> 3.12.0 Plugins (release profile): - maven-source-plugin 3.3.1 -> 3.4.0 - maven-javadoc-plugin 3.11.2 -> 3.12.0 - maven-gpg-plugin 3.2.7 -> 3.2.8 - central-publishing-maven-plugin 0.9.0 -> 0.10.0 - maven-jar-plugin 3.4.2 -> 3.5.0 Dependencies: - jackson-databind 2.21.2 -> 2.21.3 - org.jetbrains:annotations 24.1.0 -> 26.1.0 Skipped: Maven 4.x beta/rc plugins --- pom.xml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/pom.xml b/pom.xml index 2cf8cb1c..0b449d61 100644 --- a/pom.xml +++ b/pom.xml @@ -50,13 +50,13 @@ org.jetbrains annotations - 24.1.0 + 26.1.0 compile com.fasterxml.jackson.core jackson-databind - 2.21.2 + 2.21.3 @@ -65,7 +65,7 @@ org.apache.maven.plugins maven-compiler-plugin - 3.13.0 + 3.15.0 1.8 1.8 @@ -92,7 +92,7 @@ maven-resources-plugin - 3.3.1 + 3.5.0 @@ -120,7 +120,7 @@ org.apache.maven.plugins maven-source-plugin - 3.3.0 + 3.4.0 attach-sources @@ -133,7 +133,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.5.0 + 3.12.0 1.8 @@ -157,7 +157,7 @@ org.apache.maven.plugins maven-source-plugin - 3.3.1 + 3.4.0 attach-sources @@ -169,7 +169,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.11.2 + 3.12.0 attach-javadocs @@ -181,7 +181,7 @@ org.apache.maven.plugins maven-gpg-plugin - 3.2.7 + 3.2.8 sign-artifacts @@ -201,7 +201,7 @@ org.sonatype.central central-publishing-maven-plugin - 0.9.0 + 0.10.0 true central @@ -213,7 +213,7 @@ org.apache.maven.plugins maven-jar-plugin - 3.4.2 + 3.5.0 From 9ee73153ed92a630d6a3801c684b16e227926d97 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 10 May 2026 18:35:03 +0000 Subject: [PATCH 3/4] Add dependabot.yml for maven and github-actions ecosystems https://claude.ai/code/session_01TPLSUAgEHPFGSoDesiPZ5N --- .github/dependabot.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..e1d1cc74 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,10 @@ +version: 2 +updates: + - package-ecosystem: "maven" + directory: "/" + schedule: + interval: "weekly" + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" From 975e39f72b9f8906daa68f0459204ec527283126 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 10 May 2026 18:41:18 +0000 Subject: [PATCH 4/4] Remove duplicate source/javadoc plugins from release profile maven-source-plugin and maven-javadoc-plugin are already configured in the main build section and run on every build. Repeating them in the release profile is redundant; the release profile now contains only the release-specific plugins: maven-gpg-plugin and central-publishing-maven-plugin. https://claude.ai/code/session_01TPLSUAgEHPFGSoDesiPZ5N --- pom.xml | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/pom.xml b/pom.xml index 0b449d61..f7741812 100644 --- a/pom.xml +++ b/pom.xml @@ -154,30 +154,6 @@ release - - org.apache.maven.plugins - maven-source-plugin - 3.4.0 - - - attach-sources - jar-no-fork - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 3.12.0 - - - attach-javadocs - jar - - - - org.apache.maven.plugins maven-gpg-plugin