Skip to content

Commit

Permalink
Use same activation dependency in pulsar-client-admin and pulsar-clie…
Browse files Browse the repository at this point in the history
…nt (#4256)

* Use same activation dependency in pulsar-client-admin and pulsar-client

* Broker now resolve to same activation dependency as client

* Remove no-longer used activation entries from distribution license

* exclude conflicting activation dependency and update license

* com.sun.activation as only activation dependency in all pulsar modules

* Removed activation-1.1.1.jar reference from presto LICENSE
  • Loading branch information
kimcs authored and merlimat committed May 29, 2019
1 parent dc0f398 commit 59705a8
Show file tree
Hide file tree
Showing 8 changed files with 41 additions and 30 deletions.
2 changes: 0 additions & 2 deletions distribution/server/src/assemble/LICENSE.bin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -516,9 +516,7 @@ Protocol Buffers License
CDDL-1.1 -- licenses/LICENSE-CDDL-1.1.txt
* Java Annotations API
- javax.annotation-javax.annotation-api-1.2.jar
- javax.activation-javax.activation-api-1.2.0.jar
- com.sun.activation-javax.activation-1.2.0.jar
- javax.xml.bind-activation-1.0.2.jar
- javax.xml.bind-jaxb-api-2.3.1.jar
* Java Servlet API -- javax.servlet-javax.servlet-api-3.1.0.jar
* WebSocket Server API -- javax.websocket-javax.websocket-client-api-1.0.jar
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -976,9 +976,9 @@ flexible messaging model and an intuitive client API.</description>
</dependency>

<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>activation</artifactId>
<version>1.0.2</version>
<groupId>com.sun.activation</groupId>
<artifactId>javax.activation</artifactId>
<version>1.2.0</version>
</dependency>

<dependency>
Expand Down
10 changes: 8 additions & 2 deletions pulsar-broker/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -286,11 +286,17 @@
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<exclusions>
<exclusion>
<groupId>javax.activation</groupId>
<artifactId>javax.activation-api</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>activation</artifactId>
<groupId>com.sun.activation</groupId>
<artifactId>javax.activation</artifactId>
</dependency>
</dependencies>

Expand Down
24 changes: 15 additions & 9 deletions pulsar-client-admin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,21 @@
<artifactId>jersey-hk2</artifactId>
</dependency>

<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
</dependency>

<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>activation</artifactId>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<exclusions>
<exclusion>
<groupId>javax.activation</groupId>
<artifactId>javax.activation-api</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.sun.activation</groupId>
<artifactId>javax.activation</artifactId>
<scope>runtime</scope>
</dependency>

<dependency>
<groupId>org.slf4j</groupId>
Expand Down
4 changes: 2 additions & 2 deletions pulsar-discovery-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@
</dependency>

<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>activation</artifactId>
<groupId>com.sun.activation</groupId>
<artifactId>javax.activation</artifactId>
</dependency>

<dependency>
Expand Down
18 changes: 9 additions & 9 deletions pulsar-proxy/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -99,15 +99,15 @@
<artifactId>jersey-hk2</artifactId>
</dependency>

<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
</dependency>

<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>activation</artifactId>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
</dependency>

<dependency>
<groupId>com.sun.activation</groupId>
<artifactId>javax.activation</artifactId>
</dependency>

<dependency>
<groupId>org.slf4j</groupId>
Expand Down
3 changes: 0 additions & 3 deletions pulsar-sql/presto-distribution/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -504,9 +504,7 @@ CDDL-1.1 -- licenses/LICENSE-CDDL-1.1.txt
* Java Annotations API
- javax.annotation-api-1.2.jar
- javax.annotation-api-1.3.1.jar
- javax.activation-api-1.2.0.jar
- javax.activation-1.2.0.jar
- activation-1.0.2.jar
* HK2 - Dependency Injection Kernel
- hk2-api-2.5.0-b42.jar
- hk2-locator-2.5.0-b42.jar
Expand All @@ -520,7 +518,6 @@ CDDL-1.1 -- licenses/LICENSE-CDDL-1.1.txt
- jersey-media-jaxb-2.26.jar
- jersey-server-2.26.jar
- jersey-common-2.26.jar
* JavaBeans(TM) Activation Framework -- activation-1.1.1.jar
* JAXB
- jaxb-api-2.2.6.jar
- jaxb-api-2.3.1.jar
Expand Down
4 changes: 4 additions & 0 deletions pulsar-sql/presto-distribution/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@
<groupId>com.sun</groupId>
<artifactId>tools</artifactId>
</exclusion>
<exclusion>
<groupId>javax.activation</groupId>
<artifactId>activation</artifactId>
</exclusion>
</exclusions>
</dependency>

Expand Down

0 comments on commit 59705a8

Please sign in to comment.