Skip to content

Commit 23db939

Browse files
committed
Harmonize activation dependency version
1 parent 9b66428 commit 23db939

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

rest/core/pom.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,18 @@
4343
<groupId>com.fasterxml.jackson.jaxrs</groupId>
4444
<artifactId>jackson-jaxrs-json-provider</artifactId>
4545
<version>${jackson.version}</version>
46+
<exclusions>
47+
<exclusion>
48+
<groupId>jakarta.activation</groupId>
49+
<artifactId>jakarta.activation-api</artifactId>
50+
</exclusion>
51+
</exclusions>
52+
</dependency>
53+
<!-- Bump activation API to make it even with jersey2 module -->
54+
<dependency>
55+
<groupId>jakarta.activation</groupId>
56+
<artifactId>jakarta.activation-api</artifactId>
57+
<version>1.2.2</version>
4658
</dependency>
4759

4860
<!-- PROVIDED -->

rest/jersey2/pom.xml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -103,14 +103,6 @@
103103
<scope>provided</scope>
104104
</dependency>
105105

106-
<!-- The dependency below is no longer part of Java 9 but is required for now -->
107-
<!-- Remove it when Jersey no longer relies on it -->
108-
<dependency>
109-
<groupId>javax.activation</groupId>
110-
<artifactId>javax.activation-api</artifactId>
111-
<version>${javax.activation.version}</version>
112-
</dependency>
113-
114106
<!-- TESTS -->
115107
<dependency>
116108
<groupId>org.jmockit</groupId>

0 commit comments

Comments
 (0)