ci(sonar): declare sonar.organization on the reactor root - #163
Merged
Conversation
The SonarCloud scanner runs at the reactor root (srcmorph-parent), where `sonar.organization` was never defined — only the three child modules declared it, and child properties are not visible to the parent POM. This was latent: the previous project key was already org-bound server-side, so the client-side mandatory-property check passed. After the project-key rename to `bernardladenthin_srcmorph`, the freshly-keyed project trips the check and the analysis fails with: You must define the following mandatory properties for 'bernardladenthin_srcmorph': sonar.organization Declare `sonar.organization=bernardladenthin` in the root <properties> so the reactor-root analysis has it. projectKey stays a workflow -D argument. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G8uREwBujkenxH1CgTaEGY
bernardladenthin
had a problem deploying
to
startgate
July 27, 2026 19:29 — with
GitHub Actions
Error
bernardladenthin
had a problem deploying
to
maven-central
July 27, 2026 19:29 — with
GitHub Actions
Failure
bernardladenthin
had a problem deploying
to
maven-central
July 27, 2026 19:29 — with
GitHub Actions
Failure
|
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
bernardladenthin_srcmorph, the analysis job fails client-side with:You must define the following mandatory properties for 'bernardladenthin_srcmorph': sonar.organization.srcmorph-parent), wheresonar.organizationwas never declared — only the three child modules had it, and child properties are not visible to a parent POM. This was latent until the fresh key tripped SonarCloud's mandatory-property check (the old key was already org-bound server-side).sonar.organization=bernardladenthinin the root<properties>. TheprojectKeystays a-Dargument in.github/workflows/sonarqube.yml.Test plan
Build and analyzeshould now pass and populatebernardladenthin_srcmorph)Related issues / PRs
Refs #162 (repository rename). Fixes the SonarCloud analysis regression introduced by the project-key rename in that PR.
Checklist
CONTRIBUTING.mdandCODE_OF_CONDUCT.mdSECURITY.md)🤖 Generated with Claude Code
https://claude.ai/code/session_01G8uREwBujkenxH1CgTaEGY
Generated by Claude Code