Exclude generated sources from test coverage (#3554)

* Exclude generated sources from test coverage

* Exclude more generated sources
This commit is contained in:
kezhenxu94 2019-10-01 19:06:37 +08:00 committed by 吴晟 Wu Sheng
parent 179914d7b9
commit ecf9d6b439
1 changed files with 9 additions and 1 deletions

10
pom.xml
View File

@ -541,7 +541,15 @@
<excludes>
<exclude>org/apache/skywalking/**/*Test.class</exclude>
<exclude>org/apache/skywalking/**/Test*.class</exclude>
<exclude>**/generated-sources/**</exclude>
<exclude>org/apache/skywalking/apm/network/register/v2/**/*.class</exclude>
<exclude>org/apache/skywalking/apm/network/common/**/*.class</exclude>
<exclude>org/apache/skywalking/apm/network/servicemesh/**/*.class</exclude>
<exclude>org/apache/skywalking/apm/network/language/**/*.class</exclude>
<exclude>org/apache/skywalking/oap/server/core/remote/grpc/proto/*.class</exclude>
<exclude>org/apache/skywalking/oal/rt/grammar/*.class</exclude>
<exclude>org/apache/skywalking/oap/server/exporter/grpc/*.class</exclude>
<exclude>org/apache/skywalking/oap/server/configuration/service/*.class</exclude>
<exclude>grpc/health/v1/*.class</exclude>
</excludes>
</instrumentation>
</configuration>