sijie closed pull request #2197: unshade avro in pulsar-client-schema URL: https://github.com/apache/incubator-pulsar/pull/2197
This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/pulsar-client-schema/pom.xml b/pulsar-client-schema/pom.xml index a7d9f470d5..7ee5646aeb 100644 --- a/pulsar-client-schema/pom.xml +++ b/pulsar-client-schema/pom.xml @@ -285,8 +285,20 @@ <relocation> <pattern>org.apache.avro</pattern> <shadedPattern>org.apache.pulsar.shade.org.apache.avro</shadedPattern> - </relocation> - <!-- Avro transitive dependencies--> + <excludes> + <exclude>org.apache.avro.reflect.AvroAlias</exclude> + <exclude>org.apache.avro.reflect.AvroDefault</exclude> + <exclude>org.apache.avro.reflect.AvroEncode</exclude> + <exclude>org.apache.avro.reflect.AvroIgnore</exclude> + <exclude>org.apache.avro.reflect.AvroMeta</exclude> + <exclude>org.apache.avro.reflect.AvroName</exclude> + <exclude>org.apache.avro.reflect.AvroSchema</exclude> + <exclude>org.apache.avro.reflect.Nullable</exclude> + <exclude>org.apache.avro.reflect.Stringable</exclude> + <exclude>org.apache.avro.reflect.Union</exclude> + </excludes> + </relocation> + <!--Avro transitive dependencies--> <relocation> <pattern>org.codehaus.jackson</pattern> <shadedPattern>org.apache.pulsar.shade.org.codehaus.jackson</shadedPattern> ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services