You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2019/10/01 11:06:48 UTC

[skywalking] branch master updated: Exclude generated sources from test coverage (#3554)

This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking.git


The following commit(s) were added to refs/heads/master by this push:
     new ecf9d6b  Exclude generated sources from test coverage (#3554)
ecf9d6b is described below

commit ecf9d6b43942bff3b924bda24ea2f15f302c1ab3
Author: kezhenxu94 <ke...@apache.org>
AuthorDate: Tue Oct 1 19:06:37 2019 +0800

    Exclude generated sources from test coverage (#3554)
    
    * Exclude generated sources from test coverage
    
    * Exclude more generated sources
---
 pom.xml | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 641d0a8..b377570 100755
--- a/pom.xml
+++ b/pom.xml
@@ -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>