aboutsummaryrefslogtreecommitdiffstats
path: root/container-test
diff options
context:
space:
mode:
authorgjoranv <gv@verizonmedia.com>2021-05-01 17:47:56 +0200
committergjoranv <gv@verizonmedia.com>2021-05-01 23:46:23 +0200
commit97801ce0bf8921478d65e389b75adb245af63f7d (patch)
tree3077ba0e1d28ff32e0b9d0ef8b63456a6959bf9a /container-test
parente3ba7773401be957ea99f65d5108608e61a34763 (diff)
Exclude jakarta artifacts that conflict or overlap
.. with jaxb/javax artifacts. The jakarta bind-api artifact makes user projects that include vespa-http-client-extensions import its version of javax.xml.bind (2.3.2), rather than the version exported from jdisc (2.3). - Note that, contrary to logic, we must also exclude it from container-test to avoid user projects from getting it in scope provided instead of (the correct) test scope.
Diffstat (limited to 'container-test')
-rw-r--r--container-test/pom.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/container-test/pom.xml b/container-test/pom.xml
index 3eebd64cc82..ee39fa7db3f 100644
--- a/container-test/pom.xml
+++ b/container-test/pom.xml
@@ -39,6 +39,18 @@
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-xml</artifactId>
+ <exclusions>
+ <exclusion>
+ <!-- See comment in container-dev pom -->
+ <groupId>jakarta.xml.bind</groupId>
+ <artifactId>jakarta.xml.bind-api</artifactId>
+ </exclusion>
+ <exclusion>
+ <!-- See comment in container-dev pom -->
+ <groupId>jakarta.activation</groupId>
+ <artifactId>jakarta.activation-api</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>io.airlift</groupId>