Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,16 @@ SPDX-License-Identifier: Apache-2.0
</distributionManagement>

<properties>
<!--
SonarCloud requires sonar.organization on the project the scanner actually analyzes.
The SonarCloud scan runs at THIS reactor root (.github/workflows/sonarqube.yml calls
`mvn ... sonar:sonar` with no -f, so the analyzed project is this parent POM), and a
parent POM never sees its children's <properties>. Declaring it only in the child
modules therefore left the root scan without it, failing with
"You must define the following mandatory properties for '<projectKey>': sonar.organization".
Kept in the child modules too (harmless) so a per-module scan would also carry it.
-->
<sonar.organization>bernardladenthin</sonar.organization>
<!--
Defined here (not only in srcmorph-cli/pom.xml) because this parent's own
<dependencyManagement> below references it: child properties are never visible to a
Expand Down
Loading