diff options
author | Bjørn Christian Seime <bjorncs@oath.com> | 2017-10-25 11:52:44 +0200 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@oath.com> | 2017-10-25 12:03:59 +0200 |
commit | 5e7c7a542a5d759f25def794602cf81d7da2228b (patch) | |
tree | 802bc5f6c986cd3ae53ddd09c3fd3f3b5d4628d8 /athenz-identity-provider-service | |
parent | 3fe50f907c9ff82f97c6a1570cdfc9fd07aec85f (diff) |
Exclude slf4j-api from Athenz dependencies
slf4j-api must be excluded, otherwise bundle will fail on class loading
because of a loader constraint violation.
Diffstat (limited to 'athenz-identity-provider-service')
-rw-r--r-- | athenz-identity-provider-service/pom.xml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/athenz-identity-provider-service/pom.xml b/athenz-identity-provider-service/pom.xml index b5d9da3572c..3d117ce25cb 100644 --- a/athenz-identity-provider-service/pom.xml +++ b/athenz-identity-provider-service/pom.xml @@ -18,6 +18,11 @@ <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> @@ -33,6 +38,13 @@ <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> |