Skip to content

Commit

Permalink
[fix][admin] Add javax.xml.bind:jaxb-api to shade (#20106)
Browse files Browse the repository at this point in the history
Signed-off-by: nodece <nodeces@gmail.com>
  • Loading branch information
nodece authored Apr 18, 2023
1 parent 6c89467 commit 78cf5a6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pulsar-client-admin-shaded/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@
<include>com.yahoo.datasketches:sketches-core</include>
<include>org.glassfish.jersey*:*</include>
<include>javax.ws.rs:*</include>
<include>javax.xml.bind:jaxb-api</include>
<include>jakarta.annotation:*</include>
<include>org.glassfish.hk2*:*</include>
<include>io.grpc:*</include>
Expand Down Expand Up @@ -230,6 +231,10 @@
<pattern>javax.annotation</pattern>
<shadedPattern>org.apache.pulsar.shade.javax.annotation</shadedPattern>
</relocation>
<relocation>
<pattern>javax.xml.bind</pattern>
<shadedPattern>org.apache.pulsar.shade.javax.xml.bind</shadedPattern>
</relocation>
<relocation>
<pattern>jersey</pattern>
<shadedPattern>org.apache.pulsar.shade.jersey</shadedPattern>
Expand Down
5 changes: 5 additions & 0 deletions pulsar-client-all/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@
<include>com.yahoo.datasketches:sketches-core</include>
<include>org.glassfish.jersey*:*</include>
<include>javax.ws.rs:*</include>
<include>javax.xml.bind:jaxb-api</include>
<include>jakarta.annotation:*</include>
<include>org.glassfish.hk2*:*</include>
<include>io.grpc:*</include>
Expand Down Expand Up @@ -285,6 +286,10 @@
<pattern>javax.annotation</pattern>
<shadedPattern>org.apache.pulsar.shade.javax.annotation</shadedPattern>
</relocation>
<relocation>
<pattern>javax.xml.bind</pattern>
<shadedPattern>org.apache.pulsar.shade.javax.xml.bind</shadedPattern>
</relocation>
<relocation>
<pattern>jersey</pattern>
<shadedPattern>org.apache.pulsar.shade.jersey</shadedPattern>
Expand Down

0 comments on commit 78cf5a6

Please sign in to comment.