| <?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>0.14.0-SNAPSHOT</version> |
| <relativePath>../pom.xml</relativePath> |
| </parent> |
| <artifactId>integration</artifactId> |
| <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>junit</groupId> |
| <artifactId>junit</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.awaitility</groupId> |
| <artifactId>awaitility</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.iotdb</groupId> |
| <artifactId>rewrite-tsfile-tool</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| </dependencies> |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>3.0.0-M5</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-failsafe-plugin</artifactId> |
| <version>3.0.0-M5</version> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| <profiles> |
| <profile> |
| <id>LocalStandalone</id> |
| <properties> |
| <test.includedGroups>org.apache.iotdb.itbase.category.LocalStandaloneTest</test.includedGroups> |
| <test.excludedGroups/> |
| </properties> |
| <activation> |
| <activeByDefault>true</activeByDefault> |
| </activation> |
| <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> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-failsafe-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>integration-test-Standalone</id> |
| <goals> |
| <goal>integration-test</goal> |
| </goals> |
| <configuration> |
| <groups>${test.includedGroups}</groups> |
| <excludedGroups>${test.excludedGroups}</excludedGroups> |
| <useSystemClassLoader>false</useSystemClassLoader> |
| <threadCount>1</threadCount> |
| <forkCount>1</forkCount> |
| <reuseForks>false</reuseForks> |
| <systemPropertyVariables> |
| <TestEnv>Standalone</TestEnv> |
| </systemPropertyVariables> |
| <summaryFile>target/failsafe-reports/failsafe-summary-LocalStandalone.xml</summaryFile> |
| </configuration> |
| </execution> |
| <execution> |
| <id>verify</id> |
| <goals> |
| <goal>verify</goal> |
| </goals> |
| <configuration> |
| <summaryFiles> |
| <summaryFile>target/failsafe-reports/failsafe-summary-LocalStandalone.xml</summaryFile> |
| </summaryFiles> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>Remote</id> |
| <properties> |
| <test.includedGroups>org.apache.iotdb.itbase.category.RemoteTest</test.includedGroups> |
| <test.excludedGroups/> |
| </properties> |
| <activation> |
| <activeByDefault>false</activeByDefault> |
| </activation> |
| <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> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-failsafe-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>integration-test-Remote</id> |
| <goals> |
| <goal>integration-test</goal> |
| </goals> |
| <configuration> |
| <skipTests>false</skipTests> |
| <groups>${test.includedGroups}</groups> |
| <excludedGroups>${test.excludedGroups}</excludedGroups> |
| <useSystemClassLoader>false</useSystemClassLoader> |
| <threadCount>1</threadCount> |
| <forkCount>1</forkCount> |
| <reuseForks>false</reuseForks> |
| <systemPropertyVariables> |
| <TestEnv>Remote</TestEnv> |
| </systemPropertyVariables> |
| <summaryFile>target/failsafe-reports/failsafe-summary-Remote.xml</summaryFile> |
| </configuration> |
| </execution> |
| <execution> |
| <id>verify</id> |
| <goals> |
| <goal>verify</goal> |
| </goals> |
| <configuration> |
| <skipTests>false</skipTests> |
| <summaryFiles> |
| <summaryFile>target/failsafe-reports/failsafe-summary-Remote.xml</summaryFile> |
| </summaryFiles> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>Cluster</id> |
| <properties> |
| <test.includedGroups>org.apache.iotdb.itbase.category.ClusterTest</test.includedGroups> |
| <test.excludedGroups/> |
| </properties> |
| <activation> |
| <activeByDefault>false</activeByDefault> |
| </activation> |
| <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> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <version>${maven.assembly.version}</version> |
| <executions> |
| <!-- Package binaries--> |
| <execution> |
| <id>cluster-assembly</id> |
| <phase>package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| <configuration> |
| <descriptors> |
| <descriptor>src/assembly/cluster.xml</descriptor> |
| </descriptors> |
| <finalName>template-node</finalName> |
| <appendAssemblyId>false</appendAssemblyId> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-failsafe-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>integration-test-Cluster</id> |
| <goals> |
| <goal>integration-test</goal> |
| </goals> |
| <configuration> |
| <groups>${test.includedGroups}</groups> |
| <excludedGroups>${test.excludedGroups}</excludedGroups> |
| <useSystemClassLoader>false</useSystemClassLoader> |
| <threadCount>1</threadCount> |
| <forkCount>1</forkCount> |
| <reuseForks>false</reuseForks> |
| <systemPropertyVariables> |
| <TestEnv>FiveNodeCluster1</TestEnv> |
| </systemPropertyVariables> |
| <summaryFile>target/failsafe-reports/failsafe-summary-Cluster.xml</summaryFile> |
| </configuration> |
| </execution> |
| <execution> |
| <id>verify</id> |
| <goals> |
| <goal>verify</goal> |
| </goals> |
| <configuration> |
| <summaryFiles> |
| <summaryFile>target/failsafe-reports/failsafe-summary-Cluster.xml</summaryFile> |
| </summaryFiles> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |