2014-11-06 13:23:24 -05:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
2018-07-11 12:55:18 -04:00
|
|
|
~ Licensed to the Apache Software Foundation (ASF) under one
|
|
|
|
~ or more contributor license agreements. See the NOTICE file
|
|
|
|
~ distributed with this work for additional information
|
|
|
|
~ regarding copyright ownership. The ASF licenses this file
|
|
|
|
~ to you 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
|
2015-01-30 23:36:38 -05:00
|
|
|
~
|
2018-07-11 12:55:18 -04:00
|
|
|
~ http://www.apache.org/licenses/LICENSE-2.0
|
2015-01-30 23:36:38 -05:00
|
|
|
~
|
2018-07-11 12:55:18 -04:00
|
|
|
~ 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.
|
2015-01-30 23:36:38 -05:00
|
|
|
-->
|
2014-11-06 13:23:24 -05:00
|
|
|
|
2015-02-23 17:27:58 -05:00
|
|
|
<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/maven-v4_0_0.xsd">
|
2015-02-03 19:48:00 -05:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2014-11-06 13:23:24 -05:00
|
|
|
|
2015-02-03 19:48:00 -05:00
|
|
|
<artifactId>druid-integration-tests</artifactId>
|
|
|
|
<name>druid-integration-tests</name>
|
|
|
|
<description>druid-integration-tests</description>
|
2014-11-06 13:23:24 -05:00
|
|
|
|
2015-02-03 19:48:00 -05:00
|
|
|
<parent>
|
2018-08-30 12:56:26 -04:00
|
|
|
<groupId>org.apache.druid</groupId>
|
2015-02-03 19:48:00 -05:00
|
|
|
<artifactId>druid</artifactId>
|
2018-10-11 22:28:01 -04:00
|
|
|
<version>0.13.0-incubating-SNAPSHOT</version>
|
2015-02-03 19:48:00 -05:00
|
|
|
</parent>
|
2014-11-06 13:23:24 -05:00
|
|
|
|
2015-10-22 17:39:30 -04:00
|
|
|
<properties>
|
2017-05-28 11:48:39 -04:00
|
|
|
<apache.kafka.version>0.10.2.0</apache.kafka.version>
|
2015-10-22 17:39:30 -04:00
|
|
|
</properties>
|
|
|
|
|
2015-02-03 19:48:00 -05:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
2018-08-30 12:56:26 -04:00
|
|
|
<groupId>org.apache.druid</groupId>
|
2018-10-14 23:37:37 -04:00
|
|
|
<artifactId>druid-core</artifactId>
|
2015-02-03 19:48:00 -05:00
|
|
|
<version>${project.parent.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2018-08-30 12:56:26 -04:00
|
|
|
<groupId>org.apache.druid.extensions</groupId>
|
2015-02-03 19:48:00 -05:00
|
|
|
<artifactId>druid-s3-extensions</artifactId>
|
|
|
|
<version>${project.parent.version}</version>
|
|
|
|
</dependency>
|
2016-02-16 10:23:37 -05:00
|
|
|
<dependency>
|
2018-08-30 12:56:26 -04:00
|
|
|
<groupId>org.apache.druid.extensions</groupId>
|
2016-02-16 10:23:37 -05:00
|
|
|
<artifactId>druid-datasketches</artifactId>
|
|
|
|
<version>${project.parent.version}</version>
|
|
|
|
</dependency>
|
2015-10-22 17:39:30 -04:00
|
|
|
<dependency>
|
2018-08-30 12:56:26 -04:00
|
|
|
<groupId>org.apache.druid.extensions</groupId>
|
2015-10-22 17:39:30 -04:00
|
|
|
<artifactId>druid-kafka-eight</artifactId>
|
|
|
|
<version>${project.parent.version}</version>
|
2017-05-28 11:48:39 -04:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>kafka_2.10</artifactId>
|
|
|
|
<groupId>org.apache.kafka</groupId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2015-10-22 17:39:30 -04:00
|
|
|
</dependency>
|
2015-02-03 19:48:00 -05:00
|
|
|
<dependency>
|
2018-08-30 12:56:26 -04:00
|
|
|
<groupId>org.apache.druid.extensions</groupId>
|
2015-02-03 19:48:00 -05:00
|
|
|
<artifactId>druid-histogram</artifactId>
|
|
|
|
<version>${project.parent.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2018-08-30 12:56:26 -04:00
|
|
|
<groupId>org.apache.druid.extensions</groupId>
|
2015-02-03 19:48:00 -05:00
|
|
|
<artifactId>mysql-metadata-storage</artifactId>
|
|
|
|
<version>${project.parent.version}</version>
|
|
|
|
</dependency>
|
2016-09-20 13:21:15 -04:00
|
|
|
<dependency>
|
2018-08-30 12:56:26 -04:00
|
|
|
<groupId>org.apache.druid.extensions</groupId>
|
2016-09-20 13:21:15 -04:00
|
|
|
<artifactId>druid-kafka-indexing-service</artifactId>
|
|
|
|
<version>${project.parent.version}</version>
|
2017-05-28 11:48:39 -04:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.apache.kafka</groupId>
|
|
|
|
<artifactId>kafka-clients</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2016-09-20 13:21:15 -04:00
|
|
|
</dependency>
|
2017-12-14 13:36:04 -05:00
|
|
|
<dependency>
|
2018-08-30 12:56:26 -04:00
|
|
|
<groupId>org.apache.druid.extensions</groupId>
|
2017-12-14 13:36:04 -05:00
|
|
|
<artifactId>druid-basic-security</artifactId>
|
|
|
|
<version>${project.parent.version}</version>
|
|
|
|
</dependency>
|
2018-09-19 12:56:15 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.druid.extensions</groupId>
|
|
|
|
<artifactId>simple-client-sslcontext</artifactId>
|
|
|
|
<version>${project.parent.version}</version>
|
|
|
|
</dependency>
|
2015-02-03 19:48:00 -05:00
|
|
|
<dependency>
|
2018-08-30 12:56:26 -04:00
|
|
|
<groupId>org.apache.druid</groupId>
|
2015-02-03 19:48:00 -05:00
|
|
|
<artifactId>druid-services</artifactId>
|
|
|
|
<version>${project.parent.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2018-08-30 12:56:26 -04:00
|
|
|
<groupId>org.apache.druid</groupId>
|
2015-02-03 19:48:00 -05:00
|
|
|
<artifactId>druid-server</artifactId>
|
|
|
|
<version>${project.parent.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- Tests -->
|
2018-02-28 15:25:32 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.calcite.avatica</groupId>
|
|
|
|
<artifactId>avatica</artifactId>
|
|
|
|
<version>1.10.0</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.calcite.avatica</groupId>
|
|
|
|
<artifactId>avatica-server</artifactId>
|
|
|
|
<version>1.10.0</version>
|
|
|
|
</dependency>
|
2015-02-03 19:48:00 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.testng</groupId>
|
|
|
|
<artifactId>testng</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.easymock</groupId>
|
|
|
|
<artifactId>easymock</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2015-10-22 17:39:30 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.kafka</groupId>
|
2017-05-28 11:48:39 -04:00
|
|
|
<artifactId>kafka_2.11</artifactId>
|
2015-10-22 17:39:30 -04:00
|
|
|
<version>${apache.kafka.version}</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
2017-05-28 11:48:39 -04:00
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
2015-10-22 17:39:30 -04:00
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
2017-05-28 11:48:39 -04:00
|
|
|
<groupId>org.slf4j</groupId>
|
2015-10-22 17:39:30 -04:00
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
2015-02-03 19:48:00 -05:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
2014-11-06 13:23:24 -05:00
|
|
|
<plugins>
|
2015-02-03 19:48:00 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
2014-11-06 13:23:24 -05:00
|
|
|
<configuration>
|
2015-02-03 19:48:00 -05:00
|
|
|
<excludes>
|
|
|
|
<exclude>**/IT*.java</exclude>
|
|
|
|
</excludes>
|
2014-11-06 13:23:24 -05:00
|
|
|
</configuration>
|
2015-02-03 19:48:00 -05:00
|
|
|
</plugin>
|
2015-09-29 16:48:37 -04:00
|
|
|
<plugin>
|
2016-12-15 00:05:56 -05:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
|
|
|
<mainClass>org.testng.TestNG</mainClass>
|
|
|
|
</manifest>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>test-jar</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>test-jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2014-11-06 13:23:24 -05:00
|
|
|
</plugins>
|
2015-02-03 19:48:00 -05:00
|
|
|
</build>
|
|
|
|
|
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>integration-tests</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>build-and-start-druid-cluster</id>
|
|
|
|
<goals>
|
|
|
|
<goal>exec</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>pre-integration-test</phase>
|
|
|
|
<configuration>
|
|
|
|
<executable>${project.basedir}/run_cluster.sh</executable>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>stop-druid-cluster</id>
|
|
|
|
<goals>
|
|
|
|
<goal>exec</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>post-integration-test</phase>
|
|
|
|
<configuration>
|
|
|
|
<executable>${project.basedir}/stop_cluster.sh</executable>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>integration-tests</id>
|
|
|
|
<phase>integration-test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>integration-test</goal>
|
|
|
|
<goal>verify</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
2017-12-18 15:13:45 -05:00
|
|
|
<properties>
|
|
|
|
<property>
|
|
|
|
<name>testrunfactory</name>
|
|
|
|
<value>org.testng.DruidTestRunnerFactory</value>
|
|
|
|
</property>
|
|
|
|
</properties>
|
2015-02-03 19:48:00 -05:00
|
|
|
<argLine>
|
|
|
|
-Duser.timezone=UTC
|
|
|
|
-Dfile.encoding=UTF-8
|
|
|
|
-Ddruid.test.config.dockerIp=${env.DOCKER_IP}
|
2016-02-16 10:23:37 -05:00
|
|
|
-Ddruid.test.config.hadoopDir=${env.HADOOP_DIR}
|
2015-02-03 19:48:00 -05:00
|
|
|
-Ddruid.zk.service.host=${env.DOCKER_IP}
|
2018-09-19 12:56:15 -04:00
|
|
|
-Ddruid.client.https.trustStorePath=client_tls/truststore.jks
|
|
|
|
-Ddruid.client.https.trustStorePassword=druid123
|
|
|
|
-Ddruid.client.https.keyStorePath=client_tls/client.jks
|
|
|
|
-Ddruid.client.https.certAlias=druid
|
|
|
|
-Ddruid.client.https.keyManagerPassword=druid123
|
|
|
|
-Ddruid.client.https.keyStorePassword=druid123
|
2015-02-03 19:48:00 -05:00
|
|
|
</argLine>
|
|
|
|
<suiteXmlFiles>
|
|
|
|
<suiteXmlFile>src/test/resources/testng.xml</suiteXmlFile>
|
|
|
|
</suiteXmlFiles>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2017-08-21 16:02:42 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>de.thetaphi</groupId>
|
|
|
|
<artifactId>forbiddenapis</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<signaturesFiles>
|
|
|
|
<!-- Needed because of https://github.com/policeman-tools/forbidden-apis/issues/126 -->
|
|
|
|
<signaturesFile>../codestyle/joda-time-forbidden-apis.txt</signaturesFile>
|
2017-09-27 09:49:47 -04:00
|
|
|
<signaturesFile>../codestyle/druid-forbidden-apis.txt</signaturesFile>
|
2017-08-21 16:02:42 -04:00
|
|
|
</signaturesFiles>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2015-02-03 19:48:00 -05:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2015-07-06 15:15:15 -04:00
|
|
|
<profile>
|
|
|
|
<id>int-tests-config-file</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>integration-tests</id>
|
|
|
|
<phase>integration-test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>integration-test</goal>
|
|
|
|
<goal>verify</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
2017-12-18 15:13:45 -05:00
|
|
|
<properties>
|
|
|
|
<property>
|
|
|
|
<name>testrunfactory</name>
|
|
|
|
<value>org.testng.DruidTestRunnerFactory</value>
|
|
|
|
</property>
|
|
|
|
</properties>
|
2015-07-06 15:15:15 -04:00
|
|
|
<argLine>
|
|
|
|
-Duser.timezone=UTC
|
|
|
|
-Dfile.encoding=UTF-8
|
|
|
|
-Ddruid.test.config.type=configFile
|
|
|
|
-Ddruid.test.config.configFile=${env.CONFIG_FILE}
|
2018-09-19 12:56:15 -04:00
|
|
|
-Ddruid.client.https.trustStorePath=client_tls/truststore.jks
|
|
|
|
-Ddruid.client.https.trustStorePassword=druid123
|
|
|
|
-Ddruid.client.https.keyStorePath=client_tls/client.jks
|
|
|
|
-Ddruid.client.https.certAlias=druid
|
|
|
|
-Ddruid.client.https.keyManagerPassword=druid123
|
|
|
|
-Ddruid.client.https.keyStorePassword=druid123
|
2015-07-06 15:15:15 -04:00
|
|
|
</argLine>
|
|
|
|
<suiteXmlFiles>
|
|
|
|
<suiteXmlFile>src/test/resources/testng.xml</suiteXmlFile>
|
|
|
|
</suiteXmlFiles>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2017-08-21 16:02:42 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>de.thetaphi</groupId>
|
|
|
|
<artifactId>forbiddenapis</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<signaturesFiles>
|
|
|
|
<!-- Needed because of https://github.com/policeman-tools/forbidden-apis/issues/126 -->
|
|
|
|
<signaturesFile>../codestyle/joda-time-forbidden-apis.txt</signaturesFile>
|
2017-09-27 09:49:47 -04:00
|
|
|
<signaturesFile>../codestyle/druid-forbidden-apis.txt</signaturesFile>
|
2017-08-21 16:02:42 -04:00
|
|
|
</signaturesFiles>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2015-07-06 15:15:15 -04:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2015-02-03 19:48:00 -05:00
|
|
|
</profiles>
|
2014-11-06 13:23:24 -05:00
|
|
|
|
2015-02-03 19:48:00 -05:00
|
|
|
</project>
|