Skip to content

Commit 9dc8c87

Browse files
committed
Re-apply #235 but now with 2.18 target (not sure what happened earlier)
1 parent 8fbbd39 commit 9dc8c87

File tree

3 files changed

+20
-8
lines changed

3 files changed

+20
-8
lines changed

jaxb/pom.xml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ for configuring data-binding.
3737
-->
3838
<osgi.import>javax.activation;resolution:=optional,*</osgi.import>
3939

40+
<!-- 20-May-2024, tatu: no longer needed it seems:
4041
<version.jaxb.impl>2.3.3</version.jaxb.impl>
42+
-->
4143
</properties>
4244
<dependencies>
4345
<!-- Extends Jackson core and mapper; minor dep on annotations too (JsonInclude) -->
@@ -55,13 +57,13 @@ for configuring data-binding.
5557
</dependency>
5658

5759
<!-- and actual JAXB annotations, types -->
58-
<!-- NOTE! Despite groupId, this is "old" JAXB, not Jakarta
59-
(3.x is real Jakarta one)
60-
-->
60+
<!-- 20-May-2024: [modules-base#233]: Tolerate [2.2,3) for javax.xml.bind Import-Package
61+
in the generated MANIFEST.MF -->
62+
<!-- https://mvnrepository.com/artifact/javax.xml.bind/jaxb-api -->
6163
<dependency>
62-
<groupId>jakarta.xml.bind</groupId>
63-
<artifactId>jakarta.xml.bind-api</artifactId>
64-
<version>${version.jaxb.impl}</version>
64+
<groupId>javax.xml.bind</groupId>
65+
<artifactId>jaxb-api</artifactId>
66+
<version>2.2.12</version>
6567
</dependency>
6668

6769
<!-- 14-Mar-2019, tatu: Looks like this is needed for JDK11 and later
@@ -73,12 +75,14 @@ for configuring data-binding.
7375
</dependency>
7476

7577
<!-- may also need JAXB impl for tests -->
78+
<!-- 20-May-2024, tatu: no longer needed it seems:
7679
<dependency>
7780
<groupId>org.glassfish.jaxb</groupId>
7881
<artifactId>jaxb-runtime</artifactId>
7982
<version>${version.jaxb.impl}</version>
8083
<scope>test</scope>
8184
</dependency>
85+
-->
8286

8387
</dependencies>
8488

release-notes/CREDITS-2.x

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,12 @@ Eran Leshem (@eranl)
142142

143143
Sammy Chu (@sammyhk)
144144

145-
* Reported#231: (jakarta-xmlbind) Missed change of `javax.activation;resolution:=optional`
145+
* Reported #231: (jakarta-xmlbind) Missed change of `javax.activation;resolution:=optional`
146146
to `jakarta.activation;resolution:=optional` in `jakarta-xmlbind/pom.xml`
147147
(2.16.1)
148+
149+
Jack Dunning (@JDUNNIN)
150+
151+
* Contributed #233: (jaxb) Tolerate JAX-RS 2.2 in jackson-module-jaxb-annotations so
152+
that it can be deployed in Liberty alongside features which use 2.2
153+
(2.18.0)

release-notes/VERSION-2.x

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ Active maintainers:
2525

2626
2.18.0 (not yet released)
2727

28-
No changes since 2.17
28+
#233: (jaxb) Tolerate JAX-RS 2.2 in jackson-module-jaxb-annotations so
29+
that it can be deployed in Liberty alongside features which use 2.2
30+
(contributed by Jack D)
2931

3032
2.17.1 (04-May-2024)
3133
2.17.0 (12-Mar-2024)

0 commit comments

Comments
 (0)