aboutsummaryrefslogtreecommitdiff
path: root/bigtop-tests/test-execution/smokes/pom.xml
blob: 8fe22f8159de6ba23770a19aca0ad4f875819d3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
<?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/maven-v4_0_0.xsd">

  <parent>
    <groupId>org.apache.bigtop.itest</groupId>
    <artifactId>stacks-common</artifactId>
    <version>0.5.0-incubating-SNAPSHOT</version>
    <relativePath>../common/pom.xml</relativePath>
  </parent>

  <modelVersion>4.0.0</modelVersion>
  <groupId>org.apache.bigtop.itest</groupId>
  <artifactId>smoke-tests</artifactId>
  <packaging>pom</packaging>
  <version>0.5.0-incubating-SNAPSHOT</version>
  <name>hadoop-stack-validation</name>

  <properties>
    <!--
      BOM definitions
    -->
    <hadoop.version>2.0.0-SNAPSHOT</hadoop.version>
    <hbase.version>0.92.1</hbase.version>
    <pig.version>0.9.2</pig.version>
    <pig-smoke.version>0.9.2-SNAPSHOT</pig-smoke.version>
    <sqoop.version>1.4.1-incubating</sqoop.version>
    <itest-conf.version>0.5.0-incubating-SNAPSHOT</itest-conf.version>
    <itest-common.version>0.5.0-incubating-SNAPSHOT</itest-common.version>
    <hadoop-smoke.version>0.5.0-incubating-SNAPSHOT</hadoop-smoke.version>
    <flume-smoke.version>0.5.0-incubating-SNAPSHOT</flume-smoke.version>
    <hbase-smoke.version>0.5.0-incubating-SNAPSHOT</hbase-smoke.version>
    <hive-smoke.version>0.5.0-incubating-SNAPSHOT</hive-smoke.version>
    <mahout-smoke.version>0.5.0-incubating-SNAPSHOT</mahout-smoke.version>
    <oozie-smoke.version>0.5.0-incubating-SNAPSHOT</oozie-smoke.version>
    <giraph-smoke.version>0.5.0-incubating-SNAPSHOT</giraph-smoke.version>
    <hue-smoke.version>0.5.0-incubating-SNAPSHOT</hue-smoke.version>
    <package-smoke.version>0.5.0-incubating-SNAPSHOT</package-smoke.version>
    <solr-smoke.version>0.5.0-incubating-SNAPSHOT</solr-smoke.version>
    <!--
      End of BOM definitions
    -->
  </properties>

  <!--
    List of modules which should be executed as a part of stack testing run
  -->
  <modules>
    <!--
    <module>pig</module>
    <module>hive</module>
    -->
    <module>hadoop</module>
    <!--
    <module>oozie</module>
    <module>sqoop</module>
    <module>flume</module>
    <module>hbase</module>
    <module>mahout</module>
    <module>giraph</module>
    <module>hue</module>
    -->
  </modules>

  <dependencyManagement>
    <dependencies>
      <!-- Import configuration resources for the stack validation -->
      <dependency>
        <groupId>org.apache.bigtop.itest</groupId>
        <artifactId>smoke-tests-conf</artifactId>
        <version>${itest-conf.version}</version>
        <scope>test</scope>
      </dependency>
      <!-- Import of iTest artifact serving out-of-the-jar convenience methods -->
      <dependency>
        <groupId>org.apache.bigtop.itest</groupId>
        <artifactId>itest-common</artifactId>
        <version>${itest-common.version}</version>
        <scope>test</scope>
      </dependency>
      <!-- We HAVE to enforce use of this particular version of the launcher
           so it isn't overridden by any of transitive dependencies later on
      -->
      <dependency>
        <groupId>org.apache.ant</groupId>
        <artifactId>ant-launcher</artifactId>
        <version>1.8.2</version>
      </dependency>
      <!-- Gmaven plugin enables a lot of runtime flexibility for us -->
      <dependency>
        <groupId>org.codehaus.groovy.maven.runtime</groupId>
        <artifactId>gmaven-runtime-1.6</artifactId>
        <version>1.0</version>
      </dependency>

<!--
  BOM definitions
-->
<!-- Product artifacts -->
      <dependency>
        <groupId>org.apache.hadoop</groupId>
        <artifactId>hadoop-common</artifactId>
        <version>${hadoop.version}</version>
      </dependency>
      <dependency>
        <groupId>org.apache.hadoop</groupId>
        <artifactId>hadoop-common-test</artifactId>
        <version>${hadoop.version}</version>
      </dependency>
      <dependency>
        <groupId>org.apache.hadoop</groupId>
        <artifactId>hadoop-hdfs</artifactId>
        <version>${hadoop.version}</version>
      </dependency>
      <dependency>
        <groupId>org.apache.hadoop</groupId>
        <artifactId>hadoop-hdfs-test</artifactId>
        <version>${hadoop.version}</version>
      </dependency>
      <dependency>
        <groupId>org.apache.hadoop</groupId>
        <artifactId>hadoop-mapreduce</artifactId>
        <version>${hadoop.version}</version>
      </dependency>
      <dependency>
        <groupId>org.apache.hadoop</groupId>
        <artifactId>hadoop-client</artifactId>
        <version>${hadoop.version}</version>
      </dependency>
      <dependency>
        <groupId>org.apache.hbase</groupId>
        <artifactId>hbase</artifactId>
        <version>${hbase.version}</version>
      </dependency>
      <dependency>
        <groupId>org.apache.hbase</groupId>
        <artifactId>hbase</artifactId>
        <version>${hbase.version}</version>
        <type>test-jar</type>
      </dependency>
      <dependency>
        <groupId>org.apache.pig</groupId>
        <artifactId>pig</artifactId>
        <version>${pig.version}</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.apache.pig</groupId>
        <artifactId>pigsmoke</artifactId>
        <version>${pig.version}</version>
        <scope>test</scope>
      </dependency>
<!-- Test artifacts -->
      <dependency>
        <groupId>org.apache.bigtop.itest</groupId>
        <artifactId>hadoop-smoke</artifactId>
        <version>${hadoop-smoke.version}</version>
        <!-- FIXME: test-jar seems to be an suboptimal thing to use for
          artifacts of this kind: it causes all sorts of the issue such as
          need to explicitly specify the version of the artifact
          in the module POM file.
          Same goes for the rest of the bunch here-->
        <scope>test</scope>
      </dependency>
      <!--
      <dependency>
        <groupId>org.apache.bigtop.itest</groupId>
        <artifactId>hbase-smoke</artifactId>
        <version>${hbase-smoke.version}</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.apache.bigtop.itest</groupId>
        <artifactId>hive-smoke</artifactId>
        <version>${hive-smoke.version}</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.apache.bigtop.itest</groupId>
        <artifactId>mahout-smoke</artifactId>
        <version>${mahout-smoke.version}</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.apache.bigtop.itest</groupId>
        <artifactId>oozie-smoke</artifactId>
        <version>${oozie-smoke.version}</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.apache.pig</groupId>
        <artifactId>pig-smoke</artifactId>
        <version>${pig-smoke.version}</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.apache.bigtop.itest</groupId>
        <artifactId>package-smoke</artifactId>
        <version>${package-smoke.version}</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>com.cloudera.sqoop</groupId>
        <artifactId>sqoop</artifactId>
        <version>${sqoop.version}</version>
        <scope>test</scope>
      </dependency>
      -->
<!--
  End of BOM definitions
-->

    </dependencies>
  </dependencyManagement>

  <dependencies>
    <!-- We have to be configured in order to function properly -->
    <dependency>
      <groupId>org.apache.bigtop.itest</groupId>
      <artifactId>smoke-tests-conf</artifactId>
      <scope>test</scope>
    </dependency>
    <!-- Turn them on for all children -->
    <dependency>
      <groupId>org.apache.bigtop.itest</groupId>
      <artifactId>itest-common</artifactId>
      <scope>test</scope>
    </dependency>
    <!-- Gmaven plugin enables a lot of runtime flexibility for us -->
    <dependency>
      <groupId>org.codehaus.groovy.maven.runtime</groupId>
      <artifactId>gmaven-runtime-1.6</artifactId>
    </dependency>
  </dependencies>

  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-enforcer-plugin</artifactId>
      </plugin>

      <!-- Enabling gmaven plugin -->
      <plugin>
        <groupId>org.codehaus.groovy.maven</groupId>
        <artifactId>gmaven-plugin</artifactId>
      </plugin>
      <!-- Enabling tests execution  -->
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-failsafe-plugin</artifactId>
      </plugin>

      <!--Let's skip unit tests all together for there are none-->
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <version>2.11</version>
        <configuration>
          <skip>true</skip>
        </configuration>
      </plugin>

    </plugins>
    <!-- The following plugins must be enabled inside modules in order to work -->
  </build>
</project>