fix Linkage Error due to duplicate loaded protobuf jar
Project: http://git-wip-us.apache.org/repos/asf/kylin/repo Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/6836815b Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/6836815b Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/6836815b Branch: refs/heads/1.5.x-HBase1.1.3 Commit: 6836815b921c9a7a29dc9e44c34a70f7823b42ca Parents: 376d695 Author: Hongbin Ma <[email protected]> Authored: Fri Mar 11 12:12:21 2016 +0800 Committer: Hongbin Ma <[email protected]> Committed: Fri Mar 11 12:12:26 2016 +0800 ---------------------------------------------------------------------- atopcalcite/pom.xml | 6 ++++++ jdbc/pom.xml | 6 ++++++ 2 files changed, 12 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kylin/blob/6836815b/atopcalcite/pom.xml ---------------------------------------------------------------------- diff --git a/atopcalcite/pom.xml b/atopcalcite/pom.xml index ba5ab1a..93f52b7 100644 --- a/atopcalcite/pom.xml +++ b/atopcalcite/pom.xml @@ -41,6 +41,12 @@ <dependency> <groupId>org.apache.calcite</groupId> <artifactId>calcite-avatica</artifactId> + <exclusions> + <exclusion> + <groupId>com.google.protobuf</groupId> + <artifactId>protobuf-java</artifactId> + </exclusion> + </exclusions> </dependency> </dependencies> http://git-wip-us.apache.org/repos/asf/kylin/blob/6836815b/jdbc/pom.xml ---------------------------------------------------------------------- diff --git a/jdbc/pom.xml b/jdbc/pom.xml index dae9d1e..805f34f 100644 --- a/jdbc/pom.xml +++ b/jdbc/pom.xml @@ -44,6 +44,12 @@ <dependency> <groupId>org.apache.calcite</groupId> <artifactId>calcite-avatica</artifactId> + <exclusions> + <exclusion> + <groupId>com.google.protobuf</groupId> + <artifactId>protobuf-java</artifactId> + </exclusion> + </exclusions> </dependency> <dependency> <groupId>commons-httpclient</groupId>
