Skip to content

Commit a76ab3f

Browse files
committed
Update Readme for Jakarta Support
Update for dynamic module reference in shade,
1 parent 85b4dca commit a76ab3f

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

README.md

+12
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,18 @@ licensed as per:
2727

2828
whereas 3.0 will use [ByteBuddy](https://github.com/raphw/byte-buddy) (licensed as per https://github.com/raphw/byte-buddy/blob/master/LICENSE)
2929

30+
31+
## Using Jakarta
32+
* Jakarta can be referenced for the JAXB module by using the classifier "jakarta" in your dependency
33+
```
34+
<dependency>
35+
<groupId>com.fasterxml.jackson.jaxrs</groupId>
36+
<artifactId>jackson-module-jaxb-annotations</artifactId>
37+
<classifier>jakarta</classifier>
38+
</dependency>
39+
```
40+
41+
3042
## Status
3143

3244
[![Build Status](https://travis-ci.org/FasterXML/jackson-modules-base.svg)](https://travis-ci.org/FasterXML/jackson-modules-base)

jaxb/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ data-binding.
119119
<createDependencyReducedPom>false</createDependencyReducedPom>
120120
<artifactSet>
121121
<includes>
122-
<include>com.fasterxml.jackson.module:jackson-module-jaxb-annotations</include>
122+
<include>${project.groupId}:${project.artifactId}</include>
123123
</includes>
124124
</artifactSet>
125125
<relocations>

0 commit comments

Comments
 (0)