Skip to content

Commit c30cb73

Browse files
committed
[fix][admin] Add javax.xml.bind:jaxb-api to shade
Signed-off-by: nodece <nodeces@gmail.com>
1 parent 6c89467 commit c30cb73

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

pulsar-client-admin-shaded/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@
131131
<include>com.yahoo.datasketches:sketches-core</include>
132132
<include>org.glassfish.jersey*:*</include>
133133
<include>javax.ws.rs:*</include>
134+
<include>javax.xml.bind:jaxb-api</include>
134135
<include>jakarta.annotation:*</include>
135136
<include>org.glassfish.hk2*:*</include>
136137
<include>io.grpc:*</include>
@@ -230,6 +231,10 @@
230231
<pattern>javax.annotation</pattern>
231232
<shadedPattern>org.apache.pulsar.shade.javax.annotation</shadedPattern>
232233
</relocation>
234+
<relocation>
235+
<pattern>javax.xml.bind</pattern>
236+
<shadedPattern>org.apache.pulsar.shade.javax.xml.bind</shadedPattern>
237+
</relocation>
233238
<relocation>
234239
<pattern>jersey</pattern>
235240
<shadedPattern>org.apache.pulsar.shade.jersey</shadedPattern>

pulsar-client-all/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@
182182
<include>com.yahoo.datasketches:sketches-core</include>
183183
<include>org.glassfish.jersey*:*</include>
184184
<include>javax.ws.rs:*</include>
185+
<include>javax.xml.bind:jaxb-api</include>
185186
<include>jakarta.annotation:*</include>
186187
<include>org.glassfish.hk2*:*</include>
187188
<include>io.grpc:*</include>
@@ -285,6 +286,10 @@
285286
<pattern>javax.annotation</pattern>
286287
<shadedPattern>org.apache.pulsar.shade.javax.annotation</shadedPattern>
287288
</relocation>
289+
<relocation>
290+
<pattern>javax.xml.bind</pattern>
291+
<shadedPattern>org.apache.pulsar.shade.javax.xml.bind</shadedPattern>
292+
</relocation>
288293
<relocation>
289294
<pattern>jersey</pattern>
290295
<shadedPattern>org.apache.pulsar.shade.jersey</shadedPattern>

0 commit comments

Comments
 (0)