mirror of https://github.com/apache/druid.git
320 lines
14 KiB
XML
320 lines
14 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
~ 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
|
|
~
|
|
~ 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/maven-v4_0_0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>druid-integration-tests</artifactId>
|
|
<name>druid-integration-tests</name>
|
|
<description>druid-integration-tests</description>
|
|
|
|
<parent>
|
|
<groupId>org.apache.druid</groupId>
|
|
<artifactId>druid</artifactId>
|
|
<version>0.14.0-incubating-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<properties>
|
|
<apache.kafka.version>0.10.2.2</apache.kafka.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.apache.druid</groupId>
|
|
<artifactId>druid-core</artifactId>
|
|
<version>${project.parent.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.druid.extensions</groupId>
|
|
<artifactId>druid-s3-extensions</artifactId>
|
|
<version>${project.parent.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.druid.extensions</groupId>
|
|
<artifactId>druid-datasketches</artifactId>
|
|
<version>${project.parent.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.druid.extensions</groupId>
|
|
<artifactId>druid-kafka-eight</artifactId>
|
|
<version>${project.parent.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<artifactId>kafka_2.10</artifactId>
|
|
<groupId>org.apache.kafka</groupId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.druid.extensions</groupId>
|
|
<artifactId>druid-histogram</artifactId>
|
|
<version>${project.parent.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.druid.extensions</groupId>
|
|
<artifactId>mysql-metadata-storage</artifactId>
|
|
<version>${project.parent.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.druid.extensions</groupId>
|
|
<artifactId>druid-kafka-indexing-service</artifactId>
|
|
<version>${project.parent.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.apache.kafka</groupId>
|
|
<artifactId>kafka-clients</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.druid.extensions</groupId>
|
|
<artifactId>druid-basic-security</artifactId>
|
|
<version>${project.parent.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.druid.extensions</groupId>
|
|
<artifactId>simple-client-sslcontext</artifactId>
|
|
<version>${project.parent.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.druid</groupId>
|
|
<artifactId>druid-services</artifactId>
|
|
<version>${project.parent.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.druid</groupId>
|
|
<artifactId>druid-server</artifactId>
|
|
<version>${project.parent.version}</version>
|
|
</dependency>
|
|
|
|
<!-- Tests -->
|
|
<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>
|
|
<dependency>
|
|
<groupId>org.testng</groupId>
|
|
<artifactId>testng</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.easymock</groupId>
|
|
<artifactId>easymock</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.kafka</groupId>
|
|
<artifactId>kafka_2.12</artifactId>
|
|
<version>${apache.kafka.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<artifactId>log4j</artifactId>
|
|
<groupId>log4j</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
<groupId>org.slf4j</groupId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<configuration>
|
|
<excludes>
|
|
<exclude>**/IT*.java</exclude>
|
|
</excludes>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<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>
|
|
</plugins>
|
|
</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>
|
|
<properties>
|
|
<property>
|
|
<name>testrunfactory</name>
|
|
<value>org.testng.DruidTestRunnerFactory</value>
|
|
</property>
|
|
</properties>
|
|
<argLine>
|
|
-Duser.timezone=UTC
|
|
-Dfile.encoding=UTF-8
|
|
-Ddruid.test.config.dockerIp=${env.DOCKER_IP}
|
|
-Ddruid.test.config.hadoopDir=${env.HADOOP_DIR}
|
|
-Ddruid.test.config.extraDatasourceNameSuffix=\ Россия\ 한국\ 中国!?
|
|
-Ddruid.zk.service.host=${env.DOCKER_IP}
|
|
-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
|
|
</argLine>
|
|
<suiteXmlFiles>
|
|
<suiteXmlFile>src/test/resources/testng.xml</suiteXmlFile>
|
|
</suiteXmlFiles>
|
|
</configuration>
|
|
</plugin>
|
|
<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>
|
|
<signaturesFile>../codestyle/druid-forbidden-apis.txt</signaturesFile>
|
|
</signaturesFiles>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
<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>
|
|
<properties>
|
|
<property>
|
|
<name>testrunfactory</name>
|
|
<value>org.testng.DruidTestRunnerFactory</value>
|
|
</property>
|
|
</properties>
|
|
<argLine>
|
|
-Duser.timezone=UTC
|
|
-Dfile.encoding=UTF-8
|
|
-Ddruid.test.config.type=configFile
|
|
-Ddruid.test.config.configFile=${env.CONFIG_FILE}
|
|
-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
|
|
</argLine>
|
|
<suiteXmlFiles>
|
|
<suiteXmlFile>src/test/resources/testng.xml</suiteXmlFile>
|
|
</suiteXmlFiles>
|
|
</configuration>
|
|
</plugin>
|
|
<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>
|
|
<signaturesFile>../codestyle/druid-forbidden-apis.txt</signaturesFile>
|
|
</signaturesFiles>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
|
|
</project>
|