blob: 1ea7e4399d4d2bb5b689844922d07c85cc2ca43a [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. ! -->
10<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
11 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 +000012 <modelVersion>4.0.0</modelVersion>
vinayakb1ca34f42013-03-25 03:17:01 +000013 <artifactId>hivesterix-dist</artifactId>
vinayakb1ca34f42013-03-25 03:17:01 +000014 <name>hivesterix-dist</name>
15
16 <parent>
buyingyi8027a492013-07-10 23:54:56 -070017 <groupId>edu.uci.ics.hyracks</groupId>
18 <artifactId>hivesterix</artifactId>
19 <version>0.2.7-SNAPSHOT</version>
20 </parent>
vinayakb1ca34f42013-03-25 03:17:01 +000021
22 <dependencies>
23 <dependency>
buyingyi8027a492013-07-10 23:54:56 -070024 <groupId>javax.servlet</groupId>
25 <artifactId>servlet-api</artifactId>
26 <version>2.5</version>
buyingyi3ed00442013-07-09 23:46:43 -070027 <type>jar</type>
28 <scope>compile</scope>
29 </dependency>
30 <dependency>
vinayakb1ca34f42013-03-25 03:17:01 +000031 <groupId>edu.uci.ics.hyracks</groupId>
32 <artifactId>hivesterix-translator</artifactId>
Vinayak Borkar706863b2013-06-05 23:16:52 -070033 <version>0.2.7-SNAPSHOT</version>
vinayakb1ca34f42013-03-25 03:17:01 +000034 <type>jar</type>
35 <scope>compile</scope>
36 </dependency>
37 <dependency>
38 <groupId>edu.uci.ics.hyracks</groupId>
39 <artifactId>hivesterix-optimizer</artifactId>
Vinayak Borkar706863b2013-06-05 23:16:52 -070040 <version>0.2.7-SNAPSHOT</version>
vinayakb1ca34f42013-03-25 03:17:01 +000041 <type>jar</type>
42 <scope>compile</scope>
43 </dependency>
44 <dependency>
vinayakb1ca34f42013-03-25 03:17:01 +000045 <groupId>edu.uci.ics.hyracks</groupId>
46 <artifactId>algebricks-compiler</artifactId>
Vinayak Borkar706863b2013-06-05 23:16:52 -070047 <version>0.2.7-SNAPSHOT</version>
vinayakb1ca34f42013-03-25 03:17:01 +000048 <type>jar</type>
49 <scope>compile</scope>
50 </dependency>
51 <dependency>
52 <groupId>edu.uci.ics.hyracks</groupId>
53 <artifactId>hyracks-control-cc</artifactId>
Vinayak Borkar706863b2013-06-05 23:16:52 -070054 <version>0.2.7-SNAPSHOT</version>
vinayakb1ca34f42013-03-25 03:17:01 +000055 <type>jar</type>
56 <scope>compile</scope>
57 </dependency>
58 <dependency>
59 <groupId>edu.uci.ics.hyracks</groupId>
60 <artifactId>hyracks-control-nc</artifactId>
Vinayak Borkar706863b2013-06-05 23:16:52 -070061 <version>0.2.7-SNAPSHOT</version>
vinayakb1ca34f42013-03-25 03:17:01 +000062 <type>jar</type>
63 <scope>compile</scope>
64 </dependency>
65 </dependencies>
66 <build>
67 <plugins>
68 <plugin>
69 <groupId>org.apache.maven.plugins</groupId>
70 <artifactId>maven-compiler-plugin</artifactId>
71 <version>2.0.2</version>
72 <configuration>
73 <source>1.7</source>
74 <target>1.7</target>
75 <encoding>UTF-8</encoding>
76 <fork>true</fork>
77 </configuration>
78 </plugin>
79 <plugin>
80 <artifactId>maven-jar-plugin</artifactId>
81 <executions>
82 <execution>
83 <id>patch</id>
84 <goals>
85 <goal>jar</goal>
86 </goals>
87 <phase>package</phase>
88 <configuration>
89 <classifier>patch</classifier>
90 <finalName>a-hive</finalName>
91 <includes>
92 <include>**/org/apache/**</include>
93 </includes>
94 </configuration>
95 </execution>
96 </executions>
97 </plugin>
98 <plugin>
99 <groupId>org.codehaus.mojo</groupId>
100 <artifactId>appassembler-maven-plugin</artifactId>
101 <version>1.3</version>
102 <executions>
103 <execution>
104 <configuration>
105 <programs>
106 <program>
107 <mainClass>edu.uci.ics.asterix.hive.cli.CliDriver</mainClass>
108 <name>algebricks-hivesterix-cmd</name>
109 </program>
110 </programs>
111 <repositoryLayout>flat</repositoryLayout>
112 <repositoryName>lib</repositoryName>
113 </configuration>
114 <phase>package</phase>
115 <goals>
116 <goal>assemble</goal>
117 </goals>
118 </execution>
119 </executions>
120 </plugin>
121 <plugin>
122 <artifactId>maven-assembly-plugin</artifactId>
123 <version>2.2-beta-5</version>
124 <executions>
125 <execution>
126 <configuration>
127 <descriptors>
128 <descriptor>src/main/assembly/binary-assembly.xml</descriptor>
129 </descriptors>
130 </configuration>
131 <phase>package</phase>
132 <goals>
133 <goal>attached</goal>
134 </goals>
135 </execution>
136 </executions>
137 </plugin>
138 <plugin>
139 <groupId>org.apache.maven.plugins</groupId>
140 <artifactId>maven-surefire-plugin</artifactId>
141 <version>2.13</version>
142 <configuration>
143 <forkMode>pertest</forkMode>
144 <argLine>-enableassertions -Xmx2047m -Dfile.encoding=UTF-8
145 -Djava.util.logging.config.file=src/test/resources/logging.properties</argLine>
146 <includes>
147 <include>**/test/optimizer/*TestSuite.java</include>
148 <include>**/test/optimizer/*Test.java</include>
149 <include>**/test/runtimefunction/*TestSuite.java</include>
150 <include>**/test/runtimefunction/*Test.java</include>
151 </includes>
152 </configuration>
153 </plugin>
154 <plugin>
155 <artifactId>maven-resources-plugin</artifactId>
156 <version>2.5</version>
157 <executions>
158 <execution>
159 <id>copy-scripts</id>
160 <!-- here the phase you need -->
161 <phase>package</phase>
162 <goals>
163 <goal>copy-resources</goal>
164 </goals>
165 <configuration>
166 <outputDirectory>target/appassembler/bin</outputDirectory>
167 <resources>
168 <resource>
169 <directory>src/main/resources/scripts</directory>
170 </resource>
171 </resources>
172 </configuration>
173 </execution>
174 <execution>
175 <id>copy-conf</id>
176 <!-- here the phase you need -->
177 <phase>package</phase>
178 <goals>
179 <goal>copy-resources</goal>
180 </goals>
181 <configuration>
182 <outputDirectory>target/appassembler/conf</outputDirectory>
183 <resources>
184 <resource>
185 <directory>src/main/resources/conf</directory>
186 </resource>
187 </resources>
188 </configuration>
189 </execution>
190 <execution>
191 <id>copy-jar</id>
192 <!-- here the phase you need -->
193 <phase>package</phase>
194 <goals>
195 <goal>copy-resources</goal>
196 </goals>
197 <configuration>
198 <outputDirectory>target/appassembler/lib</outputDirectory>
199 <resources>
200 <resource>
201 <directory>target</directory>
202 <includes>
203 <include>*patch.jar</include>
204 </includes>
205 </resource>
206 </resources>
207 </configuration>
208 </execution>
209 </executions>
210 </plugin>
211 <plugin>
buyingyi8027a492013-07-10 23:54:56 -0700212 <artifactId>maven-assembly-plugin</artifactId>
213 <version>2.2-beta-5</version>
214 <executions>
215 <execution>
216 <configuration>
217 <descriptors>
218 <descriptor>src/main/assembly/binary-assembly.xml</descriptor>
219 </descriptors>
220 </configuration>
221 <phase>package</phase>
222 <goals>
223 <goal>attached</goal>
224 </goals>
225 </execution>
226 </executions>
227 </plugin>
228 <plugin>
vinayakb1ca34f42013-03-25 03:17:01 +0000229 <artifactId>maven-clean-plugin</artifactId>
230 <version>2.5</version>
231 <configuration>
232 <filesets>
233 <fileset>
234 <directory>.</directory>
235 <includes>
236 <include>metastore*</include>
237 <include>hadoop*</include>
238 <include>edu*</include>
239 <include>tmp*</include>
240 <include>build*</include>
241 <include>target*</include>
242 <include>log*</include>
243 <include>derby.log</include>
244 <include>ClusterController*</include>
245 </includes>
246 </fileset>
247 </filesets>
248 </configuration>
249 </plugin>
250 </plugins>
251 </build>
252 <repositories>
253 <repository>
254 <releases>
255 <enabled>true</enabled>
256 <updatePolicy>always</updatePolicy>
257 <checksumPolicy>warn</checksumPolicy>
258 </releases>
259 <snapshots>
260 <enabled>true</enabled>
261 <updatePolicy>always</updatePolicy>
262 <checksumPolicy>fail</checksumPolicy>
263 </snapshots>
264 <id>third-party</id>
265 <url>http://obelix.ics.uci.edu/nexus/content/repositories/third-party</url>
266 </repository>
267 <repository>
268 <releases>
269 <enabled>true</enabled>
270 <updatePolicy>always</updatePolicy>
271 <checksumPolicy>warn</checksumPolicy>
272 </releases>
273 <snapshots>
274 <enabled>true</enabled>
275 <updatePolicy>always</updatePolicy>
276 <checksumPolicy>fail</checksumPolicy>
277 </snapshots>
278 <id>hyracks-public-release</id>
279 <url>http://obelix.ics.uci.edu/nexus/content/repositories/hyracks-public-releases</url>
280 </repository>
281 </repositories>
282</project>