[
https://issues.apache.org/jira/browse/SUREFIRE-1630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Slawomir Jaranowski closed SUREFIRE-1630.
-----------------------------------------
Resolution: Feedback Received
Thanks for answer - so I close the issue assuming the is working now, if you
have another problem please open another one.
> sonarqube reports 0% coverage with maven-surefire-plugin versions later than
> 2.20
> ---------------------------------------------------------------------------------
>
> Key: SUREFIRE-1630
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1630
> Project: Maven Surefire
> Issue Type: Bug
> Affects Versions: 2.20.1, 2.21.0, 2.22.0, 2.22.1
> Environment: Debian 9.7 "stretch", amd64, openjdk-8
> 8u181-b13-2~deb9u1, maven 3.3.9-4, JUnit 5.1.0
> Reporter: Steinar Bang
> Priority: Major
> Labels: waiting-for-feedback
>
> I create sonar reports with the following command line and no sonar or jacoco
> config in my POMS:
> {noformat}
> mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent install sonar:sonar
> {noformat}
> With maven surefire plugin 2.x versions newer than 2.20 the resulting sonar
> report shows 0% test coverage.
> My workaround to get coverage back, was to downgrade to surefire 2.20.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)