Fix issue that skywalking-agent.jar include the google class and exclude the proto files inside protobuf-java

This commit is contained in:
ascrutae 2017-06-29 22:56:27 +08:00
parent 19584b6f8f
commit 76806a2798
2 changed files with 9 additions and 1 deletions

View File

@ -140,6 +140,14 @@
<shadedPattern>${shade.io.netty.target}</shadedPattern>
</relocation>
</relocations>
<filters>
<filter>
<artifact>com.google.protobuf:protobuf-java</artifact>
<excludes>
<exclude>google/</exclude>
</excludes>
</filter>
</filters>
</configuration>
</execution>
</executions>

View File

@ -151,7 +151,7 @@
<exclude>*:gson</exclude>
<exclude>io.grpc:*</exclude>
<exclude>io.netty:*</exclude>
<exclude>com.google.protobuf:*</exclude>
<exclude>com.google.*:*</exclude>
<exclude>com.google.guava:guava</exclude>
</excludes>
</artifactSet>