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
```        &lt;dependency&gt;
            &lt;groupId&gt;org.apache.pulsar&lt;/groupId&gt;
            &lt;artifactId&gt;pulsar-client&lt;/artifactId&gt;
            &lt;version&gt;${version.pulsar}&lt;/version&gt;
        &lt;/dependency&gt;```
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:
&gt;&gt;&gt;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
----