2014-11-06 13:23:24 -05:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
2015-01-30 23:36:38 -05:00
|
|
|
~ 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.
|
|
|
|
-->
|
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>
|
|
|
|
<groupId>io.druid</groupId>
|
|
|
|
<artifactId>druid</artifactId>
|
2015-03-30 19:35:24 -04:00
|
|
|
<version>0.7.2-SNAPSHOT</version>
|
2015-02-03 19:48:00 -05:00
|
|
|
</parent>
|
2014-11-06 13:23:24 -05:00
|
|
|
|
2015-02-03 19:48:00 -05:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.druid</groupId>
|
|
|
|
<artifactId>druid-common</artifactId>
|
|
|
|
<version>${project.parent.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.druid.extensions</groupId>
|
|
|
|
<artifactId>druid-s3-extensions</artifactId>
|
|
|
|
<version>${project.parent.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.druid.extensions</groupId>
|
|
|
|
<artifactId>druid-histogram</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</groupId>
|
|
|
|
<artifactId>druid-services</artifactId>
|
|
|
|
<version>${project.parent.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.druid</groupId>
|
|
|
|
<artifactId>druid-server</artifactId>
|
|
|
|
<version>${project.parent.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- Tests -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.testng</groupId>
|
|
|
|
<artifactId>testng</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.easymock</groupId>
|
|
|
|
<artifactId>easymock</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</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>
|
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>
|
|
|
|
<argLine>
|
|
|
|
-Duser.timezone=UTC
|
|
|
|
-Dfile.encoding=UTF-8
|
|
|
|
-Dtestrunfactory=org.testng.DruidTestRunnerFactory
|
|
|
|
-Ddruid.test.config.dockerIp=${env.DOCKER_IP}
|
|
|
|
-Ddruid.zk.service.host=${env.DOCKER_IP}
|
|
|
|
</argLine>
|
|
|
|
<suiteXmlFiles>
|
|
|
|
<suiteXmlFile>src/test/resources/testng.xml</suiteXmlFile>
|
|
|
|
</suiteXmlFiles>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
2014-11-06 13:23:24 -05:00
|
|
|
|
2015-02-03 19:48:00 -05:00
|
|
|
</project>
|