Last active
December 9, 2017 10:36
-
-
Save graffic/d911ee3fa413e73cd83cb61d97bb8486 to your computer and use it in GitHub Desktop.
Druid 0.11 & 0.10.1 poms to compile with CDH 5.10.2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
~ Druid - a distributed column store. | |
~ Copyright 2012 - 2015 Metamarkets Group Inc. | |
~ | |
~ Licensed under the Apache License, Version 2.0 (the "License"); | |
~ you may not use this file except in compliance with the License. | |
~ You may obtain a copy of the License at | |
~ | |
~ http://www.apache.org/licenses/LICENSE-2.0 | |
~ | |
~ Unless required by applicable law or agreed to in writing, software | |
~ distributed under the License is distributed on an "AS IS" BASIS, | |
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
~ See the License for the specific language governing permissions and | |
~ limitations under the License. | |
--> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<artifactId>druid-services</artifactId> | |
<name>druid-services</name> | |
<description>druid-services</description> | |
<parent> | |
<groupId>io.druid</groupId> | |
<artifactId>druid</artifactId> | |
<version>0.10.1</version> | |
</parent> | |
<dependencies> | |
<!-- include druid-common to prevent older versions of dependencies | |
from being pulled in by airline and dependencies of druid-server --> | |
<dependency> | |
<groupId>io.druid</groupId> | |
<artifactId>druid-common</artifactId> | |
<version>${project.parent.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>io.druid</groupId> | |
<artifactId>druid-server</artifactId> | |
<version>${project.parent.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>io.druid</groupId> | |
<artifactId>druid-indexing-hadoop</artifactId> | |
<version>${project.parent.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>io.druid</groupId> | |
<artifactId>druid-indexing-service</artifactId> | |
<version>${project.parent.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>io.druid</groupId> | |
<artifactId>druid-sql</artifactId> | |
<version>${project.parent.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>io.airlift</groupId> | |
<artifactId>airline</artifactId> | |
</dependency> | |
<!-- BEGIN DEPENDENCIES ANSIBLE MANAGED BLOCK --> | |
<dependency> | |
<groupId>io.druid.extensions</groupId> | |
<artifactId>druid-avro-extensions</artifactId> | |
<version>${project.parent.version}</version> | |
</dependency> | |
<!-- My extensions --> | |
<dependency> | |
<groupId>io.druid.extensions.contrib</groupId> | |
<artifactId>druid-parquet-extensions</artifactId> | |
<version>${project.parent.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>io.druid.extensions</groupId> | |
<artifactId>druid-hdfs-storage</artifactId> | |
<version>${project.parent.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>io.druid.extensions</groupId> | |
<artifactId>mysql-metadata-storage</artifactId> | |
<version>${project.parent.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>io.druid.extensions</groupId> | |
<artifactId>druid-s3-extensions</artifactId> | |
<version>${project.parent.version}</version> | |
</dependency> | |
<!-- Test Dependencies --> | |
<dependency> | |
<groupId>junit</groupId> | |
<artifactId>junit</artifactId> | |
<scope>test</scope> | |
</dependency> | |
</dependencies> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-shade-plugin</artifactId> | |
<version>2.4.3</version> | |
<executions> | |
<execution> | |
<phase>package</phase> | |
<goals> | |
<goal>shade</goal> | |
</goals> | |
<configuration> | |
<outputFile> | |
${project.build.directory}/${project.artifactId}-${project.version}-selfcontained.jar | |
</outputFile> | |
<relocations> | |
<relocation> | |
<pattern>com.fasterxml.jackson</pattern> | |
<shadedPattern>shade.com.fasterxml.jackson</shadedPattern> | |
</relocation> | |
<relocation> | |
<pattern>com.google.common</pattern> | |
<shadedPattern>shade.com.google.common</shadedPattern> | |
</relocation> | |
</relocations> | |
<filters> | |
<filter> | |
<artifact>*:*</artifact> | |
<excludes> | |
<exclude>META-INF/*.SF</exclude> | |
<exclude>META-INF/*.DSA</exclude> | |
<exclude>META-INF/*.RSA</exclude> | |
</excludes> | |
</filter> | |
</filters> | |
<transformers> | |
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" /> | |
</transformers> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<properties> | |
<!-- Curator cannot be updated to 2.12.0 yet, see https://github.com/druid-io/druid/pull/4103 --> | |
<apache.curator.version>2.11.0</apache.curator.version> | |
<avatica.version>1.9.0</avatica.version> | |
<calcite.version>1.11.0</calcite.version> | |
<guava.version>16.0.1</guava.version> | |
<guice.version>3.0</guice.version> | |
<jetty.version>9.3.19.v20170502</jetty.version> | |
<jersey.version>1.19.3</jersey.version> | |
<!-- Watch out for Hadoop compatibility when updating to >= 2.5; see https://github.com/druid-io/druid/pull/1669 --> | |
<jackson.version>2.4.6</jackson.version> | |
<log4j.version>2.5</log4j.version> | |
<netty.version>4.1.11.Final</netty.version> | |
<slf4j.version>1.7.12</slf4j.version> | |
<!-- If compiling with different hadoop version also modify default hadoop coordinates in TaskConfig.java --> | |
<hadoop.compile.version>2.6.0</hadoop.compile.version> | |
<hive.version>2.0.0</hive.version> | |
<powermock.version>1.6.6</powermock.version> | |
<!-- Cannot update to AWS SDK 1.11+ because of Jackson incompatibility. | |
Need to update Druid to use Jackson 2.6+ --> | |
<aws.sdk.version>1.10.77</aws.sdk.version> | |
</properties> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
~ Druid - a distributed column store. | |
~ Copyright 2012 - 2015 Metamarkets Group Inc. | |
~ | |
~ Licensed under the Apache License, Version 2.0 (the "License"); | |
~ you may not use this file except in compliance with the License. | |
~ You may obtain a copy of the License at | |
~ | |
~ http://www.apache.org/licenses/LICENSE-2.0 | |
~ | |
~ Unless required by applicable law or agreed to in writing, software | |
~ distributed under the License is distributed on an "AS IS" BASIS, | |
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
~ See the License for the specific language governing permissions and | |
~ limitations under the License. | |
--> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<artifactId>druid-services</artifactId> | |
<name>druid-services</name> | |
<description>druid-services</description> | |
<parent> | |
<groupId>io.druid</groupId> | |
<artifactId>druid</artifactId> | |
<version>0.11.0</version> | |
</parent> | |
<dependencies> | |
<!-- include druid-common to prevent older versions of dependencies | |
from being pulled in by airline and dependencies of druid-server --> | |
<dependency> | |
<groupId>io.druid</groupId> | |
<artifactId>druid-common</artifactId> | |
<version>${project.parent.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>io.druid</groupId> | |
<artifactId>druid-server</artifactId> | |
<version>${project.parent.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>io.druid</groupId> | |
<artifactId>druid-indexing-hadoop</artifactId> | |
<version>${project.parent.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>io.druid</groupId> | |
<artifactId>druid-indexing-service</artifactId> | |
<version>${project.parent.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>io.druid</groupId> | |
<artifactId>druid-sql</artifactId> | |
<version>${project.parent.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>io.airlift</groupId> | |
<artifactId>airline</artifactId> | |
</dependency> | |
<!-- My extensions --> | |
<dependency> | |
<groupId>io.druid.extensions</groupId> | |
<artifactId>druid-avro-extensions</artifactId> | |
<version>${project.parent.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>io.druid.extensions.contrib</groupId> | |
<artifactId>druid-parquet-extensions</artifactId> | |
<version>${project.parent.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>io.druid.extensions</groupId> | |
<artifactId>druid-hdfs-storage</artifactId> | |
<version>${project.parent.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>io.druid.extensions</groupId> | |
<artifactId>mysql-metadata-storage</artifactId> | |
<version>${project.parent.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>io.druid.extensions</groupId> | |
<artifactId>druid-s3-extensions</artifactId> | |
<version>${project.parent.version}</version> | |
</dependency> | |
<!-- Test Dependencies --> | |
<dependency> | |
<groupId>junit</groupId> | |
<artifactId>junit</artifactId> | |
<scope>test</scope> | |
</dependency> | |
</dependencies> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>de.thetaphi</groupId> | |
<artifactId>forbiddenapis</artifactId> | |
<executions> | |
<execution> | |
<id>validate</id> | |
<phase>validate</phase> | |
<goals> | |
<goal>check</goal> | |
<goal>testCheck</goal> | |
</goals> | |
<configuration> | |
<bundledSignatures> | |
<!-- Do NOT check jdk-system-out for druid-services, | |
because it uses System.out on purpose. --> | |
<bundledSignature>jdk-unsafe</bundledSignature> | |
</bundledSignatures> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-shade-plugin</artifactId> | |
<version>2.4.3</version> | |
<executions> | |
<execution> | |
<phase>package</phase> | |
<goals> | |
<goal>shade</goal> | |
</goals> | |
<configuration> | |
<outputFile> | |
${project.build.directory}/${project.artifactId}-${project.version}-selfcontained.jar | |
</outputFile> | |
<relocations> | |
<relocation> | |
<pattern>com.fasterxml.jackson</pattern> | |
<shadedPattern>shade.com.fasterxml.jackson</shadedPattern> | |
</relocation> | |
</relocations> | |
<filters> | |
<filter> | |
<artifact>*:*</artifact> | |
<excludes> | |
<exclude>META-INF/*.SF</exclude> | |
<exclude>META-INF/*.DSA</exclude> | |
<exclude>META-INF/*.RSA</exclude> | |
</excludes> | |
</filter> | |
</filters> | |
<transformers> | |
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" /> | |
</transformers> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<properties> | |
<maven.compiler.target>1.8</maven.compiler.target> | |
<apache.curator.version>4.0.0</apache.curator.version> | |
<apache.curator.test.version>2.12.0</apache.curator.test.version> | |
<avatica.version>1.9.0</avatica.version> | |
<calcite.version>1.12.0</calcite.version> | |
<guava.version>16.0.1</guava.version> | |
<guice.version>3.0</guice.version> | |
<jetty.version>9.3.19.v20170502</jetty.version> | |
<jersey.version>1.19.3</jersey.version> | |
<!-- Watch out for Hadoop compatibility when updating to >= 2.5; see https://github.com/druid-io/druid/pull/1669 --> | |
<jackson.version>2.4.6</jackson.version> | |
<log4j.version>2.5</log4j.version> | |
<!-- Update to Netty 4.1 is not possible yet, see https://github.com/druid-io/druid/issues/4390 and comments | |
in https://github.com/druid-io/druid/pull/4973 --> | |
<netty.version>4.0.52.Final</netty.version> | |
<slf4j.version>1.7.12</slf4j.version> | |
<!-- If compiling with different hadoop version also modify default hadoop coordinates in TaskConfig.java --> | |
<hadoop.compile.version>2.6.0</hadoop.compile.version> | |
<hive.version>2.0.0</hive.version> | |
<powermock.version>1.6.6</powermock.version> | |
<!-- Cannot update to AWS SDK 1.11+ because of Jackson incompatibility. | |
Need to update Druid to use Jackson 2.6+ --> | |
<aws.sdk.version>1.10.77</aws.sdk.version> | |
<!-- When upgrading ZK, edit docs and integration tests as well (integration-tests/docker-base/setup.sh) --> | |
<zookeeper.version>3.4.10</zookeeper.version> | |
<caffeine.version>2.5.5</caffeine.version> | |
</properties> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment