fix(ci): add SonarCloud coverage report path configuration#482
Merged
lukaszlenart merged 1 commit intomainfrom Nov 4, 2025
Merged
fix(ci): add SonarCloud coverage report path configuration#482lukaszlenart merged 1 commit intomainfrom
lukaszlenart merged 1 commit intomainfrom
Conversation
Configure sonar.coverage.jacoco.xmlReportPaths property to point SonarCloud to the JaCoCo XML report location in the ognl module. This resolves the issue where SonarCloud was reporting 0% coverage despite tests running with coverage enabled. Fixes #481 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
|
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
Fixes the issue where SonarCloud was reporting 0% code coverage despite tests running with coverage enabled.
Changes
sonar.coverage.jacoco.xmlReportPathsproperty to rootpom.xmlpointing to the JaCoCo XML report location in theognlmoduleRoot Cause
In multi-module Maven projects, SonarCloud needs explicit configuration to locate JaCoCo coverage reports. Without the
sonar.coverage.jacoco.xmlReportPathsproperty, SonarCloud cannot find the generated coverage data.Impact
Test Plan
🤖 Generated with Claude Code