Why do Jacoco excludes java classes?

2019-08-16 06:13发布

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条回答
劫难
2楼-- · 2019-08-16 06:39

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.

查看更多
登录 后发表回答