Why do Jacoco excludes java classes?

余生颓废 提交于 2019-12-25 02:46:29

问题


I'm running the command mvn sonar:sonar.

Here's the output from Jenkins:

[JaCoCo plugin] Source Inclusions: **/*.java
[JaCoCo plugin] Source Exclusions: 
[JaCoCo plugin] - <PATH>/workspace/<MODULE1>/src/main/java 10 files
[JaCoCo plugin] - <PATH>/workspace/<MODULE2>/src/main/java 1 files
[JaCoCo plugin] - <PATH>/workspace/<MODULE3>/src/main/java 65 files
[JaCoCo plugin] - <PATH>/workspace/<MODULE4>/src/main/java 5 files
[JaCoCo plugin] - <PATH>/workspace/<MODULE5>/src/main/java 64 files

Why do the Jacoco plugin exclude these java files?

I don't have any <exclude> tag in my jacoco-maven-plugin configuration


回答1:


Here's the output from Jenkins:

[JaCoCo plugin] Source Inclusions: **/*.java
[JaCoCo plugin] Source Exclusions: 
[JaCoCo plugin] - <PATH>/workspace/<MODULE1>/src/main/java 10 files

Why do the Jacoco plugin exclude these java files?

I don't have any <exclude> tag in my jacoco-maven-plugin configuration

These messages produced by Jenkins Plugin, which has its own configuration unrelated to configuration of jacoco-maven-plugin.



来源:https://stackoverflow.com/questions/55279463/why-do-jacoco-excludes-java-classes

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