blob: 203f30702404cf41bbe8cf68459f276efc1df087 [file] [log] [blame]
ramangrover293b221712013-08-01 11:16:42 -07001<!-- ! Copyright 2009-2013 by The Regents of the University of California
2 ! Licensed under the Apache License, Version 2.0 (the "License"); ! you may
3 not use this file except in compliance with the License. ! you may obtain
4 a copy of the License from ! ! http://www.apache.org/licenses/LICENSE-2.0
5 ! ! Unless required by applicable law or agreed to in writing, software !
6 distributed under the License is distributed on an "AS IS" BASIS, ! WITHOUT
7 WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ! See the
8 License for the specific language governing permissions and ! limitations
9 under the License. ! -->
vinayakb1ca34f42013-03-25 03:17:01 +000010<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">
11 <modelVersion>4.0.0</modelVersion>
vinayakb1ca34f42013-03-25 03:17:01 +000012 <artifactId>hivesterix-dist</artifactId>
vinayakb1ca34f42013-03-25 03:17:01 +000013 <name>hivesterix-dist</name>
14
15 <parent>
ramangrover293b221712013-08-01 11:16:42 -070016 <groupId>edu.uci.ics.hyracks</groupId>
17 <artifactId>hivesterix</artifactId>
Zachary Heilbron79b4c822014-03-30 14:52:06 -070018 <version>0.2.12-SNAPSHOT</version>
ramangrover293b221712013-08-01 11:16:42 -070019 </parent>
vinayakb1ca34f42013-03-25 03:17:01 +000020
21 <dependencies>
22 <dependency>
23 <groupId>javax.servlet</groupId>
24 <artifactId>servlet-api</artifactId>
25 <version>2.5</version>
26 <type>jar</type>
27 <scope>compile</scope>
28 </dependency>
29 <dependency>
vinayakb1ca34f42013-03-25 03:17:01 +000030 <groupId>edu.uci.ics.hyracks</groupId>
31 <artifactId>hivesterix-translator</artifactId>
Zachary Heilbron79b4c822014-03-30 14:52:06 -070032 <version>0.2.12-SNAPSHOT</version>
vinayakb1ca34f42013-03-25 03:17:01 +000033 <type>jar</type>
34 <scope>compile</scope>
35 </dependency>
36 <dependency>
37 <groupId>edu.uci.ics.hyracks</groupId>
38 <artifactId>hivesterix-optimizer</artifactId>
Zachary Heilbron79b4c822014-03-30 14:52:06 -070039 <version>0.2.12-SNAPSHOT</version>
vinayakb1ca34f42013-03-25 03:17:01 +000040 <type>jar</type>
41 <scope>compile</scope>
42 </dependency>
43 <dependency>
44 <groupId>edu.uci.ics.hyracks</groupId>
45 <artifactId>algebricks-compiler</artifactId>
Zachary Heilbron79b4c822014-03-30 14:52:06 -070046 <version>0.2.12-SNAPSHOT</version>
vinayakb1ca34f42013-03-25 03:17:01 +000047 <type>jar</type>
48 <scope>compile</scope>
49 </dependency>
50 <dependency>
51 <groupId>edu.uci.ics.hyracks</groupId>
52 <artifactId>hyracks-control-cc</artifactId>
Zachary Heilbron79b4c822014-03-30 14:52:06 -070053 <version>0.2.12-SNAPSHOT</version>
vinayakb1ca34f42013-03-25 03:17:01 +000054 <type>jar</type>
55 <scope>compile</scope>
56 </dependency>
57 <dependency>
58 <groupId>edu.uci.ics.hyracks</groupId>
59 <artifactId>hyracks-control-nc</artifactId>
Zachary Heilbron79b4c822014-03-30 14:52:06 -070060 <version>0.2.12-SNAPSHOT</version>
vinayakb1ca34f42013-03-25 03:17:01 +000061 <type>jar</type>
62 <scope>compile</scope>
63 </dependency>
64 </dependencies>
65 <build>
66 <plugins>
67 <plugin>
68 <groupId>org.apache.maven.plugins</groupId>
69 <artifactId>maven-compiler-plugin</artifactId>
70 <version>2.0.2</version>
71 <configuration>
72 <source>1.7</source>
73 <target>1.7</target>
74 <encoding>UTF-8</encoding>
75 <fork>true</fork>
76 </configuration>
77 </plugin>
78 <plugin>
79 <artifactId>maven-jar-plugin</artifactId>
80 <executions>
81 <execution>
82 <id>patch</id>
83 <goals>
84 <goal>jar</goal>
85 </goals>
86 <phase>package</phase>
87 <configuration>
88 <classifier>patch</classifier>
89 <finalName>a-hive</finalName>
90 <includes>
91 <include>**/org/apache/**</include>
92 </includes>
93 </configuration>
94 </execution>
95 </executions>
96 </plugin>
97 <plugin>
98 <groupId>org.codehaus.mojo</groupId>
99 <artifactId>appassembler-maven-plugin</artifactId>
100 <version>1.3</version>
101 <executions>
102 <execution>
103 <configuration>
104 <programs>
105 <program>
106 <mainClass>edu.uci.ics.asterix.hive.cli.CliDriver</mainClass>
107 <name>algebricks-hivesterix-cmd</name>
108 </program>
109 </programs>
110 <repositoryLayout>flat</repositoryLayout>
111 <repositoryName>lib</repositoryName>
112 </configuration>
113 <phase>package</phase>
114 <goals>
115 <goal>assemble</goal>
116 </goals>
117 </execution>
118 </executions>
119 </plugin>
120 <plugin>
121 <artifactId>maven-assembly-plugin</artifactId>
122 <version>2.2-beta-5</version>
123 <executions>
124 <execution>
125 <configuration>
126 <descriptors>
127 <descriptor>src/main/assembly/binary-assembly.xml</descriptor>
128 </descriptors>
129 </configuration>
130 <phase>package</phase>
131 <goals>
132 <goal>attached</goal>
133 </goals>
134 </execution>
135 </executions>
136 </plugin>
137 <plugin>
vinayakb1ca34f42013-03-25 03:17:01 +0000138 <artifactId>maven-resources-plugin</artifactId>
139 <version>2.5</version>
140 <executions>
141 <execution>
142 <id>copy-scripts</id>
143 <!-- here the phase you need -->
144 <phase>package</phase>
145 <goals>
146 <goal>copy-resources</goal>
147 </goals>
148 <configuration>
149 <outputDirectory>target/appassembler/bin</outputDirectory>
150 <resources>
151 <resource>
152 <directory>src/main/resources/scripts</directory>
153 </resource>
154 </resources>
155 </configuration>
156 </execution>
157 <execution>
158 <id>copy-conf</id>
159 <!-- here the phase you need -->
160 <phase>package</phase>
161 <goals>
162 <goal>copy-resources</goal>
163 </goals>
164 <configuration>
165 <outputDirectory>target/appassembler/conf</outputDirectory>
166 <resources>
167 <resource>
168 <directory>src/main/resources/conf</directory>
169 </resource>
170 </resources>
171 </configuration>
172 </execution>
173 <execution>
174 <id>copy-jar</id>
175 <!-- here the phase you need -->
176 <phase>package</phase>
177 <goals>
178 <goal>copy-resources</goal>
179 </goals>
180 <configuration>
181 <outputDirectory>target/appassembler/lib</outputDirectory>
182 <resources>
183 <resource>
184 <directory>target</directory>
185 <includes>
186 <include>*patch.jar</include>
187 </includes>
188 </resource>
189 </resources>
190 </configuration>
191 </execution>
192 </executions>
193 </plugin>
194 <plugin>
ramangrover293b221712013-08-01 11:16:42 -0700195 <artifactId>maven-assembly-plugin</artifactId>
196 <version>2.2-beta-5</version>
197 <executions>
198 <execution>
199 <configuration>
200 <descriptors>
201 <descriptor>src/main/assembly/binary-assembly.xml</descriptor>
202 </descriptors>
203 </configuration>
204 <phase>package</phase>
205 <goals>
206 <goal>attached</goal>
207 </goals>
208 </execution>
209 </executions>
210 </plugin>
211 <plugin>
vinayakb1ca34f42013-03-25 03:17:01 +0000212 <artifactId>maven-clean-plugin</artifactId>
213 <version>2.5</version>
214 <configuration>
215 <filesets>
216 <fileset>
217 <directory>.</directory>
218 <includes>
219 <include>metastore*</include>
220 <include>hadoop*</include>
221 <include>edu*</include>
222 <include>tmp*</include>
223 <include>build*</include>
224 <include>target*</include>
225 <include>log*</include>
226 <include>derby.log</include>
227 <include>ClusterController*</include>
228 </includes>
229 </fileset>
230 </filesets>
231 </configuration>
232 </plugin>
233 </plugins>
234 </build>
235 <repositories>
236 <repository>
237 <releases>
238 <enabled>true</enabled>
239 <updatePolicy>always</updatePolicy>
240 <checksumPolicy>warn</checksumPolicy>
241 </releases>
242 <snapshots>
243 <enabled>true</enabled>
244 <updatePolicy>always</updatePolicy>
245 <checksumPolicy>fail</checksumPolicy>
246 </snapshots>
247 <id>third-party</id>
248 <url>http://obelix.ics.uci.edu/nexus/content/repositories/third-party</url>
249 </repository>
250 <repository>
251 <releases>
252 <enabled>true</enabled>
253 <updatePolicy>always</updatePolicy>
254 <checksumPolicy>warn</checksumPolicy>
255 </releases>
256 <snapshots>
257 <enabled>true</enabled>
258 <updatePolicy>always</updatePolicy>
259 <checksumPolicy>fail</checksumPolicy>
260 </snapshots>
261 <id>hyracks-public-release</id>
262 <url>http://obelix.ics.uci.edu/nexus/content/repositories/hyracks-public-releases</url>
263 </repository>
264 </repositories>
265</project>