blob: 83de061bb89740ce53bd2f660ad7ad2e405e7a60 [file] [log] [blame]
Till Westmann276bbc22013-06-05 18:56:27 -07001<!--
2 ! Copyright 2009-2013 by The Regents of the University of California
3 ! Licensed under the Apache License, Version 2.0 (the "License");
4 ! you may not use this file except in compliance with the License.
5 ! you may obtain a copy of the License from
6 !
7 ! http://www.apache.org/licenses/LICENSE-2.0
8 !
9 ! Unless required by applicable law or agreed to in writing, software
10 ! distributed under the License is distributed on an "AS IS" BASIS,
11 ! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 ! See the License for the specific language governing permissions and
13 ! limitations under the License.
14 !-->
vinayakb1ca34f42013-03-25 03:17:01 +000015<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">
16 <modelVersion>4.0.0</modelVersion>
vinayakb1ca34f42013-03-25 03:17:01 +000017 <artifactId>hivesterix-dist</artifactId>
vinayakb1ca34f42013-03-25 03:17:01 +000018 <name>hivesterix-dist</name>
19
20 <parent>
21 <groupId>edu.uci.ics.hyracks</groupId>
22 <artifactId>hivesterix</artifactId>
Vinayak Borkar706863b2013-06-05 23:16:52 -070023 <version>0.2.7-SNAPSHOT</version>
vinayakb1ca34f42013-03-25 03:17:01 +000024 </parent>
25
26 <dependencies>
27 <dependency>
vinayakb1ca34f42013-03-25 03:17:01 +000028 <groupId>junit</groupId>
29 <artifactId>junit</artifactId>
30 <version>4.8.1</version>
31 <scope>compile</scope>
32 </dependency>
33 <dependency>
vinayakb1ca34f42013-03-25 03:17:01 +000034 <groupId>org.apache.hadoop</groupId>
35 <artifactId>hadoop-core</artifactId>
36 <version>0.20.2</version>
37 <type>jar</type>
38 <scope>compile</scope>
39 </dependency>
40 <dependency>
buyingyi3ed00442013-07-09 23:46:43 -070041 <groupId>org.apache.hive</groupId>
42 <artifactId>hive-cli</artifactId>
43 <version>0.11.0</version>
44 <type>jar</type>
45 <scope>compile</scope>
46 </dependency>
47 <dependency>
48 <groupId>org.apache.hive</groupId>
49 <artifactId>hive-common</artifactId>
50 <version>0.11.0</version>
51 <type>jar</type>
52 <scope>compile</scope>
53 </dependency>
54 <dependency>
55 <groupId>org.apache.hive</groupId>
56 <artifactId>hive-exec</artifactId>
57 <version>0.11.0</version>
58 <type>jar</type>
59 <scope>compile</scope>
60 </dependency>
61 <dependency>
62 <groupId>org.apache.hive</groupId>
63 <artifactId>hive-hwi</artifactId>
64 <version>0.11.0</version>
65 <type>jar</type>
66 <scope>compile</scope>
67 </dependency>
68 <dependency>
69 <groupId>org.apache.hive</groupId>
70 <artifactId>hive-jdbc</artifactId>
71 <version>0.11.0</version>
72 <type>jar</type>
73 <scope>compile</scope>
74 </dependency>
75 <dependency>
76 <groupId>org.apache.hive</groupId>
77 <artifactId>hive-metastore</artifactId>
78 <version>0.11.0</version>
79 <type>jar</type>
80 <scope>compile</scope>
81 </dependency>
82 <dependency>
83 <groupId>org.apache.hive</groupId>
84 <artifactId>hive-service</artifactId>
85 <version>0.11.0</version>
86 <type>jar</type>
87 <scope>compile</scope>
88 </dependency>
89 <dependency>
90 <groupId>org.apache.hive</groupId>
91 <artifactId>hive-shims</artifactId>
92 <version>0.11.0</version>
93 <type>jar</type>
94 <scope>compile</scope>
95 </dependency>
96 <dependency>
97 <groupId>org.apache.hive</groupId>
98 <artifactId>hive-serde</artifactId>
99 <version>0.11.0</version>
100 <type>jar</type>
101 <scope>compile</scope>
102 </dependency>
103 <dependency>
vinayakb1ca34f42013-03-25 03:17:01 +0000104 <groupId>edu.uci.ics.hyracks</groupId>
105 <artifactId>hivesterix-translator</artifactId>
Vinayak Borkar706863b2013-06-05 23:16:52 -0700106 <version>0.2.7-SNAPSHOT</version>
vinayakb1ca34f42013-03-25 03:17:01 +0000107 <type>jar</type>
108 <scope>compile</scope>
109 </dependency>
110 <dependency>
111 <groupId>edu.uci.ics.hyracks</groupId>
112 <artifactId>hivesterix-optimizer</artifactId>
Vinayak Borkar706863b2013-06-05 23:16:52 -0700113 <version>0.2.7-SNAPSHOT</version>
vinayakb1ca34f42013-03-25 03:17:01 +0000114 <type>jar</type>
115 <scope>compile</scope>
116 </dependency>
117 <dependency>
118 <groupId>org.apache.hbase</groupId>
119 <artifactId>hbase</artifactId>
120 <version>0.90.3</version>
121 <type>jar</type>
122 <scope>compile</scope>
123 </dependency>
124 <dependency>
125 <groupId>edu.uci.ics.hyracks</groupId>
126 <artifactId>algebricks-compiler</artifactId>
Vinayak Borkar706863b2013-06-05 23:16:52 -0700127 <version>0.2.7-SNAPSHOT</version>
vinayakb1ca34f42013-03-25 03:17:01 +0000128 <type>jar</type>
129 <scope>compile</scope>
130 </dependency>
131 <dependency>
132 <groupId>edu.uci.ics.hyracks</groupId>
133 <artifactId>hyracks-control-cc</artifactId>
Vinayak Borkar706863b2013-06-05 23:16:52 -0700134 <version>0.2.7-SNAPSHOT</version>
vinayakb1ca34f42013-03-25 03:17:01 +0000135 <type>jar</type>
136 <scope>compile</scope>
137 </dependency>
138 <dependency>
139 <groupId>edu.uci.ics.hyracks</groupId>
140 <artifactId>hyracks-control-nc</artifactId>
Vinayak Borkar706863b2013-06-05 23:16:52 -0700141 <version>0.2.7-SNAPSHOT</version>
vinayakb1ca34f42013-03-25 03:17:01 +0000142 <type>jar</type>
143 <scope>compile</scope>
144 </dependency>
145 </dependencies>
146 <build>
147 <plugins>
148 <plugin>
149 <groupId>org.apache.maven.plugins</groupId>
150 <artifactId>maven-compiler-plugin</artifactId>
151 <version>2.0.2</version>
152 <configuration>
153 <source>1.7</source>
154 <target>1.7</target>
155 <encoding>UTF-8</encoding>
156 <fork>true</fork>
157 </configuration>
158 </plugin>
159 <plugin>
160 <artifactId>maven-jar-plugin</artifactId>
161 <executions>
162 <execution>
163 <id>patch</id>
164 <goals>
165 <goal>jar</goal>
166 </goals>
167 <phase>package</phase>
168 <configuration>
169 <classifier>patch</classifier>
170 <finalName>a-hive</finalName>
171 <includes>
172 <include>**/org/apache/**</include>
173 </includes>
174 </configuration>
175 </execution>
176 </executions>
177 </plugin>
178 <plugin>
179 <groupId>org.codehaus.mojo</groupId>
180 <artifactId>appassembler-maven-plugin</artifactId>
181 <version>1.3</version>
182 <executions>
183 <execution>
184 <configuration>
185 <programs>
186 <program>
187 <mainClass>edu.uci.ics.asterix.hive.cli.CliDriver</mainClass>
188 <name>algebricks-hivesterix-cmd</name>
189 </program>
190 </programs>
191 <repositoryLayout>flat</repositoryLayout>
192 <repositoryName>lib</repositoryName>
193 </configuration>
194 <phase>package</phase>
195 <goals>
196 <goal>assemble</goal>
197 </goals>
198 </execution>
199 </executions>
200 </plugin>
201 <plugin>
202 <artifactId>maven-assembly-plugin</artifactId>
203 <version>2.2-beta-5</version>
204 <executions>
205 <execution>
206 <configuration>
207 <descriptors>
208 <descriptor>src/main/assembly/binary-assembly.xml</descriptor>
209 </descriptors>
210 </configuration>
211 <phase>package</phase>
212 <goals>
213 <goal>attached</goal>
214 </goals>
215 </execution>
216 </executions>
217 </plugin>
218 <plugin>
219 <groupId>org.apache.maven.plugins</groupId>
220 <artifactId>maven-surefire-plugin</artifactId>
221 <version>2.13</version>
222 <configuration>
223 <forkMode>pertest</forkMode>
224 <argLine>-enableassertions -Xmx2047m -Dfile.encoding=UTF-8
225 -Djava.util.logging.config.file=src/test/resources/logging.properties</argLine>
226 <includes>
227 <include>**/test/optimizer/*TestSuite.java</include>
228 <include>**/test/optimizer/*Test.java</include>
229 <include>**/test/runtimefunction/*TestSuite.java</include>
230 <include>**/test/runtimefunction/*Test.java</include>
231 </includes>
232 </configuration>
233 </plugin>
234 <plugin>
235 <artifactId>maven-resources-plugin</artifactId>
236 <version>2.5</version>
237 <executions>
238 <execution>
239 <id>copy-scripts</id>
240 <!-- here the phase you need -->
241 <phase>package</phase>
242 <goals>
243 <goal>copy-resources</goal>
244 </goals>
245 <configuration>
246 <outputDirectory>target/appassembler/bin</outputDirectory>
247 <resources>
248 <resource>
249 <directory>src/main/resources/scripts</directory>
250 </resource>
251 </resources>
252 </configuration>
253 </execution>
254 <execution>
255 <id>copy-conf</id>
256 <!-- here the phase you need -->
257 <phase>package</phase>
258 <goals>
259 <goal>copy-resources</goal>
260 </goals>
261 <configuration>
262 <outputDirectory>target/appassembler/conf</outputDirectory>
263 <resources>
264 <resource>
265 <directory>src/main/resources/conf</directory>
266 </resource>
267 </resources>
268 </configuration>
269 </execution>
270 <execution>
271 <id>copy-jar</id>
272 <!-- here the phase you need -->
273 <phase>package</phase>
274 <goals>
275 <goal>copy-resources</goal>
276 </goals>
277 <configuration>
278 <outputDirectory>target/appassembler/lib</outputDirectory>
279 <resources>
280 <resource>
281 <directory>target</directory>
282 <includes>
283 <include>*patch.jar</include>
284 </includes>
285 </resource>
286 </resources>
287 </configuration>
288 </execution>
289 </executions>
290 </plugin>
291 <plugin>
292 <artifactId>maven-clean-plugin</artifactId>
293 <version>2.5</version>
294 <configuration>
295 <filesets>
296 <fileset>
297 <directory>.</directory>
298 <includes>
299 <include>metastore*</include>
300 <include>hadoop*</include>
301 <include>edu*</include>
302 <include>tmp*</include>
303 <include>build*</include>
304 <include>target*</include>
305 <include>log*</include>
306 <include>derby.log</include>
307 <include>ClusterController*</include>
308 </includes>
309 </fileset>
310 </filesets>
311 </configuration>
312 </plugin>
313 </plugins>
314 </build>
315 <repositories>
316 <repository>
317 <releases>
318 <enabled>true</enabled>
319 <updatePolicy>always</updatePolicy>
320 <checksumPolicy>warn</checksumPolicy>
321 </releases>
322 <snapshots>
323 <enabled>true</enabled>
324 <updatePolicy>always</updatePolicy>
325 <checksumPolicy>fail</checksumPolicy>
326 </snapshots>
327 <id>third-party</id>
328 <url>http://obelix.ics.uci.edu/nexus/content/repositories/third-party</url>
329 </repository>
330 <repository>
331 <releases>
332 <enabled>true</enabled>
333 <updatePolicy>always</updatePolicy>
334 <checksumPolicy>warn</checksumPolicy>
335 </releases>
336 <snapshots>
337 <enabled>true</enabled>
338 <updatePolicy>always</updatePolicy>
339 <checksumPolicy>fail</checksumPolicy>
340 </snapshots>
341 <id>hyracks-public-release</id>
342 <url>http://obelix.ics.uci.edu/nexus/content/repositories/hyracks-public-releases</url>
343 </repository>
344 </repositories>
345</project>