You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by ni...@apache.org on 2022/05/20 07:06:02 UTC
[pulsar] 01/04: Remove --illegal-access errors resulting from Google Guice (upgrade to 5.0.1) (#13810)
This is an automated email from the ASF dual-hosted git repository.
nicoloboschi pushed a commit to branch branch-2.9
in repository https://gitbox.apache.org/repos/asf/pulsar.git
commit de799e0c0c00d9a051ecde614e22dfb4b9e25576
Author: Nicolò Boschi <bo...@gmail.com>
AuthorDate: Wed Jan 19 18:39:07 2022 +0100
Remove --illegal-access errors resulting from Google Guice (upgrade to 5.0.1) (#13810)
(cherry picked from commit b0c72596eb1aa67110fa307b33379a3fed420505)
---
pom.xml | 3 ++-
pulsar-io/data-generator/pom.xml | 12 ++++++++++++
tiered-storage/jcloud/pom.xml | 13 +++++++++++++
3 files changed, 27 insertions(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index ddc9f69ada3..30594c27c8b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -146,7 +146,8 @@ flexible messaging model and an intuitive client API.</description>
<aws-sdk.version>1.11.774</aws-sdk.version>
<avro.version>1.10.2</avro.version>
<joda.version>2.10.5</joda.version>
- <jclouds.version>2.3.0</jclouds.version>
+ <jclouds.version>2.4.0</jclouds.version>
+ <guice.version>5.0.1</guice.version>
<sqlite-jdbc.version>3.8.11.2</sqlite-jdbc.version>
<mysql-jdbc.version>8.0.11</mysql-jdbc.version>
<postgresql-jdbc.version>42.2.25</postgresql-jdbc.version>
diff --git a/pulsar-io/data-generator/pom.xml b/pulsar-io/data-generator/pom.xml
index 1a49c3eb32b..3170c8c45a6 100644
--- a/pulsar-io/data-generator/pom.xml
+++ b/pulsar-io/data-generator/pom.xml
@@ -49,6 +49,18 @@
<artifactId>jfairy</artifactId>
<version>0.5.9</version>
</dependency>
+ <dependency>
+ <groupId>com.google.inject</groupId>
+ <artifactId>guice</artifactId>
+ <version>${guice.version}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.google.inject.extensions</groupId>
+ <artifactId>guice-assistedinject</artifactId>
+ <version>${guice.version}</version>
+ <scope>provided</scope>
+ </dependency>
<dependency>
<groupId>org.apache.avro</groupId>
diff --git a/tiered-storage/jcloud/pom.xml b/tiered-storage/jcloud/pom.xml
index 716aed18b98..06e4dd80e43 100644
--- a/tiered-storage/jcloud/pom.xml
+++ b/tiered-storage/jcloud/pom.xml
@@ -99,6 +99,19 @@
<version>${jclouds.version}</version>
<scope>provided</scope>
</dependency>
+ <!-- https://github.com/apache/jclouds/pull/123/files-->
+ <dependency>
+ <groupId>com.google.inject</groupId>
+ <artifactId>guice</artifactId>
+ <version>${guice.version}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.google.inject.extensions</groupId>
+ <artifactId>guice-assistedinject</artifactId>
+ <version>${guice.version}</version>
+ <scope>provided</scope>
+ </dependency>
<dependency>
<groupId>javax.xml.bind</groupId>