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 51dd759c243aec49a818e82c87a71fba44c0f50c Author: Nicolò Boschi <[email protected]> AuthorDate: Tue Feb 8 16:48:06 2022 +0100 Fix NoClassDefFoundError: com/google/inject/AbstractModule in pulsar-io/batch-data-generator and Jcloud offloader (#14150) (cherry picked from commit 25ccf45fcaa71d97cae26244a6b7dfca75a4a089) --- pulsar-io/data-generator/pom.xml | 4 ++-- tiered-storage/jcloud/pom.xml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pulsar-io/data-generator/pom.xml b/pulsar-io/data-generator/pom.xml index 3170c8c45a6..ecaaf64b775 100644 --- a/pulsar-io/data-generator/pom.xml +++ b/pulsar-io/data-generator/pom.xml @@ -53,13 +53,13 @@ <groupId>com.google.inject</groupId> <artifactId>guice</artifactId> <version>${guice.version}</version> - <scope>provided</scope> + <scope>runtime</scope> </dependency> <dependency> <groupId>com.google.inject.extensions</groupId> <artifactId>guice-assistedinject</artifactId> <version>${guice.version}</version> - <scope>provided</scope> + <scope>runtime</scope> </dependency> <dependency> diff --git a/tiered-storage/jcloud/pom.xml b/tiered-storage/jcloud/pom.xml index 06e4dd80e43..0e17362ef1b 100644 --- a/tiered-storage/jcloud/pom.xml +++ b/tiered-storage/jcloud/pom.xml @@ -104,13 +104,13 @@ <groupId>com.google.inject</groupId> <artifactId>guice</artifactId> <version>${guice.version}</version> - <scope>provided</scope> + <scope>runtime</scope> </dependency> <dependency> <groupId>com.google.inject.extensions</groupId> <artifactId>guice-assistedinject</artifactId> <version>${guice.version}</version> - <scope>provided</scope> + <scope>runtime</scope> </dependency> <dependency>
