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.
This commit is contained in:
Eric Anderson 2021-05-11 11:54:47 -07:00 committed by Eric Anderson
parent 8dc16cd569
commit 1882c47eb9
1 changed files with 1 additions and 0 deletions

View File

@ -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