Does maven sonarqube plugin reads failsafe reports?

拥有回忆 提交于 2019-12-13 03:58:28

问题


I am using 3.6 maven sonar plugin . While seeing with mvn sonar:sonar -X , I did not see sonar searching for failsafe report. (Finding it or not finding it is different thing )

According to this doc , I think it cannot be configured for failsafe reports for integration test.

Does mvn sonar:sonar reads failsafe reports ? If yes , how ?

I have mentioned these properties in my POM:

    <sonar.jacoco.reportPath>/Users/xxx/site-order/service/target/jacoco.exec</sonar.jacoco.reportPath>
    <sonar.jacoco.reportPaths>/Users/xxx/site-order/service/target/jacoco.exec</sonar.jacoco.reportPaths>
    <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
    <sonar.junit.itReportsPath>/Users/xxx/site-order/service/target/failsafe-reports</sonar.junit.itReportsPath>

回答1:


I asked the same question on sonarqube forum and I got the reply that there is no such direct support in sonarqube maven plugin. Also, look here.



来源:https://stackoverflow.com/questions/56027391/does-maven-sonarqube-plugin-reads-failsafe-reports

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!