SQOOP-3309: Implement HiveServer2 client
[sqoop.git] / ivy.xml
1 <?xml version="1.0" ?>
2 <!--
3 Licensed to the Apache Software Foundation (ASF) under one
4 or more contributor license agreements. See the NOTICE file
5 distributed with this work for additional information
6 regarding copyright ownership. The ASF licenses this file
7 to you under the Apache License, Version 2.0 (the
8 "License"); you may not use this file except in compliance
9 with the License. You may obtain a copy of the License at
10
11 http://www.apache.org/licenses/LICENSE-2.0
12
13 Unless required by applicable law or agreed to in writing,
14 software distributed under the License is distributed on an
15 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 KIND, either express or implied. See the License for the
17 specific language governing permissions and limitations
18 under the License.
19 -->
20 <ivy-module version="2.0" xmlns:m="http://ant.apache.org/ivy/maven"
21 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22 xsi:noNamespaceSchemaLocation="http://ant.apache.org/ivy/schemas/ivy.xsd">
23 <info organisation="org.apache.sqoop" module="${name}">
24 <license name="Apache 2.0"/>
25 <ivyauthor name="Sqoop Team" url="http://github.com/cloudera/sqoop" />
26 <description>
27 Sqoop
28 </description>
29 </info>
30 <configurations defaultconfmapping="default">
31 <!--these match the Maven configurations-->
32 <conf name="default" extends="master,runtime"/>
33 <conf name="master" description="contains the artifact but no dependencies"/>
34 <conf name="runtime" description="runtime but not the artifact" />
35
36 <conf name="common" visibility="private"
37 extends="runtime"
38 description="artifacts needed to compile/test the application"/>
39
40 <conf name="test" visibility="private" extends="common,runtime"/>
41
42 <!-- We don't redistribute everything we depend on (e.g., Hadoop itself);
43 anything which Hadoop itself also depends on, we do not ship.
44 Things we actually need to ship are marked with a 'redist'
45 configuration. -->
46 <conf name="redist" visibility="private" extends="master" />
47
48 <!-- This configuration is used to identify dependencies on our own
49 shim targets required by clients of Sqoop who use maven. -->
50 <conf name="mvndeploy" visibility="private" extends="master" />
51
52 <!-- configuration for running checkstyle -->
53 <conf name="checkstyle" visibility="private" />
54
55 <!-- configuration for running rat -->
56 <conf name="releaseaudit" visibility="private" />
57 </configurations>
58
59 <publications>
60 <!--get the artifact from our module name-->
61 <artifact conf="master"/>
62 </publications>
63 <dependencies>
64 <!-- Dependencies for Hadoop 2.6.0 -->
65 <dependency org="org.apache.hadoop" name="hadoop-common"
66 rev="${hadoop.version}" conf="common->default">
67 <artifact name="hadoop-common" type="jar" />
68 <artifact name="hadoop-common" type="jar" m:classifier="tests"/>
69 </dependency>
70 <dependency org="org.apache.hadoop" name="hadoop-hdfs"
71 rev="${hadoop.version}" conf="common->default">
72 <artifact name="hadoop-hdfs" type="jar" />
73 <artifact name="hadoop-hdfs" type="jar" m:classifier="tests"/>
74 </dependency>
75 <dependency org="org.apache.hadoop" name="hadoop-mapreduce-client-common"
76 rev="${hadoop.version}" conf="common->default"/>
77 <dependency org="org.apache.hadoop" name="hadoop-mapreduce-client-core"
78 rev="${hadoop.version}" conf="common->default"/>
79 <dependency org="org.aspectj" name="aspectjtools" rev="${aspectj.version}"
80 conf="common->default"/>
81 <dependency org="org.aspectj" name="aspectjrt" rev="${aspectj.version}"
82 conf="common->default"/>
83
84 <dependency org="org.apache.hadoop" name="hadoop-minikdc" rev="${hadoop.version}" conf="test->default" />
85
86 <!-- Common dependencies for Sqoop -->
87 <dependency org="commons-cli" name="commons-cli"
88 rev="${commons-cli.version}" conf="common->default"/>
89 <dependency org="commons-logging" name="commons-logging"
90 rev="${commons-logging.version}" conf="common->default"/>
91 <dependency org="commons-net" name="commons-net"
92 rev="${commons-net.version}" conf="common->default"/>
93 <dependency org="log4j" name="log4j" rev="${log4j.version}"
94 conf="common->master" />
95 <dependency org="junit" name="junit" rev="${junit.version}"
96 conf="test->default"/>
97 <dependency org="org.assertj" name="assertj-core" rev="${assertj.version}"
98 conf="test->default"/>
99 <dependency org="org.mockito" name="mockito-all"
100 rev="${mockito-all.version}" conf="test->default"/>
101 <!-- We're only using H2 for tests as it supports stored
102 procedures; once we move to HSQLDB 2.x we can drop
103 this -->
104 <dependency org="com.h2database" name="h2" rev="${h2.version}"
105 conf="test->default"/>
106 <dependency org="hsqldb" name="hsqldb" rev="${hsqldb.version}"
107 conf="common->default;redist->default"/>
108 <dependency org="commons-io" name="commons-io" rev="${commons-io.version}"
109 conf="common->default;redist->default"/>
110 <dependency org="org.apache.commons" name="commons-lang3" rev="${commons-lang3.version}"
111 conf="common->default;redist->default"/>
112 <dependency org="org.kitesdk" name="kite-data-mapreduce" rev="${kite-data.version}"
113 conf="common->default;redist->default">
114 <exclude org="org.apache.avro" module="avro" />
115 </dependency>
116 <dependency org="org.kitesdk" name="kite-data-hive" rev="${kite-data.version}"
117 conf="common->default;redist->default">
118 <exclude org="com.twitter" module="parquet-hive-bundle"/>
119 <exclude org="org.apache.avro" module="avro" />
120 </dependency>
121
122 <!-- dependencies for static analysis -->
123 <dependency org="checkstyle" name="checkstyle" rev="${checkstyle.version}"
124 conf="checkstyle->default" />
125
126 <dependency org="com.google.code.p.arat" name="rat-lib"
127 rev="${rats-lib.version}" conf="releaseaudit->default" />
128 <dependency org="commons-lang" name="commons-lang"
129 rev="${commons-lang.version}" conf="releaseaudit->default"/>
130 <dependency org="commons-collections" name="commons-collections"
131 rev="${commons-collections.version}" conf="releaseaudit->default"/>
132
133 <!-- Accumulo 1.5.0 -->
134 <dependency org="org.apache.accumulo" name="accumulo-core" rev="${accumulo.version}"
135 conf="common->default">
136 </dependency>
137 <dependency org="org.apache.accumulo" name="accumulo-minicluster" rev="${accumulo.version}"
138 conf="common->default">
139 </dependency>
140
141 <!-- HBase 0.95 -->
142 <dependency org="org.apache.hbase" name="hbase-client" rev="${hbase.version}" conf="common->default">
143 <artifact name="hbase-client" type="jar"/>
144 <artifact name="hbase-client" type="test-jar" ext="jar" m:classifier="tests"/>
145 <exclude org="com.sun.jersey" module="jersey-core"/>
146 <exclude org="com.sun.jersey" module="jersey-json"/>
147 <exclude org="com.sun.jersey" module="jersey-server"/>
148 <exclude org="org.apache.thrift" module="thrift"/>
149 <exclude org="log4j" module="log4j"/>
150 </dependency>
151 <dependency org="org.apache.hbase" name="hbase-common" rev="${hbase.version}" conf="common->default">
152 <artifact name="hbase-common" type="jar"/>
153 <artifact name="hbase-common" type="jar" ext="jar" m:classifier="tests"/>
154 <exclude org="com.sun.jersey" module="jersey-core"/>
155 <exclude org="com.sun.jersey" module="jersey-json"/>
156 <exclude org="com.sun.jersey" module="jersey-server"/>
157 <exclude org="org.apache.thrift" module="thrift"/>
158 <exclude org="log4j" module="log4j"/>
159 </dependency>
160 <dependency org="org.apache.hbase" name="hbase-server" rev="${hbase.version}" conf="common->default">
161 <artifact name="hbase-server" type="jar"/>
162 <artifact name="hbase-server" type="jar" ext="jar" m:classifier="tests"/>
163 <exclude org="com.sun.jersey" module="jersey-core"/>
164 <exclude org="com.sun.jersey" module="jersey-json"/>
165 <exclude org="com.sun.jersey" module="jersey-server"/>
166 <exclude org="org.apache.thrift" module="thrift"/>
167 <exclude org="log4j" module="log4j"/>
168 </dependency>
169 <dependency org="org.apache.hbase" name="hbase-hadoop-compat" rev="${hbase.version}" conf="common->default">
170 <artifact name="hbase-hadoop-compat" type="jar"/>
171 <artifact name="hbase-hadoop-compat" type="test-jar" ext="jar" m:classifier="tests"/>
172 <exclude org="com.sun.jersey" module="jersey-core"/>
173 <exclude org="com.sun.jersey" module="jersey-json"/>
174 <exclude org="com.sun.jersey" module="jersey-server"/>
175 <exclude org="org.apache.thrift" module="thrift"/>
176 <exclude org="log4j" module="log4j"/>
177 </dependency>
178 <dependency org="org.apache.hbase" name="hbase-hadoop-compat" rev="${hbase.version}" conf="common->default">
179 <artifact name="hbase-hadoop-compat" type="jar"/>
180 <artifact name="hbase-hadoop-compat" type="test-jar" ext="jar" m:classifier="tests"/>
181 <exclude org="com.sun.jersey" module="jersey-core"/>
182 <exclude org="com.sun.jersey" module="jersey-json"/>
183 <exclude org="com.sun.jersey" module="jersey-server"/>
184 <exclude org="org.apache.thrift" module="thrift"/>
185 <exclude org="log4j" module="log4j"/>
186 </dependency>
187 <dependency org="org.apache.hbase" name="hbase-hadoop2-compat" rev="${hbase.version}" conf="common->default">
188 <artifact name="hbase-hadoop2-compat" type="jar"/>
189 <artifact name="hbase-hadoop2-compat" type="test-jar" ext="jar" m:classifier="tests"/>
190 <exclude org="com.sun.jersey" module="jersey-core"/>
191 <exclude org="com.sun.jersey" module="jersey-json"/>
192 <exclude org="com.sun.jersey" module="jersey-server"/>
193 <exclude org="org.apache.thrift" module="thrift"/>
194 <exclude org="log4j" module="log4j"/>
195 <exclude org="org.apache.avro" module="avro" />
196 </dependency>
197
198 <dependency org="org.apache.hive" name="hive-jdbc" rev="${hcatalog.version}" conf="common->default" />
199
200 <dependency org="org.apache.hive.hcatalog" name="hive-hcatalog-core"
201 rev="${hcatalog.version}" conf="common->default">
202 <artifact name="hive-hcatalog-core" type="jar"/>
203 <exclude org="org.apache.avro" module="avro" />
204 </dependency>
205
206 <dependency org="org.postgresql" name="postgresql"
207 rev="${postgresql.version}" conf="common->default" />
208
209 <dependency org="org.apache.zookeeper" name="zookeeper"
210 rev="${zookeeper.version}" conf="test->default">
211 <artifact name="zookeeper" type="jar" />
212 </dependency>
213
214 <dependency org="org.apache.avro" name="avro" rev="${avro.version}"
215 conf="runtime->default;redist->default">
216 <exclude org="org.slf4j" module="slf4j-api"/>
217 <exclude org="org.mortbay.jetty" module="jetty"/>
218 <exclude org="org.jboss.netty" module="netty"/>
219 <exclude org="org.apache.velocity" module="velocity"/>
220 </dependency>
221 <dependency org="org.apache.avro" name="avro-mapred" rev="${avro.version}"
222 m:classifier="hadoop2" conf="common->default;redist->default">
223 <exclude org="org.slf4j" module="slf4j-api"/>
224 <exclude org="org.mortbay.jetty" module="jetty"/>
225 <exclude org="org.jboss.netty" module="netty"/>
226 <exclude org="org.apache.velocity" module="velocity"/>
227 </dependency>
228
229 <exclude org="org.apache.hadoop" module="avro"/>
230 <exclude type="pom" />
231
232 </dependencies>
233 </ivy-module>