From 0c53bc38a8039826ac652e574552b2af698aa795 Mon Sep 17 00:00:00 2001 From: Adam Kunicki Date: Mon, 15 Aug 2016 16:06:56 -0700 Subject: [PATCH] Shade jersey dependencies in JDBC to avoid conflicts with jersey-test. --- modules/jdbc/pom.xml | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/modules/jdbc/pom.xml b/modules/jdbc/pom.xml index 5e7ef327bf9..51c8cd60df0 100644 --- a/modules/jdbc/pom.xml +++ b/modules/jdbc/pom.xml @@ -40,11 +40,29 @@ + + + + com.google.common org.testcontainers.shaded.com.google.common + + org.glassfish + org.testcontainers.shaded.org.glassfish + + + javax.ws.rs + org.testcontainers.shaded.javax.ws.rs + + + com.fasterxml.jackson + org.testcontainers.shaded.com.fasterxml.jackson + @@ -55,10 +73,22 @@ META-INF/*.RSA + + *:* + + META-INF/services/com.fasterxml.jackson.core.* + META-INF/services/com.github.dockerjava.api.command.* + META-INF/services/javax.ws.rs.ext.* + META-INF/services/org.glassfish.hk2.extension.* + META-INF/services/org.jvnet.hk2.external.generator.* + META-INF/services/org.glassfish.jersey.internal.spi.* + + com.google.guava:* + org.glassfish.*:* true @@ -67,4 +97,4 @@ - \ No newline at end of file +