# \#multi-module

**URL:** https://community.sonarsource.com/tag/multi-module/267.md

[Latest](https://community.sonarsource.com/latest.md) · [Categories](https://community.sonarsource.com/categories.md) · [Tags](https://community.sonarsource.com/tags.md)

---

## [Multi-module settings - why is the global project key is required, since i override per module](https://community.sonarsource.com/t/multi-module-settings-why-is-the-global-project-key-is-required-since-i-override-per-module/178395)

<div class="topic-metadata">

**Author:** [@Flm](https://community.sonarsource.com/u/Flm)\
**Replies:** 3\
**Last updated:** [August 11, 2026, 10:33am UTC](https://community.sonarsource.com/t/multi-module-settings-why-is-the-global-project-key-is-required-since-i-override-per-module/178395 "2026-08-11T10:33:21Z")

</div>

Operating system: MacOS Tahoe 26.2 SonarQube for IntelliJ plugin version: 11.13.0.84156 IntelliJ version: IntelliJ IDEA 2025.3.3 (Build #IU-253\*\*.31033.145, built on February 20, 2026)\*\* Programming language yo…

---

## [How to configure multi-module gradle SonarQube scan to only scan built artifacts](https://community.sonarsource.com/t/how-to-configure-multi-module-gradle-sonarqube-scan-to-only-scan-built-artifacts/143690)

<div class="topic-metadata">

**Author:** [@Akshay\_Srivastava](https://community.sonarsource.com/u/Akshay_Srivastava)\
**Replies:** 1\
**Last updated:** [July 2, 2025, 8:10am UTC](https://community.sonarsource.com/t/how-to-configure-multi-module-gradle-sonarqube-scan-to-only-scan-built-artifacts/143690 "2025-07-02T08:10:12Z")

</div>

We are using the following SonarQube: Version: Enterprise Edition v2025.2 Deployment: GKE Gradle Sonar Plugin: 6.0.1.5171 Our project is a multi-module gradle repo with the following layout: ├── build.gradle ├── gola…

---

## [New Code with a Maven multimodule project in SonarLint for Eclipse - Module parent paths missing](https://community.sonarsource.com/t/new-code-with-a-maven-multimodule-project-in-sonarlint-for-eclipse-module-parent-paths-missing/135155)

<div class="topic-metadata">

**Author:** [@xavilopez](https://community.sonarsource.com/u/xavilopez)\
**Replies:** 1\
**Last updated:** [February 14, 2025, 10:02am UTC](https://community.sonarsource.com/t/new-code-with-a-maven-multimodule-project-in-sonarlint-for-eclipse-module-parent-paths-missing/135155 "2025-02-14T10:02:59Z")

</div>

Please provide Operating system: Windows 11 23H2 IDE name and version: Eclipse IDE 2024-06 (4.32.0) SonarQube for Eclipse plugin version: 10.2.0.78029 Programming language you’re coding in: Java Is connected mode used:…

---

## [Coverage reports are empty in Maven multi-module project](https://community.sonarsource.com/t/coverage-reports-are-empty-in-maven-multi-module-project/133241)

<div class="topic-metadata">

**Author:** [@meletis](https://community.sonarsource.com/u/meletis)\
**Replies:** 3\
**Last updated:** [January 9, 2025, 8:29pm UTC](https://community.sonarsource.com/t/coverage-reports-are-empty-in-maven-multi-module-project/133241 "2025-01-09T20:29:21Z")

</div>

Hi! We are using Jacoco’s aggregated report for a Maven multi-module project as described in Java test coverage | SonarQube Server Documentation, also including the “…/” fix for the sonar.coverage.jacoco.xmlReportPaths …

---

## [Coverage missing from aggregate report in multi modules project](https://community.sonarsource.com/t/coverage-missing-from-aggregate-report-in-multi-modules-project/104204)

<div class="topic-metadata">

**Author:** [@rabestro](https://community.sonarsource.com/u/rabestro)\
**Replies:** 2\
**Last updated:** [January 9, 2025, 11:17am UTC](https://community.sonarsource.com/t/coverage-missing-from-aggregate-report-in-multi-modules-project/104204 "2025-01-09T11:17:43Z")

</div>

GitHub: Add multi-module Maven project for Sonar and Jacoco setup by rabestro · Pull Request #1 · rabestro/test-sonar-multimodules · GitHub CI system used: GitHub Actions Scanner command used mvn verify org.sonarsourc…

---

## [Sonar-scanning-examples link giving 404](https://community.sonarsource.com/t/sonar-scanning-examples-link-giving-404/117211)

<div class="topic-metadata">

**Author:** [@trish](https://community.sonarsource.com/u/trish)\
**Replies:** 1\
**Last updated:** [June 13, 2024, 2:12pm UTC](https://community.sonarsource.com/t/sonar-scanning-examples-link-giving-404/117211 "2024-06-13T14:12:10Z")

</div>

I am trying to go to https://github.com/SonarSource/sonar-scanning-examples/tree/master/sonarqube-scanner-maven/maven-multimodule I am getting a 404. Has this been migrated to somewhere else please ? Thanks, Trish

---

## [Error writing value of type 'org.gradle.api.internal.provider.DefaultMapProperty'](https://community.sonarsource.com/t/error-writing-value-of-type-org-gradle-api-internal-provider-defaultmapproperty/111170)

<div class="topic-metadata">

**Author:** [@Peter\_Miklosko](https://community.sonarsource.com/u/Peter_Miklosko)\
**Replies:** 6\
**Last updated:** [April 23, 2024, 8:07am UTC](https://community.sonarsource.com/t/error-writing-value-of-type-org-gradle-api-internal-provider-defaultmapproperty/111170 "2024-04-23T08:07:02Z")

</div>

I am trying to execute Gradle sonar task from the command line ./gradlew sonar Using Gradle sonar plugin 4.4.1.3373 trying to get an initial report on our Android multi-module project that consists of different flavour…

---

## [Jacoco Coverage Report for multi module gradle project not visible for Sonar](https://community.sonarsource.com/t/jacoco-coverage-report-for-multi-module-gradle-project-not-visible-for-sonar/106528)

<div class="topic-metadata">

**Author:** [@saltexx](https://community.sonarsource.com/u/saltexx)\
**Replies:** 1\
**Last updated:** [December 28, 2023, 12:43pm UTC](https://community.sonarsource.com/t/jacoco-coverage-report-for-multi-module-gradle-project-not-visible-for-sonar/106528 "2023-12-28T12:43:04Z")

</div>

Hi everyone, I have the issue with coverage in sonarcloud for multi module gardle project. For aggregating report I use ‘jacoco-report-aggregation’ plugin. After build I’ve received jacoco coverage report that coverag…

---

## [SonarCloud missing files from Gradle multi-project build](https://community.sonarsource.com/t/sonarcloud-missing-files-from-gradle-multi-project-build/85907)

<div class="topic-metadata">

**Author:** [@CWolf](https://community.sonarsource.com/u/CWolf)\
**Replies:** 6\
**Last updated:** [December 13, 2023, 3:00pm UTC](https://community.sonarsource.com/t/sonarcloud-missing-files-from-gradle-multi-project-build/85907 "2023-12-13T15:00:31Z")

</div>

ALM: Bitbucket Cloud CI system used: Circle CI, but this is not related to that Scanner: Gradle plugin “org.sonarqube” version “4.0.0.2929” Languages: Kotlin Error observed: In an otherwise working Gradl…

---

## [Android multi module project with Gradle connection Sonarqube](https://community.sonarsource.com/t/android-multi-module-project-with-gradle-connection-sonarqube/101632)

<div class="topic-metadata">

**Author:** [@Kristina](https://community.sonarsource.com/u/Kristina)\
**Replies:** 18\
**Last updated:** [October 26, 2023, 10:58am UTC](https://community.sonarsource.com/t/android-multi-module-project-with-gradle-connection-sonarqube/101632 "2023-10-26T10:58:48Z")

</div>

I have a multi-module project I add a SonarQube property to the root gradle sonarqube { properties { property("sonar.sourceEncoding", "UTF-8") property("sonar.projectName", "projectName") …

---

## [Java Maven Multi Module Project error 504 upstream request timeout](https://community.sonarsource.com/t/java-maven-multi-module-project-error-504-upstream-request-timeout/96025)

<div class="topic-metadata">

**Author:** [@Brandon\_Pangilinan1](https://community.sonarsource.com/u/Brandon_Pangilinan1)\
**Replies:** 3\
**Last updated:** [July 20, 2023, 4:22pm UTC](https://community.sonarsource.com/t/java-maven-multi-module-project-error-504-upstream-request-timeout/96025 "2023-07-20T16:22:33Z")

</div>

Salutations! My goal is to scan a Java project built with Maven consisting of multiple modules. I receive the following error: Failed to upload report: Error 504 on https://sonarqube.redactedHostname.biz/api/ce/submit?…

---

## [Submodules changed files not tracked in for an iOS multi-module project](https://community.sonarsource.com/t/submodules-changed-files-not-tracked-in-for-an-ios-multi-module-project/88961)

<div class="topic-metadata">

**Author:** [@Moataz\_Akram](https://community.sonarsource.com/u/Moataz_Akram)\
**Replies:** 4\
**Last updated:** [April 19, 2023, 1:01pm UTC](https://community.sonarsource.com/t/submodules-changed-files-not-tracked-in-for-an-ios-multi-module-project/88961 "2023-04-19T13:01:07Z")

</div>

what are you trying to achieve We have a large framework with a lot of independent features, so now we are trying to make each feature a separate submodule to make it easier to import the submodule only and not the en…

---

## [Configure a multi module the right way](https://community.sonarsource.com/t/configure-a-multi-module-the-right-way/84761)

<div class="topic-metadata">

**Author:** [@moley77](https://community.sonarsource.com/u/moley77)\
**Replies:** 3\
**Last updated:** [February 28, 2023, 8:09am UTC](https://community.sonarsource.com/t/configure-a-multi-module-the-right-way/84761 "2023-02-28T08:09:11Z")

</div>

Hallo everyone, I have a multi module gradle project, different modules have different source folders available or even not (some have src/test/java or src/test/groovy, some have none). I am using for some projects the…

---

## [Sonarqube results get overwriten by the last subproject sonar task](https://community.sonarsource.com/t/sonarqube-results-get-overwriten-by-the-last-subproject-sonar-task/84065)

<div class="topic-metadata">

**Author:** [@irene\_ghafari](https://community.sonarsource.com/u/irene_ghafari)\
**Replies:** 1\
**Last updated:** [February 16, 2023, 2:22pm UTC](https://community.sonarsource.com/t/sonarqube-results-get-overwriten-by-the-last-subproject-sonar-task/84065 "2023-02-16T14:22:04Z")

</div>

I have a gradle project with multiple subprojects. And I have setup the sonarqube plugin but the Sonarqube results get overwriten by the last subproject sonar task. I expect to see each task, upload their results under t…

---

## [Why it looks for \[http://localhost:9000\]](https://community.sonarsource.com/t/why-it-looks-for-http-localhost-9000/70246)

<div class="topic-metadata">

**Author:** [@BogdanParashchak](https://community.sonarsource.com/u/BogdanParashchak)\
**Replies:** 4\
**Last updated:** [August 23, 2022, 8:12pm UTC](https://community.sonarsource.com/t/why-it-looks-for-http-localhost-9000/70246 "2022-08-23T20:12:32Z")

</div>

I’m trying to configure my Maven project for SonarCloud use in GitHub actions. I have such errors when building on GitHub actions: Error: SonarQube server \[http://localhost:9000\] can not be reached Error: Failed t…

---

## [Maven Multi-Module Project: No files nor directories matching 'value' (sonar.java.libraries)](https://community.sonarsource.com/t/maven-multi-module-project-no-files-nor-directories-matching-value-sonar-java-libraries/68564)

<div class="topic-metadata">

**Author:** [@anon53265978](https://community.sonarsource.com/u/anon53265978)\
**Replies:** 3\
**Last updated:** [July 22, 2022, 1:14pm UTC](https://community.sonarsource.com/t/maven-multi-module-project-no-files-nor-directories-matching-value-sonar-java-libraries/68564 "2022-07-22T13:14:15Z")

</div>

Versions SonarQube: 7.5.0\* Sonar Maven Plugin: 3.9.1.2184 \*I am aware much newer versions of SonarQube are available. Unfortunately I do not have the permissions necessary within my organization to perform the upgrade. …

---

## [Java Project with multi modules](https://community.sonarsource.com/t/java-project-with-multi-modules/67705)

<div class="topic-metadata">

**Author:** [@rtiou](https://community.sonarsource.com/u/rtiou)\
**Replies:** 5\
**Last updated:** [July 11, 2022, 4:10pm UTC](https://community.sonarsource.com/t/java-project-with-multi-modules/67705 "2022-07-11T16:10:54Z")

</div>

Tech Stack: JDK 17; Spring Boot 2.6.6 Maven 3.8.5 Gitlab Enterprise Edition 14.10.0-ee My Java project is using multiple modules, I followed this guide here. You can see here how my project is organized: Into the …

---

## [Cross-module JaCoCo Gradle coverage works for Android modules, but not for Java/Kotlin ones](https://community.sonarsource.com/t/cross-module-jacoco-gradle-coverage-works-for-android-modules-but-not-for-java-kotlin-ones/55403)

<div class="topic-metadata">

**Author:** [@JonatanPlesko](https://community.sonarsource.com/u/JonatanPlesko)\
**Replies:** 1\
**Last updated:** [December 21, 2021, 7:53pm UTC](https://community.sonarsource.com/t/cross-module-jacoco-gradle-coverage-works-for-android-modules-but-not-for-java-kotlin-ones/55403 "2021-12-21T19:53:40Z")

</div>

Observed with both SonarQube LTS 8.9.2 and 9.2.4 (Developer edition). Reproduced with a minimum reproducible example of a Java/Kotlin module pair (“kotlin-source” and “kotlin-test”), and another Android module pair (“an…

---

## [Multimodule project](https://community.sonarsource.com/t/multimodule-project/47004)

<div class="topic-metadata">

**Author:** [@Manoj\_Chander](https://community.sonarsource.com/u/Manoj_Chander)\
**Replies:** 0\
**Last updated:** [July 25, 2021, 11:04am UTC](https://community.sonarsource.com/t/multimodule-project/47004 "2021-07-25T11:04:31Z")

</div>

\*\*\* \* Sonar qube Community Edition\*\* \*\* Version 8.9 (build 43852)\*\*\*\* \*\*VM spec \*\* \*\*4GB RAM \*\* 2core sonar qube analysis . My projects structure : rootproj -.gradlew proj1 sub.proj1.1 sub.proj1.2 sub.proj1.3 …

---

## [SonarQube : Can not get LOC calculated for the src/test classes](https://community.sonarsource.com/t/sonarqube-can-not-get-loc-calculated-for-the-src-test-classes/44671)

<div class="topic-metadata">

**Author:** [@Malindu](https://community.sonarsource.com/u/Malindu)\
**Replies:** 3\
**Last updated:** [June 15, 2021, 8:16am UTC](https://community.sonarsource.com/t/sonarqube-can-not-get-loc-calculated-for-the-src-test-classes/44671 "2021-06-15T08:16:24Z")

</div>

Must-share information (formatted with Markdown): which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension) sonarqube-8.6.0.39681 server to display Jacoco pertest coverage what are you tryi…

---

## [Sonar maven Multi module issue with azure devops integration](https://community.sonarsource.com/t/sonar-maven-multi-module-issue-with-azure-devops-integration/44513)

<div class="topic-metadata">

**Author:** [@suryabaiarava](https://community.sonarsource.com/u/suryabaiarava)\
**Replies:** 4\
**Last updated:** [June 12, 2021, 12:39pm UTC](https://community.sonarsource.com/t/sonar-maven-multi-module-issue-with-azure-devops-integration/44513 "2021-06-12T12:39:52Z")

</div>

Sonar Version 7.9 (build 26994) Maven azure devops plugin 3.186.0 Issue: we have 4 modules defined in java project when we ran CI build via azure devops code coverage shows exact data in azure devops but in sonar it s…

---

## [SonarCloud with multi module Android project (Java + Kotlin) using Kotlin KTS](https://community.sonarsource.com/t/sonarcloud-with-multi-module-android-project-java-kotlin-using-kotlin-kts/44159)

<div class="topic-metadata">

**Author:** [@tosulc](https://community.sonarsource.com/u/tosulc)\
**Replies:** 4\
**Last updated:** [June 4, 2021, 10:03am UTC](https://community.sonarsource.com/t/sonarcloud-with-multi-module-android-project-java-kotlin-using-kotlin-kts/44159 "2021-06-04T10:03:40Z")

</div>

We’re using Github as source control and Jenkins as CI system. Our Android project consists of Java (66%) and Kotlin (34%), it’s split into multiple modules (\>10) and we’re using Kotlin KTS for syncing dependencies. My …

---

## [Multi-project with Gradle. How to separate multi-project in individual project](https://community.sonarsource.com/t/multi-project-with-gradle-how-to-separate-multi-project-in-individual-project/43225)

<div class="topic-metadata">

**Author:** [@SaveurDeLime](https://community.sonarsource.com/u/SaveurDeLime)\
**Replies:** 1\
**Last updated:** [May 14, 2021, 3:56am UTC](https://community.sonarsource.com/t/multi-project-with-gradle-how-to-separate-multi-project-in-individual-project/43225 "2021-05-14T03:56:36Z")

</div>

SonarQube version : 3.2.0 Sonar-scanner : 3.1.0 Hi, I’m i new to sonarqube and was task to add sonarcloud to our bitbucket pipeline. I decided that i wanted to be able to run it locally first before adding it to the pi…
