From f2f016146faf349a507bc9d2dbf4cca162ba7203 Mon Sep 17 00:00:00 2001 From: Eric Anderson Date: Tue, 11 May 2021 11:51:03 -0700 Subject: [PATCH] netty: Remove Maven pom.properties from netty-shaded The pom.properties are apparently present to allow tooling to know what Maven artifact cooresponds to a JAR, just by looking at the JAR. Since we shade Netty, that produces inaccurate results. This was brought up in #8077. --- netty/shaded/build.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/netty/shaded/build.gradle b/netty/shaded/build.gradle index 37c5428b1585..551ed67b47a9 100644 --- a/netty/shaded/build.gradle +++ b/netty/shaded/build.gradle @@ -31,6 +31,7 @@ shadowJar { include(project(':grpc-netty')) include(dependency('io.netty:')) } + exclude 'META-INF/maven/**' relocate 'io.grpc.netty', 'io.grpc.netty.shaded.io.grpc.netty' relocate 'io.netty', 'io.grpc.netty.shaded.io.netty' // We have to be careful with these replacements as they must not match any