You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pulsar.apache.org by Apache Pulsar Slack <ap...@gmail.com> on 2018/09/24 09:11:03 UTC
Slack digest for #general - 2018-09-24
2018-09-23 19:25:12 UTC - Mark Addison: We are using `maven-enforcer-plugin` to ensure we don't include duplicate classes, when I build with
``` <dependency>
<groupId>org.apache.pulsar</groupId>
<artifactId>pulsar-client</artifactId>
<version>${version.pulsar}</version>
</dependency>```
This pulls in both *pulsar-client:jar* and *pulsar-client-schema.jar* I expect this is because of the pom file.
----
2018-09-23 19:25:49 UTC - Mark Addison: Error is:
>>>Duplicate classes found:
Found in:
org.apache.pulsar:pulsar-client:jar:2.1.0-incubating:compile
org.apache.pulsar:pulsar-client-schema:jar:2.1.0-incubating:compile
Duplicate classes: org/apache/pulsar/shade/com/fasterxml/jackson/databind/deser/std/NullifyingDeserializer.class
----
2018-09-23 19:27:34 UTC - Mark Addison: *Could the jackson XML classes not be added into a separate module e.g. pulsar-xml or pulsar-common*?
----
2018-09-23 19:28:28 UTC - Mark Addison: BTW version-pulsar is `2.1.0-incubating` though I realise this has been superseded recently
----
2018-09-23 20:11:46 UTC - Mate Varga: If they're the same classes (and you are sure) then you can ignore the check.
----
2018-09-23 22:15:16 UTC - Ali Ahmed: it can be considered can you open an issue for it
----
2018-09-24 06:22:39 UTC - Mark Addison: Yes, sure
----