jerrypeng closed pull request #2534: set correct guice version to prevent dependency inject errors in docker container URL: https://github.com/apache/incubator-pulsar/pull/2534
This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/pulsar-sql/presto-distribution/LICENSE b/pulsar-sql/presto-distribution/LICENSE index d7f2fc889c..574b9619d5 100644 --- a/pulsar-sql/presto-distribution/LICENSE +++ b/pulsar-sql/presto-distribution/LICENSE @@ -230,7 +230,7 @@ The Apache Software License, Version 2.0 - guava-24.1-jre.jar * Google Guice - guice-4.2.0.jar - - guice-multibindings-4.0.jar + - guice-multibindings-4.2.0.jar * Apache Commons - commons-math3-3.6.1.jar - commons-beanutils-core-1.8.3.jar diff --git a/pulsar-sql/presto-distribution/pom.xml b/pulsar-sql/presto-distribution/pom.xml index a355777b45..4446d83eab 100644 --- a/pulsar-sql/presto-distribution/pom.xml +++ b/pulsar-sql/presto-distribution/pom.xml @@ -32,6 +32,7 @@ <airlift.version>0.170</airlift.version> <objenesis.version>2.6</objenesis.version> <objectsize.version>0.0.12</objectsize.version> + <guice.version>4.2.0</guice.version> <!-- Launcher properties --> <main-class>com.facebook.presto.server.PrestoServer</main-class> <process-name>${project.artifactId}</process-name> @@ -94,6 +95,13 @@ <version>${objectsize.version}</version> </dependency> + <!-- make sure guice is set to the correct version --> + <dependency> + <groupId>com.google.inject.extensions</groupId> + <artifactId>guice-multibindings</artifactId> + <version>${guice.version}</version> + </dependency> + </dependencies> <build> ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services