Fix relocation stub: add parent so it can actually be signed+published#145
Merged
Merged
Conversation
The stub had no <parent>, so it inherited neither the release profile's maven-gpg-plugin signing execution nor its central-publishing-maven-plugin binding. Running the real `mvn -P release deploy` would have hit this module with nothing configured to sign or publish it (no <distributionManagement><repository> either), falling through to the plain Super-POM maven-deploy-plugin:deploy binding for pom packaging, which needs an explicit deployment repository this file correctly doesn't declare - failing the whole reactor deploy. Add <parent> (srcmorph-parent) while keeping this module's own explicit <version>1.0.4</version> as a deliberate override - Maven fully supports a child pinning a different version than its parent. Verified: effective POM under -P release now shows both maven-gpg-plugin and central-publishing-maven-plugin, the stub's own version stays 1.0.4 (not clobbered to 1.1.0), the existing `versions:set -Dexcludes=...` guidance still protects it correctly (re-tested in a scratch copy), and a full `mvn clean verify` from root still passes.
bernardladenthin
had a problem deploying
to
startgate
July 15, 2026 21:40 — with
GitHub Actions
Error
bernardladenthin
had a problem deploying
to
maven-central
July 15, 2026 21:40 — with
GitHub Actions
Failure
bernardladenthin
had a problem deploying
to
maven-central
July 15, 2026 21:40 — with
GitHub Actions
Failure
This was referenced Jul 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
llamacpp-ai-index-maven-pluginrelocation-stub module (from the previously-merged srcmorph: extract core+CLI, rename plugin, bump to 1.1.0, fix reactor CI #144) had no<parent>, so it inherited neither the release profile'smaven-gpg-pluginsigning execution nor itscentral-publishing-maven-pluginbinding. Running the realmvn -P release deploywould have hit this module with nothing configured to sign or publish it — no<distributionManagement><repository>either — falling through to the plain Super-POMmaven-deploy-plugin:deploybinding forpompackaging, which needs an explicit deployment repository this file correctly doesn't declare. That would fail the whole reactor deploy the moment it reached this module (or at best leave the relocation POM never actually published, defeating its purpose).<parent>srcmorph-parent</parent>while keeping this module's own explicit<version>1.0.4</version>as a deliberate override — Maven fully supports a child pinning a different version than its parent; only omitting<version>inherits the parent's.Test plan
-P releasenow shows bothmaven-gpg-pluginandcentral-publishing-maven-pluginbound for this module (previously absent even with-P releaseexplicitly passed)<version>still resolves to1.0.4(not clobbered to the parent's1.1.0)<distributionManagement><relocation>unchanged — still points atnet.ladenthin:srcmorph-maven-plugin:1.1.0mvn versions:set -DnewVersion=X -Dexcludes=net.ladenthin:llamacpp-ai-index-maven-pluginin a scratch copy — the stub's version correctly stays pinned while the rest of the reactor bumps, confirming the existing exclusion guidance still works with the new<parent>in placemvn clean verifyfrom repo root — BUILD SUCCESSRelated issues / PRs
Follow-up to #144 (merged) — this closes a gap discovered while double-checking release-readiness after that merge.
Checklist
CONTRIBUTING.mdandCODE_OF_CONDUCT.mdGenerated by Claude Code