blob: eea0ca530f932ce8d493af4610d43a5f291f1a86 [file] [log] [blame]
buyingyi8027a492013-07-10 23:54:56 -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. ! -->
buyingyi7833f6d2013-07-14 20:37:04 -070010<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">
vinayakb1ca34f42013-03-25 03:17:01 +000011 <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>
buyingyi8027a492013-07-10 23:54:56 -070016 <groupId>edu.uci.ics.hyracks</groupId>
17 <artifactId>hivesterix</artifactId>
buyingyi8ef21fa2013-07-22 01:40:58 -070018 <version>0.2.9</version>
buyingyi8027a492013-07-10 23:54:56 -070019 </parent>
vinayakb1ca34f42013-03-25 03:17:01 +000020
21 <dependencies>
22 <dependency>
buyingyi8027a492013-07-10 23:54:56 -070023 <groupId>javax.servlet</groupId>
24 <artifactId>servlet-api</artifactId>
25 <version>2.5</version>
buyingyi3ed00442013-07-09 23:46:43 -070026 <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>
buyingyi8ef21fa2013-07-22 01:40:58 -070032 <version>0.2.9</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>
buyingyi8ef21fa2013-07-22 01:40:58 -070039 <version>0.2.9</version>
vinayakb1ca34f42013-03-25 03:17:01 +000040 <type>jar</type>
41 <scope>compile</scope>
42 </dependency>
43 <dependency>
vinayakb1ca34f42013-03-25 03:17:01 +000044 <groupId>edu.uci.ics.hyracks</groupId>
45 <artifactId>algebricks-compiler</artifactId>
buyingyi8ef21fa2013-07-22 01:40:58 -070046 <version>0.2.9</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>
buyingyi8ef21fa2013-07-22 01:40:58 -070053 <version>0.2.9</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>
buyingyi8ef21fa2013-07-22 01:40:58 -070060 <version>0.2.9</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>
138 <groupId>org.apache.maven.plugins</groupId>
139 <artifactId>maven-surefire-plugin</artifactId>
140 <version>2.13</version>
141 <configuration>
142 <forkMode>pertest</forkMode>
143 <argLine>-enableassertions -Xmx2047m -Dfile.encoding=UTF-8
144 -Djava.util.logging.config.file=src/test/resources/logging.properties</argLine>
145 <includes>
146 <include>**/test/optimizer/*TestSuite.java</include>
147 <include>**/test/optimizer/*Test.java</include>
148 <include>**/test/runtimefunction/*TestSuite.java</include>
149 <include>**/test/runtimefunction/*Test.java</include>
150 </includes>
151 </configuration>
152 </plugin>
153 <plugin>
154 <artifactId>maven-resources-plugin</artifactId>
155 <version>2.5</version>
156 <executions>
157 <execution>
158 <id>copy-scripts</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/bin</outputDirectory>
166 <resources>
167 <resource>
168 <directory>src/main/resources/scripts</directory>
169 </resource>
170 </resources>
171 </configuration>
172 </execution>
173 <execution>
174 <id>copy-conf</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/conf</outputDirectory>
182 <resources>
183 <resource>
184 <directory>src/main/resources/conf</directory>
185 </resource>
186 </resources>
187 </configuration>
188 </execution>
189 <execution>
190 <id>copy-jar</id>
191 <!-- here the phase you need -->
192 <phase>package</phase>
193 <goals>
194 <goal>copy-resources</goal>
195 </goals>
196 <configuration>
197 <outputDirectory>target/appassembler/lib</outputDirectory>
198 <resources>
199 <resource>
200 <directory>target</directory>
201 <includes>
202 <include>*patch.jar</include>
203 </includes>
204 </resource>
205 </resources>
206 </configuration>
207 </execution>
208 </executions>
209 </plugin>
210 <plugin>
buyingyi8027a492013-07-10 23:54:56 -0700211 <artifactId>maven-assembly-plugin</artifactId>
212 <version>2.2-beta-5</version>
213 <executions>
214 <execution>
215 <configuration>
216 <descriptors>
217 <descriptor>src/main/assembly/binary-assembly.xml</descriptor>
218 </descriptors>
219 </configuration>
220 <phase>package</phase>
221 <goals>
222 <goal>attached</goal>
223 </goals>
224 </execution>
225 </executions>
226 </plugin>
227 <plugin>
vinayakb1ca34f42013-03-25 03:17:01 +0000228 <artifactId>maven-clean-plugin</artifactId>
229 <version>2.5</version>
230 <configuration>
231 <filesets>
232 <fileset>
233 <directory>.</directory>
234 <includes>
235 <include>metastore*</include>
236 <include>hadoop*</include>
237 <include>edu*</include>
238 <include>tmp*</include>
239 <include>build*</include>
240 <include>target*</include>
241 <include>log*</include>
242 <include>derby.log</include>
243 <include>ClusterController*</include>
244 </includes>
245 </fileset>
246 </filesets>
247 </configuration>
248 </plugin>
249 </plugins>
250 </build>
251 <repositories>
252 <repository>
253 <releases>
254 <enabled>true</enabled>
255 <updatePolicy>always</updatePolicy>
256 <checksumPolicy>warn</checksumPolicy>
257 </releases>
258 <snapshots>
259 <enabled>true</enabled>
260 <updatePolicy>always</updatePolicy>
261 <checksumPolicy>fail</checksumPolicy>
262 </snapshots>
263 <id>third-party</id>
264 <url>http://obelix.ics.uci.edu/nexus/content/repositories/third-party</url>
265 </repository>
266 <repository>
267 <releases>
268 <enabled>true</enabled>
269 <updatePolicy>always</updatePolicy>
270 <checksumPolicy>warn</checksumPolicy>
271 </releases>
272 <snapshots>
273 <enabled>true</enabled>
274 <updatePolicy>always</updatePolicy>
275 <checksumPolicy>fail</checksumPolicy>
276 </snapshots>
277 <id>hyracks-public-release</id>
278 <url>http://obelix.ics.uci.edu/nexus/content/repositories/hyracks-public-releases</url>
279 </repository>
280 </repositories>
281</project>