mirror of
https://github.com/jlengrand/quarkus.git
synced 2026-03-10 08:41:22 +00:00
Be more creative about JAXB exclusion to avoid issues with REST Assured
Note that it's really just to avoid REST Assured dependency to be overly verbose on JDK 11+ as the JAXB dependency is really needed there.
This commit is contained in:
@@ -59,6 +59,8 @@
|
||||
<jakarta.validation-api.version>2.0.2</jakarta.validation-api.version>
|
||||
<jakarta.websocket-api.version>1.1.2</jakarta.websocket-api.version>
|
||||
<jaxb-runtime.version>2.3.3-b01</jaxb-runtime.version>
|
||||
<!-- just for test dependency convergence -->
|
||||
<jaxb-api.version>2.3.1</jaxb-api.version>
|
||||
<jboss-jaxrs-api_2.1_spec.version>2.0.1.Final</jboss-jaxrs-api_2.1_spec.version>
|
||||
<jboss-jaxb-api_2.3_spec.version>2.0.0.Final</jboss-jaxb-api_2.3_spec.version>
|
||||
<asm.version>7.1</asm.version>
|
||||
@@ -912,8 +914,8 @@
|
||||
<artifactId>activation</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>javax.xml.bind</groupId>
|
||||
<artifactId>jaxb-api</artifactId>
|
||||
<groupId>javax.activation</groupId>
|
||||
<artifactId>javax.activation-api</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<!-- https://github.com/quarkusio/quarkus/issues/1991 -->
|
||||
@@ -926,6 +928,11 @@
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>javax.xml.bind</groupId>
|
||||
<artifactId>jaxb-api</artifactId>
|
||||
<version>${jaxb-api.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.rest-assured</groupId>
|
||||
<artifactId>json-schema-validator</artifactId>
|
||||
|
||||
@@ -256,6 +256,10 @@
|
||||
<exclude>org.slf4j:slf4j-log4j12</exclude>
|
||||
<exclude>org.slf4j:slf4j-log4j13</exclude>
|
||||
</excludes>
|
||||
<includes>
|
||||
<!-- this is for REST Assured -->
|
||||
<include>javax.xml.bind:jaxb-api:*:*:test</include>
|
||||
</includes>
|
||||
</bannedDependencies>
|
||||
</rules>
|
||||
</configuration>
|
||||
|
||||
Reference in New Issue
Block a user