# Sonar maven Multi module issue with azure devops integration

**URL:** <https://community.sonarsource.com/t/sonar-maven-multi-module-issue-with-azure-devops-integration/44513>\
**Category:** SonarQube Server / Community Build\
**Tags:** multi-module, azuredevops-server, maven, sonarqube\
**Created:** [June 9, 2021, 11:30am UTC](https://community.sonarsource.com/t/sonar-maven-multi-module-issue-with-azure-devops-integration/44513 "2021-06-09T11:30:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![suryabaiarava](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/suryabaiarava/32/22837_2.png) [@suryabaiarava](https://community.sonarsource.com/u/suryabaiarava)\
**Post date:** [June 9, 2021, 11:30am UTC](https://community.sonarsource.com/t/sonar-maven-multi-module-issue-with-azure-devops-integration/44513/1 "2021-06-09T11:30:21Z")

</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 shows only last module which was built.

i have verified xml it has all the modules info.

example in parent pom i have defined by modules in below order only module D coverage is visible in sonar

 A B C D 

Expected:  
It should show exact results of all java modules in sonar similar to azure devops

---

<div class="post-metadata">

**Author:** ![ganncamp](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/ganncamp/32/1261_2.png) [@ganncamp](https://community.sonarsource.com/u/ganncamp)\
**Post date:** [June 9, 2021, 2:34pm UTC](https://community.sonarsource.com/t/sonar-maven-multi-module-issue-with-azure-devops-integration/44513/2 "2021-06-09T14:34:31Z")

</div>

Hi,

Welcome to the community!

First, it’s incumbent upon me to point out that your version is past EOL. You should upgrade to 8.9.1 at your earliest convenience.

Regarding your question, can you post your analysis logs (code-formatted, please)? Also, is it just the coverage that isn’t shown correctly? The rest of the analysis works as expected?

&nbsp;  
Ann

---

<div class="post-metadata">

**Author:** ![suryabaiarava](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/suryabaiarava/32/22837_2.png) [@suryabaiarava](https://community.sonarsource.com/u/suryabaiarava)\
**Post date:** [June 9, 2021, 4:13pm UTC](https://community.sonarsource.com/t/sonar-maven-multi-module-issue-with-azure-devops-integration/44513/3 "2021-06-09T16:13:35Z")

</div>

thanks for your reply @ganncamp

As mentioned we are using azure devops sonar plugin so you want to me share azure devops maven plugin build logs or sonarqube prepare logs i.e SonarQubePrepare@4

---

<div class="post-metadata">

**Author:** ![ganncamp](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/ganncamp/32/1261_2.png) [@ganncamp](https://community.sonarsource.com/u/ganncamp)\
**Post date:** [June 9, 2021, 4:15pm UTC](https://community.sonarsource.com/t/sonar-maven-multi-module-issue-with-azure-devops-integration/44513/4 "2021-06-09T16:15:51Z")

</div>

Hi,

It’s not clear to me what the distinction is. I want to see the logging related to analysis & the processing of the coverage reports.

&nbsp;  
Ann

---

<div class="post-metadata">

**Author:** ![suryabaiarava](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/suryabaiarava/32/22837_2.png) [@suryabaiarava](https://community.sonarsource.com/u/suryabaiarava)\
**Post date:** [June 12, 2021, 12:39pm UTC](https://community.sonarsource.com/t/sonar-maven-multi-module-issue-with-azure-devops-integration/44513/5 "2021-06-12T12:39:52Z")

</div>

hi,

i cant share the whole logs as per our company policy but i can confirm that whole coverage appears in Azure devops tab and generated XML has whole class analysis data.  
let me know if there is some private link we can share logs or any other settings you want me to check.
