|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!-- |
| 3 | +
|
| 4 | + Licensed to the Apache Software Foundation (ASF) under one |
| 5 | + or more contributor license agreements. See the NOTICE file |
| 6 | + distributed with this work for additional information |
| 7 | + regarding copyright ownership. The ASF licenses this file |
| 8 | + to you under the Apache License, Version 2.0 (the |
| 9 | + "License"); you may not use this file except in compliance |
| 10 | + with the License. You may obtain a copy of the License at |
| 11 | +
|
| 12 | + http://www.apache.org/licenses/LICENSE-2.0 |
| 13 | +
|
| 14 | + Unless required by applicable law or agreed to in writing, |
| 15 | + software distributed under the License is distributed on an |
| 16 | + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 17 | + KIND, either express or implied. See the License for the |
| 18 | + specific language governing permissions and limitations |
| 19 | + under the License. |
| 20 | +
|
| 21 | +--> |
| 22 | +<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"> |
| 23 | + <modelVersion>4.0.0</modelVersion> |
| 24 | + <parent> |
| 25 | + <artifactId>iotdb-parent</artifactId> |
| 26 | + <groupId>org.apache.iotdb</groupId> |
| 27 | + <version>0.14.0-SNAPSHOT</version> |
| 28 | + <relativePath>../pom.xml</relativePath> |
| 29 | + </parent> |
| 30 | + <artifactId>integration-test</artifactId> |
| 31 | + <dependencies> |
| 32 | + <dependency> |
| 33 | + <groupId>org.apache.iotdb</groupId> |
| 34 | + <artifactId>iotdb-server</artifactId> |
| 35 | + <version>${project.version}</version> |
| 36 | + </dependency> |
| 37 | + <dependency> |
| 38 | + <groupId>org.apache.iotdb</groupId> |
| 39 | + <artifactId>iotdb-server</artifactId> |
| 40 | + <version>${project.version}</version> |
| 41 | + <type>test-jar</type> |
| 42 | + <scope>test</scope> |
| 43 | + </dependency> |
| 44 | + <dependency> |
| 45 | + <groupId>org.apache.iotdb</groupId> |
| 46 | + <artifactId>iotdb-session</artifactId> |
| 47 | + <version>${project.version}</version> |
| 48 | + </dependency> |
| 49 | + <dependency> |
| 50 | + <groupId>org.apache.iotdb</groupId> |
| 51 | + <artifactId>iotdb-jdbc</artifactId> |
| 52 | + <version>${project.version}</version> |
| 53 | + </dependency> |
| 54 | + <dependency> |
| 55 | + <groupId>org.apache.iotdb</groupId> |
| 56 | + <artifactId>iotdb-confignode</artifactId> |
| 57 | + <version>${project.version}</version> |
| 58 | + </dependency> |
| 59 | + <dependency> |
| 60 | + <groupId>junit</groupId> |
| 61 | + <artifactId>junit</artifactId> |
| 62 | + </dependency> |
| 63 | + </dependencies> |
| 64 | + <dependencyManagement> |
| 65 | + <dependencies> |
| 66 | + <dependency> |
| 67 | + <groupId>org.apache.maven.plugins</groupId> |
| 68 | + <artifactId>maven-surefire-plugin</artifactId> |
| 69 | + <version>3.0.0-M5</version> |
| 70 | + </dependency> |
| 71 | + <dependency> |
| 72 | + <groupId>org.apache.maven.plugins</groupId> |
| 73 | + <artifactId>maven-failsafe-plugin</artifactId> |
| 74 | + <version>3.0.0-M7</version> |
| 75 | + </dependency> |
| 76 | + </dependencies> |
| 77 | + </dependencyManagement> |
| 78 | + <profiles> |
| 79 | + <profile> |
| 80 | + <id>LocalStandaloneIT</id> |
| 81 | + <properties> |
| 82 | + <test.includedGroups>org.apache.iotdb.itbase.category.LocalStandaloneIT</test.includedGroups> |
| 83 | + <test.excludedGroups/> |
| 84 | + </properties> |
| 85 | + <activation> |
| 86 | + <activeByDefault>true</activeByDefault> |
| 87 | + </activation> |
| 88 | + <build> |
| 89 | + <plugins> |
| 90 | + <!-- skip default-test --> |
| 91 | + <plugin> |
| 92 | + <groupId>org.apache.maven.plugins</groupId> |
| 93 | + <artifactId>maven-surefire-plugin</artifactId> |
| 94 | + <executions> |
| 95 | + <execution> |
| 96 | + <id>default-test</id> |
| 97 | + <configuration> |
| 98 | + <skip>true</skip> |
| 99 | + </configuration> |
| 100 | + </execution> |
| 101 | + </executions> |
| 102 | + </plugin> |
| 103 | + <plugin> |
| 104 | + <groupId>org.apache.maven.plugins</groupId> |
| 105 | + <artifactId>maven-failsafe-plugin</artifactId> |
| 106 | + <executions> |
| 107 | + <execution> |
| 108 | + <id>standalone-integration-test</id> |
| 109 | + <goals> |
| 110 | + <goal>integration-test</goal> |
| 111 | + </goals> |
| 112 | + <configuration> |
| 113 | + <groups>${test.includedGroups}</groups> |
| 114 | + <excludedGroups>${test.excludedGroups}</excludedGroups> |
| 115 | + <useSystemClassLoader>false</useSystemClassLoader> |
| 116 | + <threadCount>1</threadCount> |
| 117 | + <forkCount>1</forkCount> |
| 118 | + <reuseForks>false</reuseForks> |
| 119 | + <systemPropertyVariables> |
| 120 | + <TestEnv>Standalone</TestEnv> |
| 121 | + </systemPropertyVariables> |
| 122 | + <summaryFile>target/failsafe-reports/failsafe-summary-LocalStandaloneIT.xml</summaryFile> |
| 123 | + </configuration> |
| 124 | + </execution> |
| 125 | + <execution> |
| 126 | + <id>verify</id> |
| 127 | + <goals> |
| 128 | + <goal>verify</goal> |
| 129 | + </goals> |
| 130 | + <configuration> |
| 131 | + <summaryFiles> |
| 132 | + <summaryFile>target/failsafe-reports/failsafe-summary-LocalStandaloneIT.xml</summaryFile> |
| 133 | + </summaryFiles> |
| 134 | + </configuration> |
| 135 | + </execution> |
| 136 | + </executions> |
| 137 | + </plugin> |
| 138 | + </plugins> |
| 139 | + </build> |
| 140 | + </profile> |
| 141 | + <profile> |
| 142 | + <id>RemoteIT</id> |
| 143 | + <properties> |
| 144 | + <test.includedGroups>org.apache.iotdb.itbase.category.RemoteIT</test.includedGroups> |
| 145 | + <test.excludedGroups/> |
| 146 | + </properties> |
| 147 | + <activation> |
| 148 | + <activeByDefault>false</activeByDefault> |
| 149 | + </activation> |
| 150 | + <build> |
| 151 | + <plugins> |
| 152 | + <!-- skip default-test --> |
| 153 | + <plugin> |
| 154 | + <groupId>org.apache.maven.plugins</groupId> |
| 155 | + <artifactId>maven-surefire-plugin</artifactId> |
| 156 | + <executions> |
| 157 | + <execution> |
| 158 | + <id>default-test</id> |
| 159 | + <configuration> |
| 160 | + <skip>true</skip> |
| 161 | + </configuration> |
| 162 | + </execution> |
| 163 | + </executions> |
| 164 | + </plugin> |
| 165 | + <plugin> |
| 166 | + <groupId>org.apache.maven.plugins</groupId> |
| 167 | + <artifactId>maven-failsafe-plugin</artifactId> |
| 168 | + <executions> |
| 169 | + <execution> |
| 170 | + <id>remote-integration-test</id> |
| 171 | + <goals> |
| 172 | + <goal>integration-test</goal> |
| 173 | + </goals> |
| 174 | + <configuration> |
| 175 | + <skipTests>false</skipTests> |
| 176 | + <groups>${test.includedGroups}</groups> |
| 177 | + <excludedGroups>${test.excludedGroups}</excludedGroups> |
| 178 | + <useSystemClassLoader>false</useSystemClassLoader> |
| 179 | + <threadCount>1</threadCount> |
| 180 | + <forkCount>1</forkCount> |
| 181 | + <reuseForks>false</reuseForks> |
| 182 | + <systemPropertyVariables> |
| 183 | + <TestEnv>Remote</TestEnv> |
| 184 | + </systemPropertyVariables> |
| 185 | + <summaryFile>target/failsafe-reports/failsafe-summary-RemoteIT.xml</summaryFile> |
| 186 | + </configuration> |
| 187 | + </execution> |
| 188 | + <execution> |
| 189 | + <id>verify</id> |
| 190 | + <goals> |
| 191 | + <goal>verify</goal> |
| 192 | + </goals> |
| 193 | + <configuration> |
| 194 | + <skipTests>false</skipTests> |
| 195 | + <summaryFiles> |
| 196 | + <summaryFile>target/failsafe-reports/failsafe-summary-RemoteIT.xml</summaryFile> |
| 197 | + </summaryFiles> |
| 198 | + </configuration> |
| 199 | + </execution> |
| 200 | + </executions> |
| 201 | + </plugin> |
| 202 | + </plugins> |
| 203 | + </build> |
| 204 | + </profile> |
| 205 | + <profile> |
| 206 | + <id>ClusterIT</id> |
| 207 | + <properties> |
| 208 | + <test.includedGroups>org.apache.iotdb.itbase.category.ClusterIT</test.includedGroups> |
| 209 | + <test.excludedGroups/> |
| 210 | + </properties> |
| 211 | + <activation> |
| 212 | + <activeByDefault>false</activeByDefault> |
| 213 | + </activation> |
| 214 | + <build> |
| 215 | + <plugins> |
| 216 | + <!-- skip default-test --> |
| 217 | + <plugin> |
| 218 | + <groupId>org.apache.maven.plugins</groupId> |
| 219 | + <artifactId>maven-surefire-plugin</artifactId> |
| 220 | + <executions> |
| 221 | + <execution> |
| 222 | + <id>default-test</id> |
| 223 | + <configuration> |
| 224 | + <skip>true</skip> |
| 225 | + </configuration> |
| 226 | + </execution> |
| 227 | + </executions> |
| 228 | + </plugin> |
| 229 | + <plugin> |
| 230 | + <groupId>org.apache.maven.plugins</groupId> |
| 231 | + <artifactId>maven-assembly-plugin</artifactId> |
| 232 | + <version>${maven.assembly.version}</version> |
| 233 | + <executions> |
| 234 | + <!-- Package binaries--> |
| 235 | + <execution> |
| 236 | + <id>cluster-test-assembly</id> |
| 237 | + <phase>package</phase> |
| 238 | + <goals> |
| 239 | + <goal>single</goal> |
| 240 | + </goals> |
| 241 | + <configuration> |
| 242 | + <descriptors> |
| 243 | + <descriptor>src/assembly/cluster-test.xml</descriptor> |
| 244 | + </descriptors> |
| 245 | + <finalName>template-node</finalName> |
| 246 | + <appendAssemblyId>false</appendAssemblyId> |
| 247 | + </configuration> |
| 248 | + </execution> |
| 249 | + </executions> |
| 250 | + </plugin> |
| 251 | + <plugin> |
| 252 | + <groupId>org.apache.maven.plugins</groupId> |
| 253 | + <artifactId>maven-failsafe-plugin</artifactId> |
| 254 | + <executions> |
| 255 | + <execution> |
| 256 | + <id>cluster-integration-test</id> |
| 257 | + <goals> |
| 258 | + <goal>integration-test</goal> |
| 259 | + </goals> |
| 260 | + <configuration> |
| 261 | + <groups>${test.includedGroups}</groups> |
| 262 | + <excludedGroups>${test.excludedGroups}</excludedGroups> |
| 263 | + <useSystemClassLoader>false</useSystemClassLoader> |
| 264 | + <parallel>classes</parallel> |
| 265 | + <useUnlimitedThreads>true</useUnlimitedThreads> |
| 266 | + <forkCount>1</forkCount> |
| 267 | + <reuseForks>false</reuseForks> |
| 268 | + <systemPropertyVariables> |
| 269 | + <TestEnv>Cluster1</TestEnv> |
| 270 | + </systemPropertyVariables> |
| 271 | + <summaryFile>target/failsafe-reports/failsafe-summary-ClusterIT.xml</summaryFile> |
| 272 | + </configuration> |
| 273 | + </execution> |
| 274 | + <execution> |
| 275 | + <id>verify</id> |
| 276 | + <goals> |
| 277 | + <goal>verify</goal> |
| 278 | + </goals> |
| 279 | + <configuration> |
| 280 | + <summaryFiles> |
| 281 | + <summaryFile>target/failsafe-reports/failsafe-summary-ClusterIT.xml</summaryFile> |
| 282 | + </summaryFiles> |
| 283 | + </configuration> |
| 284 | + </execution> |
| 285 | + </executions> |
| 286 | + </plugin> |
| 287 | + </plugins> |
| 288 | + </build> |
| 289 | + </profile> |
| 290 | + </profiles> |
| 291 | +</project> |
0 commit comments