From 701c1d0f14592bc0adb41a49d69a82f040deabaf Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 15 Jul 2026 22:37:14 +0000 Subject: [PATCH] Bump reactor version from 1.1.0 to 1.1.1 for the retry release The first v1.1.0 release attempt failed Sonatype Central's deployment validation (missing sources-jar signatures, fixed in the prior commit) before anything went public - no artifacts were actually published under 1.1.0. Rather than force-move the protected v1.1.0 git tag (GitHub rejects it with a 403; confirmed directly), bump to 1.1.1 for a clean retry with a brand-new tag. `mvn versions:set -DnewVersion=1.1.1 -Dexcludes=net.ladenthin:llamacpp-ai-index-maven-plugin` for the three real modules; the relocation stub's own stays pinned at 1.0.4 (its correctly tracks 1.1.1), and its target updated to 1.1.1 by hand (not touched by versions:set). Swept README.md/CLAUDE.md/TODO.md/CHANGELOG.md/ srcmorph-maven-plugin/README.md/examples' illustrative jar-name comments for the same bump, preserving the unrelated keepachangelog.com spec- version links. CHANGELOG's former [Unreleased] section is now [1.1.1], since 1.1.0 was never actually released, plus a new Fixed entry documenting the sources-jar signing bug. --- CHANGELOG.md | 19 +++++++++++++++---- CLAUDE.md | 10 +++++----- README.md | 8 ++++---- TODO.md | 6 +++--- examples/run_all.bat | 2 +- examples/run_all.sh | 2 +- examples/run_calibrate.bat | 2 +- examples/run_calibrate.sh | 2 +- examples/run_generate.bat | 2 +- examples/run_generate.sh | 2 +- examples/run_plan.bat | 2 +- examples/run_plan.sh | 2 +- llamacpp-ai-index-maven-plugin/pom.xml | 6 +++--- pom.xml | 2 +- srcmorph-cli/pom.xml | 4 ++-- srcmorph-maven-plugin/README.md | 2 +- srcmorph-maven-plugin/pom.xml | 4 ++-- srcmorph/pom.xml | 4 ++-- 18 files changed, 46 insertions(+), 35 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 73a35bb..be24448 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,7 @@ The release procedure (prompt template and step-by-step instructions) lives in [ --- -## [Unreleased] +## [1.1.1] - 2026-07-15 ### Added - **Reactor split**: the former single-module `llamacpp-ai-index-maven-plugin` is now a 3-module @@ -25,7 +25,7 @@ The release procedure (prompt template and step-by-step instructions) lives in [ `@Parameter` property `aiIndex.*` → `srcmorph.*`). A new, independently-versioned relocation-stub module/POM (`net.ladenthin:llamacpp-ai-index-maven-plugin:1.0.4`, no source, no dependencies, only ``) keeps the old coordinates resolvable on Maven Central, - redirecting to `net.ladenthin:srcmorph-maven-plugin:1.1.0`. + redirecting to `net.ladenthin:srcmorph-maven-plugin:1.1.1`. - New engine layer in `srcmorph` (`GenerateEngine`, `AggregatePackagesEngine`, `AggregateProjectEngine`, `CalibrateEngine`) extracted from what used to be each mojo's `execute()` body, plus a new shared root configuration object, @@ -55,9 +55,19 @@ The release procedure (prompt template and step-by-step instructions) lives in [ the old coordinates are not broken: a new, independently-versioned relocation-stub artifact (`net.ladenthin:llamacpp-ai-index-maven-plugin:1.0.4`, POM-only, no source/dependencies) is published with a `` pointing at - `net.ladenthin:srcmorph-maven-plugin:1.1.0`, so Maven transparently redirects any build still + `net.ladenthin:srcmorph-maven-plugin:1.1.1`, so Maven transparently redirects any build still declaring the old artifactId. +### Fixed +- **Sources-jar signing**: `maven-source-plugin`'s `attach-sources` execution was bound to the + `verify` phase instead of `package` in all three real modules. `maven-gpg-plugin`'s signing + execution is also bound to `verify`, and within the same phase execution order follows + declaration/inheritance order — the inherited gpg execution ran before the sources jar was + built, so it was silently omitted from every signed bundle. Rebound `attach-sources` to + `package` (its own goal default). Also gave the relocation-stub module a `` so it + inherits the release profile's signing/publishing plugins at all (it previously had none), + while keeping its own version pinned independently. + ## [1.0.2] - 2026-07-02 ### Changed @@ -107,7 +117,8 @@ First public release on Maven Central. Pre-OpenSSF history themes (March–May 2 --- -[Unreleased]: https://github.com/bernardladenthin/llamacpp-ai-index-maven-plugin/compare/v1.0.2...HEAD +[Unreleased]: https://github.com/bernardladenthin/llamacpp-ai-index-maven-plugin/compare/v1.1.1...HEAD +[1.1.1]: https://github.com/bernardladenthin/llamacpp-ai-index-maven-plugin/compare/v1.0.2...v1.1.1 [1.0.2]: https://github.com/bernardladenthin/llamacpp-ai-index-maven-plugin/compare/v1.0.1...v1.0.2 [1.0.1]: https://github.com/bernardladenthin/llamacpp-ai-index-maven-plugin/compare/v1.0.0...v1.0.1 [1.0.0]: https://github.com/bernardladenthin/llamacpp-ai-index-maven-plugin/releases/tag/v1.0.0 diff --git a/CLAUDE.md b/CLAUDE.md index 9193d2b..add79a7 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -22,14 +22,14 @@ coordinates, package, goal prefix, and every `@Parameter` property changed in th write `aiIndex.*` properties, the `ai-index` goal prefix, or the `net.ladenthin.maven.llamacpp.aiindex` package in new documentation or code; use `srcmorph.*`, `srcmorph`, and `net.ladenthin.maven.srcmorph.mojo` instead (see the plugin module's own section -below). Actually publishing the `1.1.0` reactor release and the `1.0.4` relocation stub to Maven +below). Actually publishing the `1.1.1` reactor release and the `1.0.4` relocation stub to Maven Central remains a separate, later action by the user. - **Group ID:** `net.ladenthin` - **Java:** target bytecode 1.8 (production code), Java 21 test sources, built with JDK 21 - **License:** Apache 2.0 - **Author:** Bernard Ladenthin (Copyright 2026) -- **Reactor version:** `1.1.0` (single shared version across `srcmorph`, `srcmorph-cli`, +- **Reactor version:** `1.1.1` (single shared version across `srcmorph`, `srcmorph-cli`, and `srcmorph-maven-plugin`; the relocation stub below is version-pinned independently) --- @@ -38,7 +38,7 @@ Central remains a separate, later action by the user. ``` llamacpp-ai-index-maven-plugin/ (repo root; reactor parent) -├── pom.xml net.ladenthin:srcmorph-parent:1.1.0 (packaging=pom) +├── pom.xml net.ladenthin:srcmorph-parent:1.1.1 (packaging=pom) │ shared build plugins + dependencyManagement + release profile ├── srcmorph/ CORE LIBRARY net.ladenthin:srcmorph (Java 8, Maven-API-free) │ └── src/main/java/net/ladenthin/srcmorph/ @@ -208,7 +208,7 @@ themselves. A separate, minimal 4th reactor module — **not** a renamed copy of the plugin above, and not a child of `srcmorph-parent` (no `` at all). Its entire `pom.xml` is `groupId` + `artifactId` (`llamacpp-ai-index-maven-plugin`) + a version pinned independently at `1.0.4` + -`` pointing at `net.ladenthin:srcmorph-maven-plugin:1.1.0`. +`` pointing at `net.ladenthin:srcmorph-maven-plugin:1.1.1`. No source, no tests, no dependencies. Its sole purpose is so a consumer still declaring the old Maven coordinates gets redirected by Maven to the renamed plugin once both are published. Because it is still listed in the root `` for aggregation, a reactor-wide `mvn versions:set` run @@ -261,7 +261,7 @@ mvn -pl srcmorph-maven-plugin srcmorph:generate -P srcmorph-selftest ```bash mvn -pl srcmorph-cli package -java -jar srcmorph-cli/target/srcmorph-cli-1.1.0-jar-with-dependencies.jar examples/config_All.json +java -jar srcmorph-cli/target/srcmorph-cli-1.1.1-jar-with-dependencies.jar examples/config_All.json ``` See `examples/` (repo root) for ready-to-run `config_*.json`/`.yaml` + paired `run_*.sh`/`.bat` diff --git a/README.md b/README.md index 9c41029..75eba33 100644 --- a/README.md +++ b/README.md @@ -107,7 +107,7 @@ repository at the same version; the relocation stub is versioned and published i net.ladenthin srcmorph-maven-plugin - 1.1.0 + 1.1.1 mock @@ -145,7 +145,7 @@ model recommendations: [`srcmorph-maven-plugin/README.md`](srcmorph-maven-plugin net.ladenthin llamacpp-ai-index-maven-plugin 1.0.4 - @@ -170,7 +170,7 @@ reference. net.ladenthin srcmorph - 1.1.0 + 1.1.1 ``` @@ -210,7 +210,7 @@ Snapshots are published to the Central Snapshots repository on every push to `ma https://central.sonatype.com/repository/maven-snapshots/net/ladenthin/ ``` -Current reactor version: `1.1.0`. +Current reactor version: `1.1.1`. ## A Note on History diff --git a/TODO.md b/TODO.md index 7fdb6fc..a5cc4fe 100644 --- a/TODO.md +++ b/TODO.md @@ -25,7 +25,7 @@ recorded in git history and `crossrepostatus.md`, not here. and the plugin module's own coverage is not currently aggregated or uploaded). `mvn -q clean verify` and a `-P release verify -DskipTests -Dgpg.skip=true` dry run (package/sources/javadoc jars for all three modules + the CLI fat jar, no `.asc` files since signing was skipped) both - pass locally. **Still open: actually cutting the first real `1.1.0` release** (tag + `mvn -P + pass locally. **Still open: actually cutting the first real `1.1.1` release** (tag + `mvn -P release deploy` with real credentials) — that action was deliberately left to the user, not performed as part of this CI-adaptation step. This is the gate the user asked for before step 9 ("if all is working stat I can safely do the final rename"). @@ -36,10 +36,10 @@ recorded in git history and `crossrepostatus.md`, not here. package `net.ladenthin.maven.srcmorph.mojo`, properties `aiIndex.*` → `srcmorph.*`), and a new, independent relocation-stub module `llamacpp-ai-index-maven-plugin/` (pom-only, no ``, pinned at version `1.0.4`, only `` pointing at - `net.ladenthin:srcmorph-maven-plugin:1.1.0`) was added back to the root `` list so + `net.ladenthin:srcmorph-maven-plugin:1.1.1`) was added back to the root `` list so existing consumers resolving the old coordinates get redirected once it is actually published. This is the last, isolated step of the migration in terms of code/POM structure — actually - publishing both the `1.1.0` reactor release and the `1.0.4` relocation stub to Maven Central is + publishing both the `1.1.1` reactor release and the `1.0.4` relocation stub to Maven Central is still the user's own action (this task never ran `mvn deploy` or signed anything). **Caveat — exclude the stub from reactor-wide version bumps.** Because the relocation stub is diff --git a/examples/run_all.bat b/examples/run_all.bat index 1e1ea3a..ac2d0a9 100644 --- a/examples/run_all.bat +++ b/examples/run_all.bat @@ -8,7 +8,7 @@ rem AggregatePackages, AggregateProject). Uses the mock provider, so no GGUF mod rem point generationProvider at "llamacpp-jni" and set a real modelPath to run a model. rem rem The fat jar's file name is version-qualified (e.g. -rem srcmorph-cli-1.1.0-jar-with-dependencies.jar) and changes on every version bump, so +rem srcmorph-cli-1.1.1-jar-with-dependencies.jar) and changes on every version bump, so rem the loop below picks whichever one was last built by "mvn package" in ..\srcmorph-cli. setlocal cd /d "%~dp0" diff --git a/examples/run_all.sh b/examples/run_all.sh index 9078d3c..e63a523 100755 --- a/examples/run_all.sh +++ b/examples/run_all.sh @@ -8,7 +8,7 @@ # point generationProvider at "llamacpp-jni" and set a real modelPath to run a model. # # The fat jar's file name is version-qualified (e.g. -# srcmorph-cli-1.1.0-jar-with-dependencies.jar) and changes on every version bump, so the +# srcmorph-cli-1.1.1-jar-with-dependencies.jar) and changes on every version bump, so the # glob below picks whichever one was last built by `mvn package` in ../srcmorph-cli. set -euo pipefail cd "$(dirname "$0")" diff --git a/examples/run_calibrate.bat b/examples/run_calibrate.bat index 5b3db0a..4a95976 100644 --- a/examples/run_calibrate.bat +++ b/examples/run_calibrate.bat @@ -9,7 +9,7 @@ rem this is a no-op smoke check; swap generationProvider to "llamacpp-jni" and s rem modelPath to calibrate an actual GGUF model on this machine. rem rem The fat jar's file name is version-qualified (e.g. -rem srcmorph-cli-1.1.0-jar-with-dependencies.jar) and changes on every version bump, so +rem srcmorph-cli-1.1.1-jar-with-dependencies.jar) and changes on every version bump, so rem the loop below picks whichever one was last built by "mvn package" in ..\srcmorph-cli. setlocal cd /d "%~dp0" diff --git a/examples/run_calibrate.sh b/examples/run_calibrate.sh index e0fd30c..c287e68 100755 --- a/examples/run_calibrate.sh +++ b/examples/run_calibrate.sh @@ -9,7 +9,7 @@ # calibrate an actual GGUF model on this machine. # # The fat jar's file name is version-qualified (e.g. -# srcmorph-cli-1.1.0-jar-with-dependencies.jar) and changes on every version bump, so the +# srcmorph-cli-1.1.1-jar-with-dependencies.jar) and changes on every version bump, so the # glob below picks whichever one was last built by `mvn package` in ../srcmorph-cli. set -euo pipefail cd "$(dirname "$0")" diff --git a/examples/run_generate.bat b/examples/run_generate.bat index 22c6a91..3430d56 100644 --- a/examples/run_generate.bat +++ b/examples/run_generate.bat @@ -8,7 +8,7 @@ rem and fill in their AI-generated summary bodies). Uses the mock provider, so n rem required - point generationProvider at "llamacpp-jni" and set a real modelPath to run a model. rem rem The fat jar's file name is version-qualified (e.g. -rem srcmorph-cli-1.1.0-jar-with-dependencies.jar) and changes on every version bump, so +rem srcmorph-cli-1.1.1-jar-with-dependencies.jar) and changes on every version bump, so rem the loop below picks whichever one was last built by "mvn package" in ..\srcmorph-cli. setlocal cd /d "%~dp0" diff --git a/examples/run_generate.sh b/examples/run_generate.sh index 3a251ac..ce8de59 100755 --- a/examples/run_generate.sh +++ b/examples/run_generate.sh @@ -8,7 +8,7 @@ # required - point generationProvider at "llamacpp-jni" and set a real modelPath to run a model. # # The fat jar's file name is version-qualified (e.g. -# srcmorph-cli-1.1.0-jar-with-dependencies.jar) and changes on every version bump, so the +# srcmorph-cli-1.1.1-jar-with-dependencies.jar) and changes on every version bump, so the # glob below picks whichever one was last built by `mvn package` in ../srcmorph-cli. set -euo pipefail cd "$(dirname "$0")" diff --git a/examples/run_plan.bat b/examples/run_plan.bat index a720abf..6cb992a 100644 --- a/examples/run_plan.bat +++ b/examples/run_plan.bat @@ -8,7 +8,7 @@ rem GenerateFileIndex phase with planOnly forced true by the Plan command) - no rem and nothing is written. Safe to run with no GGUF model on disk (generationProvider is "mock"). rem rem The fat jar's file name is version-qualified (e.g. -rem srcmorph-cli-1.1.0-jar-with-dependencies.jar) and changes on every version bump, so +rem srcmorph-cli-1.1.1-jar-with-dependencies.jar) and changes on every version bump, so rem the loop below picks whichever one was last built by "mvn package" in ..\srcmorph-cli. setlocal cd /d "%~dp0" diff --git a/examples/run_plan.sh b/examples/run_plan.sh index 42add78..fdd6b80 100755 --- a/examples/run_plan.sh +++ b/examples/run_plan.sh @@ -8,7 +8,7 @@ # nothing is written. Safe to run with no GGUF model on disk (generationProvider is "mock"). # # The fat jar's file name is version-qualified (e.g. -# srcmorph-cli-1.1.0-jar-with-dependencies.jar) and changes on every version bump, so the +# srcmorph-cli-1.1.1-jar-with-dependencies.jar) and changes on every version bump, so the # glob below picks whichever one was last built by `mvn package` in ../srcmorph-cli. set -euo pipefail cd "$(dirname "$0")" diff --git a/llamacpp-ai-index-maven-plugin/pom.xml b/llamacpp-ai-index-maven-plugin/pom.xml index 56d6f8d..43ebb8f 100644 --- a/llamacpp-ai-index-maven-plugin/pom.xml +++ b/llamacpp-ai-index-maven-plugin/pom.xml @@ -26,7 +26,7 @@ SPDX-License-Identifier: Apache-2.0 Declaring does NOT tie this module's own to the parent's: a child project may freely override (and ) — only omitting it inherits the parent's value. This module's below stays pinned independently at 1.0.4, unaffected by the - reactor's own version (currently 1.1.0 in ../pom.xml). + reactor's own version (currently 1.1.1 in ../pom.xml). That independence is NOT automatic against tooling, though: `mvn versions:set -DnewVersion=X` run from the repo root walks every module reachable via the root list — parent @@ -50,7 +50,7 @@ SPDX-License-Identifier: Apache-2.0 net.ladenthin srcmorph-parent - 1.1.0 + 1.1.1 ../pom.xml @@ -66,7 +66,7 @@ SPDX-License-Identifier: Apache-2.0 net.ladenthin srcmorph-maven-plugin - 1.1.0 + 1.1.1 diff --git a/pom.xml b/pom.xml index 14fb334..40519f8 100644 --- a/pom.xml +++ b/pom.xml @@ -12,7 +12,7 @@ SPDX-License-Identifier: Apache-2.0 net.ladenthin srcmorph-parent - 1.1.0 + 1.1.1 pom ${project.groupId}:${project.artifactId} diff --git a/srcmorph-cli/pom.xml b/srcmorph-cli/pom.xml index 0650d67..cd80c39 100644 --- a/srcmorph-cli/pom.xml +++ b/srcmorph-cli/pom.xml @@ -13,7 +13,7 @@ SPDX-License-Identifier: Apache-2.0 net.ladenthin srcmorph-parent - 1.1.0 + 1.1.1 ../pom.xml @@ -47,7 +47,7 @@ SPDX-License-Identifier: Apache-2.0 3.8.0 2.94.0 - 2026-07-15T20:07:58Z + 2026-07-15T22:33:37Z diff --git a/srcmorph-maven-plugin/pom.xml b/srcmorph-maven-plugin/pom.xml index 49c9f81..b2f3724 100644 --- a/srcmorph-maven-plugin/pom.xml +++ b/srcmorph-maven-plugin/pom.xml @@ -13,7 +13,7 @@ SPDX-License-Identifier: Apache-2.0 net.ladenthin srcmorph-parent - 1.1.0 + 1.1.1 ../pom.xml @@ -89,7 +89,7 @@ SPDX-License-Identifier: Apache-2.0 package-body --> - 2026-07-15T20:07:58Z + 2026-07-15T22:33:37Z diff --git a/srcmorph/pom.xml b/srcmorph/pom.xml index 1145e31..e46942c 100644 --- a/srcmorph/pom.xml +++ b/srcmorph/pom.xml @@ -13,7 +13,7 @@ SPDX-License-Identifier: Apache-2.0 net.ladenthin srcmorph-parent - 1.1.0 + 1.1.1 ../pom.xml @@ -61,7 +61,7 @@ SPDX-License-Identifier: Apache-2.0 3.8.0 2.94.0 - 2026-07-15T20:07:58Z + 2026-07-15T22:33:37Z