blob: 1979797ef13503e846fb0ac205e6869aeca93f6f [file] [log] [blame]
<?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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>iotdb-parent</artifactId>
<groupId>org.apache.iotdb</groupId>
<version>1.1.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>integration-test</artifactId>
<properties>
<integrationTest.forkCount>1</integrationTest.forkCount>
<integrationTest.randomSelectWriteNode>true</integrationTest.randomSelectWriteNode>
<integrationTest.readAndVerifyWithMultiNode>true</integrationTest.readAndVerifyWithMultiNode>
<integrationTest.launchNodeInSameJVM>true</integrationTest.launchNodeInSameJVM>
<integrationTest.nodeMaxHeapSize>200m</integrationTest.nodeMaxHeapSize>
<integrationTest.nodeNewHeapSize>200m</integrationTest.nodeNewHeapSize>
<integrationTest.testEnv/>
<integrationTest.excludedGroups/>
<integrationTest.includedGroups/>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-server</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-server</artifactId>
<version>${project.version}</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-session</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-jdbc</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-cli</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-confignode</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>library-udf</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>rewrite-tsfile-tool</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.awaitility</groupId>
<artifactId>awaitility</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>zeppelin-iotdb</artifactId>
<version>${project.version}</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-jcl</artifactId>
</exclusion>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</exclusion>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.zeppelin</groupId>
<artifactId>zeppelin-interpreter</artifactId>
<version>${zeppelin.version}</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</exclusion>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M5</version>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<plugins>
<!-- skip default-test -->
<!-- <plugin>-->
<!-- <groupId>org.apache.maven.plugins</groupId>-->
<!-- <artifactId>maven-surefire-plugin</artifactId>-->
<!-- <executions>-->
<!-- <execution>-->
<!-- <id>default-test</id>-->
<!-- <configuration>-->
<!-- <skip>true</skip>-->
<!-- </configuration>-->
<!-- </execution>-->
<!-- </executions>-->
<!-- </plugin>-->
<!-- &lt;!&ndash; If the test starts separate processes, we should package first &ndash;&gt;-->
<!-- <plugin>-->
<!-- <groupId>org.apache.maven.plugins</groupId>-->
<!-- <artifactId>maven-assembly-plugin</artifactId>-->
<!-- <version>${maven.assembly.version}</version>-->
<!-- <configuration>-->
<!-- <skipAssembly>${integrationTest.launchNodeInSameJVM}</skipAssembly>-->
<!-- </configuration>-->
<!-- <executions>-->
<!-- &lt;!&ndash; Package binaries&ndash;&gt;-->
<!-- <execution>-->
<!-- <id>cluster-test-assembly</id>-->
<!-- <phase>package</phase>-->
<!-- <goals>-->
<!-- <goal>single</goal>-->
<!-- </goals>-->
<!-- <configuration>-->
<!-- <descriptors>-->
<!-- <descriptor>src/assembly/mpp-test.xml</descriptor>-->
<!-- </descriptors>-->
<!-- <finalName>template-node</finalName>-->
<!-- <appendAssemblyId>false</appendAssemblyId>-->
<!-- </configuration>-->
<!-- </execution>-->
<!-- <execution>-->
<!-- <id>cluster-test-assembly-share</id>-->
<!-- <phase>package</phase>-->
<!-- <goals>-->
<!-- <goal>single</goal>-->
<!-- </goals>-->
<!-- <configuration>-->
<!-- <descriptors>-->
<!-- <descriptor>src/assembly/mpp-share.xml</descriptor>-->
<!-- </descriptors>-->
<!-- <finalName>template-node-share</finalName>-->
<!-- <appendAssemblyId>false</appendAssemblyId>-->
<!-- </configuration>-->
<!-- </execution>-->
<!-- </executions>-->
<!-- </plugin>-->
<!-- &lt;!&ndash; Run integration tests &ndash;&gt;-->
<!-- <plugin>-->
<!-- <groupId>org.apache.maven.plugins</groupId>-->
<!-- <artifactId>maven-failsafe-plugin</artifactId>-->
<!-- <executions>-->
<!-- <execution>-->
<!-- <id>integration-test</id>-->
<!-- <goals>-->
<!-- <goal>integration-test</goal>-->
<!-- </goals>-->
<!-- <configuration>-->
<!-- <groups>${integrationTest.includedGroups}</groups>-->
<!-- <excludedGroups>${integrationTest.excludedGroups}</excludedGroups>-->
<!-- <useSystemClassLoader>false</useSystemClassLoader>-->
<!-- <parallel>none</parallel>-->
<!-- <forkCount>${integrationTest.forkCount}</forkCount>-->
<!-- <reuseForks>false</reuseForks>-->
<!-- <systemPropertyVariables>-->
<!-- <TestEnv>${integrationTest.testEnv}</TestEnv>-->
<!-- <RandomSelectWriteNode>${integrationTest.randomSelectWriteNode}</RandomSelectWriteNode>-->
<!-- <ReadAndVerifyWithMultiNode>${integrationTest.readAndVerifyWithMultiNode}</ReadAndVerifyWithMultiNode>-->
<!-- </systemPropertyVariables>-->
<!-- <summaryFile>target/failsafe-reports/failsafe-summary-IT.xml</summaryFile>-->
<!-- </configuration>-->
<!-- </execution>-->
<!-- <execution>-->
<!-- <id>verify</id>-->
<!-- <goals>-->
<!-- <goal>verify</goal>-->
<!-- </goals>-->
<!-- <configuration>-->
<!-- <summaryFiles>-->
<!-- <summaryFile>target/failsafe-reports/failsafe-summary-IT.xml</summaryFile>-->
<!-- </summaryFiles>-->
<!-- </configuration>-->
<!-- </execution>-->
<!-- </executions>-->
<!-- </plugin>-->
<!-- <plugin>-->
<!-- <groupId>org.codehaus.mojo</groupId>-->
<!-- <artifactId>exec-maven-plugin</artifactId>-->
<!-- <version>1.6.0</version>-->
<!-- <configuration>-->
<!-- <mainClass>org.apache.iotdb.it.framework.IoTDBTestReporter</mainClass>-->
<!-- </configuration>-->
<!-- <executions>-->
<!-- <execution>-->
<!-- <id>report</id>-->
<!-- <phase>post-integration-test</phase>-->
<!-- <goals>-->
<!-- <goal>java</goal>-->
<!-- </goals>-->
<!-- </execution>-->
<!-- </executions>-->
<!-- </plugin>-->
</plugins>
</build>
<profiles>
<profile>
<id>SimpleIT</id>
<properties>
<integrationTest.includedGroups>org.apache.iotdb.itbase.category.LocalStandaloneIT</integrationTest.includedGroups>
<integrationTest.excludedGroups/>
<integrationTest.testEnv>Simple</integrationTest.testEnv>
<integrationTest.launchNodeInSameJVM>false</integrationTest.launchNodeInSameJVM>
<integrationTest.randomSelectWriteNode>false</integrationTest.randomSelectWriteNode>
<integrationTest.readAndVerifyWithMultiNode>false</integrationTest.readAndVerifyWithMultiNode>
</properties>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
</profile>
<!-- Currently RemoteIT is not working as it lacks of the remote endpoint parameters -->
<profile>
<id>RemoteIT</id>
<properties>
<integrationTest.includedGroups>org.apache.iotdb.itbase.category.RemoteIT</integrationTest.includedGroups>
<integrationTest.excludedGroups/>
<integrationTest.testEnv>Remote</integrationTest.testEnv>
</properties>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
</profile>
<profile>
<id>ClusterIT</id>
<properties>
<integrationTest.includedGroups>org.apache.iotdb.itbase.category.ClusterIT</integrationTest.includedGroups>
<integrationTest.excludedGroups/>
<integrationTest.testEnv>Cluster1</integrationTest.testEnv>
<integrationTest.launchNodeInSameJVM>false</integrationTest.launchNodeInSameJVM>
<integrationTest.randomSelectWriteNode>true</integrationTest.randomSelectWriteNode>
<integrationTest.readAndVerifyWithMultiNode>true</integrationTest.readAndVerifyWithMultiNode>
</properties>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
</profile>
</profiles>
</project>