From cc95b982a838e3c96582a8cc0eac1655e74657ca Mon Sep 17 00:00:00 2001 From: Eric Anderson Date: Tue, 11 May 2021 11:54:47 -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 noticed in 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 37c5428b158..551ed67b47a 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