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>
2021-09-08 18:56:04 -04:00
<version > 0.23.0-SNAPSHOT</version>
2015-02-03 19:48:00 -05:00
</parent>
2014-11-06 13:23:24 -05:00
2021-03-08 11:12:12 -05:00
<repositories >
<repository >
<id > confluent</id>
<url > https://packages.confluent.io/maven/</url>
</repository>
</repositories>
2021-10-30 13:16:24 -04:00
<properties >
<hadoop.integ.libs > "org.apache.hadoop:hadoop-client:${hadoop.compile.version}", "org.apache.hadoop:hadoop-azure:${hadoop.compile.version}"</hadoop.integ.libs>
<hadoop.s3.impl > org.apache.hadoop.fs.s3native.NativeS3FileSystem</hadoop.s3.impl>
</properties>
2015-02-03 19:48:00 -05:00
<dependencies >
2020-04-03 12:45:22 -04:00
<dependency >
<groupId > com.amazonaws</groupId>
<artifactId > amazon-kinesis-producer</artifactId>
<version > 0.13.1</version>
</dependency>
2020-04-29 16:18:01 -04:00
<dependency >
<groupId > org.apache.avro</groupId>
<artifactId > avro</artifactId>
</dependency>
<dependency >
<groupId > com.opencsv</groupId>
<artifactId > opencsv</artifactId>
</dependency>
2020-07-23 01:30:35 -04:00
<dependency >
<groupId > org.apache.commons</groupId>
<artifactId > commons-lang3</artifactId>
</dependency>
<dependency >
<groupId > io.airlift</groupId>
<artifactId > airline</artifactId>
</dependency>
2020-04-03 12:45:22 -04:00
<dependency >
<groupId > com.amazonaws</groupId>
<artifactId > aws-java-sdk-kinesis</artifactId>
<version > ${aws.sdk.version}</version>
<exclusions >
<!-- aws - java - sdk - core is provided by Druid core. -->
<exclusion >
<groupId > com.amazonaws</groupId>
<artifactId > aws-java-sdk-core</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency >
<groupId > com.amazonaws</groupId>
<artifactId > aws-java-sdk-core</artifactId>
<version > ${aws.sdk.version}</version>
</dependency>
<dependency >
<groupId > commons-codec</groupId>
<artifactId > commons-codec</artifactId>
</dependency>
2015-02-03 19:48:00 -05:00
<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>
2020-03-24 18:09:02 -04:00
<dependency >
<groupId > com.amazonaws</groupId>
<artifactId > aws-java-sdk-s3</artifactId>
<version > ${aws.sdk.version}</version>
<scope > runtime</scope>
</dependency>
2020-04-13 16:03:56 -04:00
<dependency >
<groupId > org.apache.druid.extensions</groupId>
<artifactId > druid-orc-extensions</artifactId>
<version > ${project.parent.version}</version>
<scope > runtime</scope>
2021-02-11 02:53:34 -05:00
<exclusions >
<exclusion >
<groupId > javax.servlet</groupId>
<artifactId > servlet-api</artifactId>
</exclusion>
2021-05-04 20:22:18 -04:00
<exclusion >
<groupId > com.squareup.okhttp</groupId>
<artifactId > okhttp</artifactId>
</exclusion>
2021-02-11 02:53:34 -05:00
</exclusions>
2020-04-13 16:03:56 -04:00
</dependency>
<dependency >
<groupId > org.apache.druid.extensions</groupId>
<artifactId > druid-parquet-extensions</artifactId>
<version > ${project.parent.version}</version>
<scope > runtime</scope>
</dependency>
2020-04-29 16:18:01 -04:00
<dependency >
<groupId > org.apache.druid.extensions</groupId>
<artifactId > druid-avro-extensions</artifactId>
<version > ${project.parent.version}</version>
<scope > runtime</scope>
</dependency>
2021-05-17 18:45:07 -04:00
<dependency >
<groupId > org.apache.druid.extensions</groupId>
<artifactId > druid-protobuf-extensions</artifactId>
<version > ${project.parent.version}</version>
<scope > runtime</scope>
</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-s3-extensions</artifactId>
<version > ${project.parent.version}</version>
2019-09-09 17:37:21 -04:00
<scope > runtime</scope>
2015-02-03 19:48:00 -05:00
</dependency>
2020-04-03 12:45:22 -04:00
<dependency >
<groupId > org.apache.druid.extensions</groupId>
<artifactId > druid-kinesis-indexing-service</artifactId>
<version > ${project.parent.version}</version>
<scope > runtime</scope>
</dependency>
2020-03-17 06:08:44 -04:00
<dependency >
<groupId > org.apache.druid.extensions</groupId>
<artifactId > druid-azure-extensions</artifactId>
<version > ${project.parent.version}</version>
<scope > runtime</scope>
</dependency>
<dependency >
<groupId > org.apache.druid.extensions</groupId>
<artifactId > druid-google-extensions</artifactId>
<version > ${project.parent.version}</version>
<scope > runtime</scope>
</dependency>
2020-03-20 18:46:08 -04:00
<dependency >
<groupId > org.apache.druid.extensions</groupId>
<artifactId > druid-hdfs-storage</artifactId>
<version > ${project.parent.version}</version>
<scope > runtime</scope>
2021-10-30 13:16:24 -04:00
<exclusions >
<exclusion >
<groupId > com.amazonaws</groupId>
<artifactId > aws-java-sdk-bundle</artifactId>
</exclusion>
</exclusions>
2020-03-20 18:46:08 -04:00
</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>
2019-09-09 17:37:21 -04:00
<scope > runtime</scope>
2016-02-16 10:23:37 -05: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>
2019-09-09 17:37:21 -04:00
<scope > runtime</scope>
</dependency>
<dependency >
<groupId > org.apache.druid</groupId>
<artifactId > druid-aws-common</artifactId>
<version > ${project.parent.version}</version>
<scope > runtime</scope>
</dependency>
<dependency >
<groupId > org.apache.druid</groupId>
<artifactId > druid-processing</artifactId>
<version > ${project.parent.version}</version>
</dependency>
<dependency >
<groupId > org.apache.druid</groupId>
<artifactId > druid-sql</artifactId>
<version > ${project.parent.version}</version>
</dependency>
<dependency >
<groupId > org.apache.druid</groupId>
<artifactId > druid-indexing-service</artifactId>
<version > ${project.parent.version}</version>
2015-02-03 19:48:00 -05:00
</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>
2019-09-09 17:37:21 -04:00
<scope > runtime</scope>
2015-02-03 19:48:00 -05:00
</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>
2019-04-05 17:49:41 -04:00
<dependency >
<groupId > org.apache.druid.extensions</groupId>
<artifactId > druid-lookups-cached-global</artifactId>
<version > ${project.parent.version}</version>
2019-09-09 17:37:21 -04:00
<scope > runtime</scope>
2019-04-05 17:49:41 -04:00
</dependency>
2018-09-19 12:56:15 -04:00
<dependency >
<groupId > org.apache.druid.extensions</groupId>
2021-09-05 13:57:45 -04:00
<artifactId > druid-testing-tools</artifactId>
<version > ${project.parent.version}</version>
<scope > runtime</scope>
</dependency>
<dependency >
<groupId > org.apache.druid.extensions</groupId>
2018-09-19 12:56:15 -04:00
<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>
2019-09-09 17:37:21 -04:00
<dependency >
<groupId > commons-io</groupId>
<artifactId > commons-io</artifactId>
</dependency>
<dependency >
<groupId > joda-time</groupId>
<artifactId > joda-time</artifactId>
</dependency>
<dependency >
<groupId > com.fasterxml.jackson.core</groupId>
<artifactId > jackson-annotations</artifactId>
</dependency>
<dependency >
<groupId > com.google.inject</groupId>
<artifactId > guice</artifactId>
</dependency>
<dependency >
<groupId > com.fasterxml.jackson.core</groupId>
<artifactId > jackson-databind</artifactId>
</dependency>
<dependency >
<groupId > org.apache.kafka</groupId>
<artifactId > kafka-clients</artifactId>
<version > ${apache.kafka.version}</version>
</dependency>
<dependency >
<groupId > javax.ws.rs</groupId>
<artifactId > jsr311-api</artifactId>
</dependency>
<dependency >
<groupId > io.netty</groupId>
<artifactId > netty</artifactId>
</dependency>
<dependency >
<groupId > com.fasterxml.jackson.core</groupId>
<artifactId > jackson-core</artifactId>
</dependency>
<dependency >
<groupId > com.fasterxml.jackson.jaxrs</groupId>
<artifactId > jackson-jaxrs-smile-provider</artifactId>
</dependency>
<dependency >
<groupId > com.google.guava</groupId>
<artifactId > guava</artifactId>
</dependency>
<dependency >
<groupId > javax.validation</groupId>
<artifactId > validation-api</artifactId>
</dependency>
<dependency >
<groupId > org.apache.logging.log4j</groupId>
<artifactId > log4j-slf4j-impl</artifactId>
<scope > runtime</scope>
</dependency>
2019-12-08 10:47:58 -05:00
<dependency >
<groupId > com.google.code.findbugs</groupId>
<artifactId > jsr305</artifactId>
</dependency>
2020-04-03 12:45:22 -04:00
<dependency >
<groupId > com.github.docker-java</groupId>
<artifactId > docker-java</artifactId>
<version > 3.2.0</version>
<exclusions >
<exclusion >
<groupId > com.github.docker-java</groupId>
<artifactId > docker-java-transport-jersey</artifactId>
</exclusion>
<exclusion >
<groupId > io.netty</groupId>
<artifactId > netty-transport-native-kqueue</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency >
<groupId > com.github.docker-java</groupId>
<artifactId > docker-java-transport-netty</artifactId>
2021-08-03 20:53:22 -04:00
<version > 3.2.11</version>
2020-04-03 12:45:22 -04:00
</dependency>
<dependency >
<groupId > com.github.docker-java</groupId>
<artifactId > docker-java-api</artifactId>
<version > 3.2.0</version>
</dependency>
2021-08-31 02:26:26 -04:00
<dependency >
<groupId > com.github.docker-java</groupId>
<artifactId > docker-java-core</artifactId>
<version > 3.2.0</version>
</dependency>
2020-04-03 12:45:22 -04:00
<dependency >
<groupId > io.netty</groupId>
<artifactId > netty-transport-native-kqueue</artifactId>
<classifier > osx-x86_64</classifier>
<scope > runtime</scope>
</dependency>
2020-12-24 18:29:32 -05:00
<dependency >
<groupId > org.eclipse.jetty</groupId>
<artifactId > jetty-servlet</artifactId>
<version > ${jetty.version}</version>
</dependency>
<dependency >
<groupId > org.eclipse.jetty</groupId>
<artifactId > jetty-server</artifactId>
<version > ${jetty.version}</version>
</dependency>
<dependency >
<groupId > com.google.inject.extensions</groupId>
<artifactId > guice-servlet</artifactId>
<version > ${guice.version}</version>
</dependency>
2021-03-08 11:12:12 -05:00
<dependency >
<groupId > io.confluent</groupId>
<artifactId > kafka-schema-registry-client</artifactId>
<version > 5.5.1</version>
<exclusions >
<exclusion >
<groupId > org.slf4j</groupId>
<artifactId > slf4j-log4j12</artifactId>
</exclusion>
<exclusion >
<groupId > org.apache.avro</groupId>
<artifactId > avro</artifactId>
</exclusion>
<exclusion >
<groupId > com.fasterxml.jackson.core</groupId>
<artifactId > jackson-databind</artifactId>
</exclusion>
<exclusion >
<groupId > javax.ws.rs</groupId>
<artifactId > javax.ws.rs-api</artifactId>
</exclusion>
<exclusion >
<groupId > javax.ws.rs</groupId>
<artifactId > javax.ws.rs-api</artifactId>
</exclusion>
<exclusion >
<groupId > javax.ws.rs</groupId>
<artifactId > jsr311-api</artifactId>
</exclusion>
<exclusion >
<groupId > jakarta.ws.rs</groupId>
<artifactId > jakarta.ws.rs-api</artifactId>
</exclusion>
</exclusions>
</dependency>
2021-05-17 18:45:07 -04:00
<dependency >
<groupId > io.confluent</groupId>
<artifactId > kafka-protobuf-provider</artifactId>
<version > 5.5.1</version>
<scope > provided</scope>
</dependency>
<dependency >
<groupId > com.google.protobuf</groupId>
<artifactId > protobuf-java</artifactId>
<version > 3.11.0</version>
</dependency>
2015-02-03 19:48:00 -05:00
<!-- Tests -->
2018-02-28 15:25:32 -05:00
<dependency >
<groupId > org.apache.calcite.avatica</groupId>
<artifactId > avatica</artifactId>
2019-09-09 17:37:21 -04:00
<scope > test</scope>
2018-02-28 15:25:32 -05:00
</dependency>
<dependency >
<groupId > org.apache.calcite.avatica</groupId>
2019-09-09 17:37:21 -04:00
<artifactId > avatica-core</artifactId>
<scope > test</scope>
2018-02-28 15:25:32 -05:00
</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>
2021-05-17 18:45:07 -04:00
<dependency >
<groupId > com.github.os72</groupId>
<artifactId > protobuf-dynamic</artifactId>
<version > 0.9.3</version>
<scope > compile</scope>
</dependency>
2021-07-22 23:09:09 -04:00
<dependency >
<groupId > com.amazonaws</groupId>
<artifactId > aws-java-sdk-sts</artifactId>
<version > ${aws.sdk.version}</version>
<scope > runtime</scope>
</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>
2019-12-05 17:34:35 -05:00
<plugin >
<groupId > org.owasp</groupId>
<artifactId > dependency-check-maven</artifactId>
<configuration >
<skip > true</skip>
</configuration>
</plugin>
2021-10-30 13:16:24 -04:00
<plugin >
<artifactId > maven-resources-plugin</artifactId>
<groupId > org.apache.maven.plugins</groupId>
<configuration >
<outputDirectory > ${project.build.outputDirectory}</outputDirectory>
<resources >
<resource >
<directory > script</directory>
<includes > copy_resources_template.sh</includes>
<filtering > true</filtering>
</resource>
<resource >
<directory > src/test/resources/hadoop/</directory>
<includes > *template.json</includes>
<filtering > true</filtering>
</resource>
<resource >
<directory > src/test/resources</directory>
<filtering > false</filtering>
</resource>
<resource >
<directory > src/main/resources</directory>
<filtering > false</filtering>
</resource>
</resources>
</configuration>
</plugin>
<plugin >
<groupId > com.coderplus.maven.plugins</groupId>
<artifactId > copy-rename-maven-plugin</artifactId>
<version > 1.0</version>
<executions >
<execution >
<id > copy-file-azure</id>
<phase > process-resources</phase>
<goals >
<goal > copy</goal>
</goals>
<configuration >
<sourceFile > ${project.build.outputDirectory}/wikipedia_hadoop_azure_input_index_task_template.json</sourceFile>
<destinationFile > ${project.build.outputDirectory}/wikipedia_hadoop_azure_input_index_task.sh</destinationFile>
</configuration>
</execution>
<execution >
<id > copy-file-s3</id>
<phase > process-resources</phase>
<goals >
<goal > copy</goal>
</goals>
<configuration >
<sourceFile >
${project.build.outputDirectory}/wikipedia_hadoop_s3_input_index_task_template.json
</sourceFile>
<destinationFile >
${project.build.outputDirectory}/wikipedia_hadoop_s3_input_index_task.json
</destinationFile>
</configuration>
</execution>
<execution >
<id > rename-file</id>
<phase > process-resources</phase>
<goals >
<goal > rename</goal>
</goals>
<configuration >
<sourceFile > ${project.build.outputDirectory}/copy_resources_template.sh</sourceFile>
<destinationFile > gen-scripts/copy_resources.sh</destinationFile>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
2015-02-03 19:48:00 -05:00
</build>
<profiles >
2021-10-30 13:16:24 -04:00
<profile >
<id > hadoop3</id>
<properties >
<hadoop.integ.libs > "org.apache.hadoop:hadoop-client-api:${hadoop.compile.version}", "org.apache.hadoop:hadoop-client-runtime:${hadoop.compile.version}", "org.apache.hadoop:hadoop-azure:${hadoop.compile.version}"</hadoop.integ.libs>
<hadoop.s3.impl > org.apache.hadoop.fs.s3a.S3AFileSystem</hadoop.s3.impl>
</properties>
</profile>
2015-02-03 19:48:00 -05:00
<profile >
<id > integration-tests</id>
2020-02-12 19:36:31 -05:00
<properties >
2020-03-16 15:04:05 -04:00
<start.hadoop.docker > false</start.hadoop.docker>
2020-06-02 12:38:53 -04:00
<docker.run.skip > false</docker.run.skip>
<docker.build.skip > false</docker.build.skip>
2020-12-28 13:25:47 -05:00
<docker.build.hadoop > false</docker.build.hadoop>
2020-12-08 19:02:26 -05:00
<it.indexer > middleManager</it.indexer>
2020-10-03 19:08:34 -04:00
<override.config.path />
<resource.file.dir.path />
2020-12-07 01:35:11 -05:00
<!-- Would like to put emojis in here too, but they throw "Input buffer too short" errors due to https://issues.apache.org/jira/browse/SUREFIRE - 1865 -->
<extra.datasource.name.suffix > \ %Россия\ 한국\ 中国!?</extra.datasource.name.suffix>
2020-02-12 19:36:31 -05:00
</properties>
2015-02-03 19:48:00 -05:00
<build >
<plugins >
<plugin >
<groupId > org.codehaus.mojo</groupId>
<artifactId > exec-maven-plugin</artifactId>
<executions >
<execution >
2020-06-02 12:38:53 -04:00
<id > docker-package</id>
2015-02-03 19:48:00 -05:00
<goals >
<goal > exec</goal>
</goals>
<phase > pre-integration-test</phase>
<configuration >
2020-03-10 00:17:49 -04:00
<environmentVariables >
2020-12-28 13:25:47 -05:00
<DRUID_INTEGRATION_TEST_BUILD_HADOOP_DOCKER > ${docker.build.hadoop}</DRUID_INTEGRATION_TEST_BUILD_HADOOP_DOCKER>
2020-06-02 12:38:53 -04:00
<DRUID_INTEGRATION_TEST_START_HADOOP_DOCKER > ${start.hadoop.docker}</DRUID_INTEGRATION_TEST_START_HADOOP_DOCKER>
<DRUID_INTEGRATION_TEST_JVM_RUNTIME > ${jvm.runtime}</DRUID_INTEGRATION_TEST_JVM_RUNTIME>
<DRUID_INTEGRATION_TEST_GROUP > ${groups}</DRUID_INTEGRATION_TEST_GROUP>
<DRUID_INTEGRATION_TEST_OVERRIDE_CONFIG_PATH > ${override.config.path}</DRUID_INTEGRATION_TEST_OVERRIDE_CONFIG_PATH>
<DRUID_INTEGRATION_TEST_RESOURCE_FILE_DIR_PATH > ${resource.file.dir.path}</DRUID_INTEGRATION_TEST_RESOURCE_FILE_DIR_PATH>
<DRUID_INTEGRATION_TEST_SKIP_BUILD_DOCKER > ${docker.build.skip}</DRUID_INTEGRATION_TEST_SKIP_BUILD_DOCKER>
<DRUID_INTEGRATION_TEST_SKIP_RUN_DOCKER > ${docker.run.skip}</DRUID_INTEGRATION_TEST_SKIP_RUN_DOCKER>
2020-12-08 19:02:26 -05:00
<DRUID_INTEGRATION_TEST_INDEXER > ${it.indexer}</DRUID_INTEGRATION_TEST_INDEXER>
2021-01-31 11:35:39 -05:00
<MYSQL_VERSION > ${mysql.version}</MYSQL_VERSION>
2021-07-08 15:25:37 -04:00
<MARIA_VERSION > 2.7.3</MARIA_VERSION>
2021-05-17 18:45:07 -04:00
<CONFLUENT_VERSION > 5.5.1</CONFLUENT_VERSION>
2021-04-24 11:27:07 -04:00
<KAFKA_VERSION > ${apache.kafka.version}</KAFKA_VERSION>
2021-05-25 15:49:49 -04:00
<ZK_VERSION > ${zookeeper.version}</ZK_VERSION>
2021-10-30 13:16:24 -04:00
<HADOOP_VERSION > ${hadoop.compile.version}</HADOOP_VERSION>
2020-03-10 00:17:49 -04:00
</environmentVariables>
2020-06-02 12:38:53 -04:00
<executable > ${project.basedir}/build_run_cluster.sh</executable>
2015-02-03 19:48:00 -05:00
</configuration>
</execution>
<execution >
<id > stop-druid-cluster</id>
<goals >
<goal > exec</goal>
</goals>
<phase > post-integration-test</phase>
<configuration >
2020-04-22 13:43:34 -04:00
<environmentVariables >
2020-06-02 12:38:53 -04:00
<DRUID_INTEGRATION_TEST_SKIP_RUN_DOCKER > ${docker.run.skip}</DRUID_INTEGRATION_TEST_SKIP_RUN_DOCKER>
2020-12-18 01:50:12 -05:00
<DRUID_INTEGRATION_TEST_GROUP > ${groups}</DRUID_INTEGRATION_TEST_GROUP>
<DRUID_INTEGRATION_TEST_OVERRIDE_CONFIG_PATH > ${override.config.path}</DRUID_INTEGRATION_TEST_OVERRIDE_CONFIG_PATH>
<DRUID_INTEGRATION_TEST_INDEXER > ${it.indexer}</DRUID_INTEGRATION_TEST_INDEXER>
2020-04-22 13:43:34 -04:00
</environmentVariables>
2015-02-03 19:48:00 -05:00
<executable > ${project.basedir}/stop_cluster.sh</executable>
</configuration>
</execution>
</executions>
</plugin>
2020-06-02 12:38:53 -04:00
2015-02-03 19:48:00 -05:00
<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 >
2020-04-29 11:53:25 -04:00
<properties >
<property >
<name > testrunfactory</name>
<value > org.testng.DruidTestRunnerFactory</value>
</property>
</properties>
2015-02-03 19:48:00 -05:00
<argLine >
2021-05-19 15:59:50 -04:00
-Xmx64m
2015-02-03 19:48:00 -05:00
-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}
2020-04-30 17:33:01 -04:00
-Ddruid.test.config.extraDatasourceNameSuffix=${extra.datasource.name.suffix}
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>
2019-08-07 12:52:42 -04:00
<reportFormat > plain</reportFormat> <!-- show elapsed time for each test -->
2015-02-03 19:48:00 -05:00
<suiteXmlFiles >
<suiteXmlFile > src/test/resources/testng.xml</suiteXmlFile>
</suiteXmlFiles>
</configuration>
</plugin>
2020-06-02 12:38:53 -04:00
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>
2020-06-02 12:38:53 -04:00
2015-07-06 15:15:15 -04:00
<profile >
<id > int-tests-config-file</id>
2021-02-01 18:48:42 -05:00
<properties >
<pod.name > int-test</pod.name>
<pod.namespace > default</pod.namespace>
<build.druid.cluster > false</build.druid.cluster>
<override.config.path />
<resource.file.dir.path />
<!-- Would like to put emojis in here too, but they throw "Input buffer too short" errors due to https://issues.apache.org/jira/browse/SUREFIRE - 1865 -->
<extra.datasource.name.suffix > \ %Россия\ 한국\ 中国!?</extra.datasource.name.suffix>
</properties>
2015-07-06 15:15:15 -04:00
<build >
<plugins >
2021-02-01 18:48:42 -05:00
<plugin >
<groupId > org.codehaus.mojo</groupId>
<artifactId > exec-maven-plugin</artifactId>
<executions >
<execution >
<id > K8s-package</id>
<goals >
<goal > exec</goal>
</goals>
<phase > pre-integration-test</phase>
<configuration >
<environmentVariables >
<POD_NAME > ${pod.name}</POD_NAME>
<POD_NAMESPACE > ${pod.namespace}</POD_NAMESPACE>
<BUILD_DRUID_CLSUTER > ${build.druid.cluster}</BUILD_DRUID_CLSUTER>
</environmentVariables>
<executable > ${project.basedir}/script/build_run_k8s_cluster.sh</executable>
</configuration>
</execution>
<execution >
<id > stop-k8s-druid-cluster</id>
<goals >
<goal > exec</goal>
</goals>
<phase > post-integration-test</phase>
<configuration >
<environmentVariables >
<POD_NAME > ${pod.name}</POD_NAME>
<POD_NAMESPACE > ${pod.namespace}</POD_NAMESPACE>
<BUILD_DRUID_CLSUTER > ${build.druid.cluster}</BUILD_DRUID_CLSUTER>
</environmentVariables>
<executable > ${project.basedir}/script/stop_k8s_cluster.sh</executable>
</configuration>
</execution>
</executions>
</plugin>
2015-07-06 15:15:15 -04:00
<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 >
2020-04-29 11:53:25 -04: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>