# Jacoco plugin not showing any code coverage for Java code

**URL:** <https://community.sonarsource.com/t/jacoco-plugin-not-showing-any-code-coverage-for-java-code/22749>\
**Category:** SonarQube Cloud\
**Created:** [April 7, 2020, 11:50pm UTC](https://community.sonarsource.com/t/jacoco-plugin-not-showing-any-code-coverage-for-java-code/22749 "2020-04-07T23:50:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yamini](https://avatars.discourse-cdn.com/v4/letter/y/919ad9/32.png) [@yamini](https://community.sonarsource.com/u/yamini)\
**Post date:** [April 7, 2020, 11:50pm UTC](https://community.sonarsource.com/t/jacoco-plugin-not-showing-any-code-coverage-for-java-code/22749/1 "2020-04-07T23:50:03Z")

</div>

Java version - JDK 11  
indent preformatted text by 4 spaces  
Added below properties in pom file

> Blockquote  
>   
> \<jacoco.version\>0.8.4\</jacoco.version\>  
> \<sonar.coverage.jacoco.xmlReportPaths\>…/target/site/jacoco-aggregate/jacoco.xml\</sonar.coverage.jacoco.xmlReportPaths\>  
> \<sonar.projectName\>ff-product-service-grpc\</sonar.projectName\>  
> \<sonar.projectKey\>twgnz-ff-product-service-grpc\</sonar.projectKey\>

I followed all the below documents but nothing seems to be working, wondering will jdk 11 works with Sonarcloud (as I am newely started using sonarcloud wondering where to find the version on sonarcloud I am using)

> **[Code Coverage with Jacoco, Sonarqube, and Maven](https://medium.com/codeops/code-coverage-with-jacoco-sonarqube-and-maven-59fb04a9a383)**
>
> In my earlier post on What is BDD and Why, I explained what BDD is and why its necessary to adopt this development style. I also touched…

[https://wiki.onap.org/display/DW/Implementing+Code+Coverage](https://wiki.onap.org/display/DW/Implementing+Code+Coverage)

> **[Part 2 - Integrate JaCoCo plugin with Sonar and Maven for Code Coverage](https://onlyfullstack.blogspot.com/2019/02/integrate-jacoco-plugin-with-sonar-and-maven.html)**
>
> configure JaCoCo with Maven & Sonar, integrate JaCoCo plugin with Sonar and Maven for Code Coverage,

---

<div class="post-metadata">

**Author:** ![TomVanBraband](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/tomvanbraband/32/46480_2.png) [@TomVanBraband](https://community.sonarsource.com/u/TomVanBraband)\
**Post date:** [April 8, 2020, 8:08am UTC](https://community.sonarsource.com/t/jacoco-plugin-not-showing-any-code-coverage-for-java-code/22749/2 "2020-04-08T08:08:09Z")

</div>

Hello @yamini,

Could you share a bit more about set-up and could you share the log output of the scanner? This should contain some information as to why your coverage reports are not being picked up.

Thanks,  
Tom
