Exclude slf4j-api from Athenz dependencies
slf4j-api must be excluded, otherwise bundle will fail on class loading
because of a loader constraint violation.
<artifactId>athenz-zms-java-client</artifactId>
<scope>compile</scope>
<exclusions>
+ <!-- Provided by JDisc / container-dev -->
+ <exclusion>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ </exclusion>
<!--Exclude all Jersey bundles provided by JDisc-->
<exclusion>
<groupId>org.glassfish.jersey.core</groupId>
<groupId>com.yahoo.athenz</groupId>
<artifactId>athenz-zts-java-client</artifactId>
<scope>compile</scope>
+ <exclusions>
+ <!-- Provided by JDisc / container-dev -->
+ <exclusion>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.datatype</groupId>
