Preparing for Bigtop 0.7.0 release
[bigtop.git] / bigtop-tests / test-execution / integration / sqoop / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Licensed to the Apache Software Foundation (ASF) under one or more
4 contributor license agreements. See the NOTICE file distributed with
5 this work for additional information regarding copyright ownership.
6 The ASF licenses this file to You under the Apache License, Version 2.0
7 (the "License"); you may not use this file except in compliance with
8 the License. You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
17 -->
18 <project xmlns="http://maven.apache.org/POM/4.0.0"
19 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
21
22 <parent>
23 <groupId>org.apache.bigtop.itest</groupId>
24 <artifactId>integration-tests</artifactId>
25 <version>0.7.0</version>
26 <relativePath>../pom.xml</relativePath>
27 </parent>
28
29 <modelVersion>4.0.0</modelVersion>
30 <groupId>org.apache.bigtop.itest</groupId>
31 <artifactId>sqoop-integration-execution</artifactId>
32 <version>0.7.0</version>
33 <name>sqoop-integration-execution</name>
34
35 <properties>
36 <!--Additional environment variables are required-->
37 <SQOOP_HOME>${env.SQOOP_HOME}</SQOOP_HOME>
38 <HBASE_HOME>${env.HBASE_HOME}</HBASE_HOME>
39 <HIVE_HOME>${env.HIVE_HOME}</HIVE_HOME>
40 <ZOOKEEPER_HOME>${env.ZOOKEEPER_HOME}</ZOOKEEPER_HOME>
41 <!-- Integration tests are special -->
42 <org.apache.maven-failsafe-plugin.testInclude>**/IntegrationTest*</org.apache.maven-failsafe-plugin.testInclude>
43 <org.apache.maven-dependency-plugin.groupId>org.apache.bigtop.itest</org.apache.maven-dependency-plugin.groupId>
44 <org.apache.maven-dependency-plugin.artifactId>sqoop-integration</org.apache.maven-dependency-plugin.artifactId>
45 <org.apache.maven-dependency-plugin.version>${sqoop-integration.version}</org.apache.maven-dependency-plugin.version>
46 </properties>
47
48 <dependencies>
49 <dependency>
50 <groupId>org.apache.bigtop.itest</groupId>
51 <artifactId>sqoop-integration</artifactId>
52 </dependency>
53 </dependencies>
54
55 <build>
56 <plugins>
57 <plugin>
58 <groupId>org.apache.maven.plugins</groupId>
59 <artifactId>maven-dependency-plugin</artifactId>
60 </plugin>
61
62 <plugin>
63 <groupId>org.apache.maven.plugins</groupId>
64 <artifactId>maven-enforcer-plugin</artifactId>
65 <version>1.0</version>
66 <executions>
67 <execution>
68 <id>enforce-property</id>
69 <goals>
70 <goal>enforce</goal>
71 </goals>
72 <configuration>
73 <rules>
74 <requireProperty>
75 <property>SQOOP_HOME</property>
76 <message>SQOOP_HOME env. variable has to be set</message>
77 </requireProperty>
78 <requireProperty>
79 <property>HBASE_HOME</property>
80 <message>HBASE_HOME env. variable has to be set</message>
81 </requireProperty>
82 <requireProperty>
83 <property>HIVE_HOME</property>
84 <message>HIVE_HOME env. variable has to be set</message>
85 </requireProperty>
86 <requireProperty>
87 <property>ZOOKEEPER_HOME</property>
88 <message>ZOOKEEPER_HOME env. variable has to be set</message>
89 </requireProperty>
90 </rules>
91 <fail>true</fail>
92 </configuration>
93 </execution>
94 </executions>
95 </plugin>
96
97 <plugin>
98 <groupId>org.apache.maven.plugins</groupId>
99 <artifactId>maven-failsafe-plugin</artifactId>
100 <version>2.11</version>
101 <configuration>
102 <systemPropertyVariables>
103 <MYSQL_ROOTPW></MYSQL_ROOTPW>
104 </systemPropertyVariables>
105 </configuration>
106 </plugin>
107 </plugins>
108 </build>
109 </project>