blob: f7103fb3ca64ed0d7b82dbb72e77443734754755 [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/xsd/maven-4.0.0.xsd">
buyingyi7f356c12012-10-07 00:23:17 +000016 <modelVersion>4.0.0</modelVersion>
17 <artifactId>pregelix-core</artifactId>
18 <packaging>jar</packaging>
19 <name>pregelix-core</name>
20
21 <parent>
buyingyi202af412012-10-08 23:07:09 +000022 <groupId>edu.uci.ics.hyracks</groupId>
23 <artifactId>pregelix</artifactId>
Zachary Heilbron423f4c62014-03-30 14:52:00 -070024 <version>0.2.11</version>
buyingyi202af412012-10-08 23:07:09 +000025 </parent>
buyingyi7f356c12012-10-07 00:23:17 +000026
27
28 <properties>
29 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
30 </properties>
31
32 <build>
33 <plugins>
34 <plugin>
vinayakb4df31102013-04-06 18:28:48 +000035 <groupId>org.apache.maven.plugins</groupId>
buyingyi7f356c12012-10-07 00:23:17 +000036 <artifactId>maven-jar-plugin</artifactId>
vinayakb4df31102013-04-06 18:28:48 +000037 <version>2.3.2</version>
buyingyi7f356c12012-10-07 00:23:17 +000038 <executions>
39 <execution>
40 <id>balancer</id>
41 <goals>
42 <goal>jar</goal>
43 </goals>
44 <phase>package</phase>
45 <configuration>
46 <classifier>balancer</classifier>
47 <archive>
48 <manifest>
buyingyi4dcab6a2012-10-09 21:37:52 +000049 <MainClass>edu.uci.ics.pregelix.core.util.DataBalancer</MainClass>
buyingyi7f356c12012-10-07 00:23:17 +000050 </manifest>
51 </archive>
52 <includes>
buyingyi4dcab6a2012-10-09 21:37:52 +000053 <include>**/edu/uci/ics/pregelix/core/util/DataBalancer*</include>
buyingyi7f356c12012-10-07 00:23:17 +000054 </includes>
55 </configuration>
56 </execution>
buyingyi7f356c12012-10-07 00:23:17 +000057 <execution>
58 <id>generator</id>
59 <goals>
60 <goal>jar</goal>
61 </goals>
62 <phase>package</phase>
63 <configuration>
64 <classifier>generator</classifier>
65 <archive>
66 <manifest>
buyingyi4dcab6a2012-10-09 21:37:52 +000067 <MainClass>edu.uci.ics.pregelix.core.util.DataGenerator</MainClass>
buyingyi7f356c12012-10-07 00:23:17 +000068 </manifest>
69 </archive>
70 <includes>
buyingyi4dcab6a2012-10-09 21:37:52 +000071 <include>**/edu/uci/ics/pregelix/core/util/DataGenerator*</include>
buyingyi7f356c12012-10-07 00:23:17 +000072 </includes>
73 </configuration>
74 </execution>
75 </executions>
76 </plugin>
77 <plugin>
buyingyi7f356c12012-10-07 00:23:17 +000078 <groupId>org.apache.maven.plugins</groupId>
79 <artifactId>maven-compiler-plugin</artifactId>
80 <version>2.0.2</version>
81 <configuration>
buyingyi55df5212013-03-24 07:20:08 +000082 <source>1.7</source>
83 <target>1.7</target>
84 <fork>true</fork>
buyingyi7f356c12012-10-07 00:23:17 +000085 </configuration>
86 </plugin>
87 <plugin>
88 <groupId>org.codehaus.mojo</groupId>
89 <artifactId>appassembler-maven-plugin</artifactId>
vinayakb4df31102013-04-06 18:28:48 +000090 <version>1.3</version>
buyingyi7f356c12012-10-07 00:23:17 +000091 <executions>
92 <execution>
Jake Biesinger90b34442013-08-21 00:01:25 -070093 <id>pregelix</id>
buyingyi7f356c12012-10-07 00:23:17 +000094 <configuration>
Jake Biesinger8a42a362013-08-20 23:45:49 -070095 <platforms>
96 <platform>unix</platform>
97 </platforms>
buyingyi7f356c12012-10-07 00:23:17 +000098 <programs>
99 <program>
100 <mainClass>org.apache.hadoop.util.RunJar</mainClass>
Jake Biesinger8a42a362013-08-20 23:45:49 -0700101 <name>pregelix</name>
102 </program>
Jake Biesinger90b34442013-08-21 00:01:25 -0700103 </programs>
104 <repositoryLayout>flat</repositoryLayout>
105 <repositoryName>lib</repositoryName>
106 <configurationDirectory>etc:"$HADOOP_HOME"/conf:/etc/hadoop/conf:"$1"</configurationDirectory>
107 </configuration>
108 <phase>package</phase>
109 <goals>
110 <goal>assemble</goal>
111 </goals>
112 </execution>
113 <execution>
114 <id>cc_nc_drivers</id>
115 <configuration>
116 <platforms>
117 <platform>unix</platform>
118 </platforms>
119 <programs>
Jake Biesinger8a42a362013-08-20 23:45:49 -0700120 <program>
121 <mainClass>edu.uci.ics.hyracks.control.cc.CCDriver</mainClass>
122 <name>pregelixcc</name>
123 </program>
124 <program>
125 <mainClass>edu.uci.ics.hyracks.control.nc.NCDriver</mainClass>
126 <name>pregelixnc</name>
127 <commandLineArguments>
128 <commandLineArgument>-app-nc-main-class</commandLineArgument>
129 <commandLineArgument>edu.uci.ics.pregelix.runtime.bootstrap.NCApplicationEntryPoint</commandLineArgument>
130 </commandLineArguments>
buyingyi7f356c12012-10-07 00:23:17 +0000131 </program>
132 </programs>
133 <repositoryLayout>flat</repositoryLayout>
134 <repositoryName>lib</repositoryName>
Jake Biesinger8a42a362013-08-20 23:45:49 -0700135 <configurationDirectory>etc:"$HADOOP_HOME"/conf:/etc/hadoop/conf</configurationDirectory>
buyingyi7f356c12012-10-07 00:23:17 +0000136 </configuration>
137 <phase>package</phase>
138 <goals>
139 <goal>assemble</goal>
140 </goals>
Jake Biesinger90b34442013-08-21 00:01:25 -0700141 </execution>
buyingyi7f356c12012-10-07 00:23:17 +0000142 </executions>
143 </plugin>
144 <plugin>
145 <artifactId>maven-assembly-plugin</artifactId>
146 <version>2.2-beta-5</version>
147 <executions>
148 <execution>
149 <configuration>
150 <descriptors>
151 <descriptor>src/main/assembly/binary-assembly.xml</descriptor>
152 </descriptors>
153 </configuration>
154 <phase>package</phase>
155 <goals>
156 <goal>attached</goal>
157 </goals>
158 </execution>
159 </executions>
160 </plugin>
161 <plugin>
162 <artifactId>maven-resources-plugin</artifactId>
163 <version>2.5</version>
164 <executions>
165 <execution>
166 <id>copy-scripts</id>
167 <!-- here the phase you need -->
168 <phase>package</phase>
169 <goals>
170 <goal>copy-resources</goal>
171 </goals>
172 <configuration>
173 <outputDirectory>target/appassembler/bin</outputDirectory>
174 <resources>
175 <resource>
176 <directory>src/main/resources/scripts</directory>
177 </resource>
178 </resources>
179 </configuration>
180 </execution>
181 <execution>
182 <id>copy-conf</id>
183 <!-- here the phase you need -->
184 <phase>package</phase>
185 <goals>
186 <goal>copy-resources</goal>
187 </goals>
188 <configuration>
189 <outputDirectory>target/appassembler/conf</outputDirectory>
190 <resources>
191 <resource>
192 <directory>src/main/resources/conf</directory>
193 </resource>
194 </resources>
195 </configuration>
196 </execution>
197 </executions>
198 </plugin>
199 <plugin>
buyingyi7f356c12012-10-07 00:23:17 +0000200 <artifactId>maven-clean-plugin</artifactId>
vinayakb4df31102013-04-06 18:28:48 +0000201 <version>2.4.1</version>
buyingyi7f356c12012-10-07 00:23:17 +0000202 <configuration>
203 <filesets>
204 <fileset>
205 <directory>.</directory>
206 <includes>
207 <include>teststore*</include>
208 <include>edu*</include>
209 <include>actual*</include>
210 <include>build*</include>
211 <include>expect*</include>
212 <include>ClusterController*</include>
213 </includes>
214 </fileset>
215 </filesets>
216 </configuration>
217 </plugin>
218 </plugins>
219 </build>
220
221 <dependencies>
222 <dependency>
buyingyie7752502012-10-08 00:35:31 +0000223 <groupId>edu.uci.ics.hyracks</groupId>
buyingyi7f356c12012-10-07 00:23:17 +0000224 <artifactId>pregelix-api</artifactId>
Zachary Heilbron423f4c62014-03-30 14:52:00 -0700225 <version>0.2.11</version>
buyingyi7f356c12012-10-07 00:23:17 +0000226 <type>jar</type>
227 <scope>compile</scope>
228 </dependency>
229 <dependency>
buyingyie7752502012-10-08 00:35:31 +0000230 <groupId>edu.uci.ics.hyracks</groupId>
buyingyi7f356c12012-10-07 00:23:17 +0000231 <artifactId>pregelix-dataflow-std</artifactId>
Zachary Heilbron423f4c62014-03-30 14:52:00 -0700232 <version>0.2.11</version>
buyingyi7f356c12012-10-07 00:23:17 +0000233 <type>jar</type>
234 <scope>compile</scope>
235 </dependency>
236 <dependency>
buyingyie7752502012-10-08 00:35:31 +0000237 <groupId>edu.uci.ics.hyracks</groupId>
buyingyi7f356c12012-10-07 00:23:17 +0000238 <artifactId>pregelix-dataflow</artifactId>
Zachary Heilbron423f4c62014-03-30 14:52:00 -0700239 <version>0.2.11</version>
buyingyi7f356c12012-10-07 00:23:17 +0000240 <type>jar</type>
241 <scope>compile</scope>
242 </dependency>
243 <dependency>
244 <groupId>edu.uci.ics.hyracks</groupId>
245 <artifactId>hyracks-dataflow-std</artifactId>
Zachary Heilbron423f4c62014-03-30 14:52:00 -0700246 <version>0.2.11</version>
buyingyi7f356c12012-10-07 00:23:17 +0000247 <type>jar</type>
248 <scope>compile</scope>
249 </dependency>
250 <dependency>
buyingyie7752502012-10-08 00:35:31 +0000251 <groupId>edu.uci.ics.hyracks</groupId>
buyingyi7f356c12012-10-07 00:23:17 +0000252 <artifactId>pregelix-runtime</artifactId>
Zachary Heilbron423f4c62014-03-30 14:52:00 -0700253 <version>0.2.11</version>
buyingyi7f356c12012-10-07 00:23:17 +0000254 <type>jar</type>
255 <scope>compile</scope>
256 </dependency>
257 <dependency>
258 <groupId>edu.uci.ics.hyracks</groupId>
259 <artifactId>hyracks-api</artifactId>
Zachary Heilbron423f4c62014-03-30 14:52:00 -0700260 <version>0.2.11</version>
buyingyi7f356c12012-10-07 00:23:17 +0000261 <type>jar</type>
262 <scope>compile</scope>
263 </dependency>
264 <dependency>
265 <groupId>edu.uci.ics.hyracks</groupId>
266 <artifactId>hyracks-dataflow-common</artifactId>
Zachary Heilbron423f4c62014-03-30 14:52:00 -0700267 <version>0.2.11</version>
buyingyi7f356c12012-10-07 00:23:17 +0000268 <type>jar</type>
269 <scope>compile</scope>
270 </dependency>
271 <dependency>
272 <groupId>edu.uci.ics.hyracks</groupId>
buyingyi7f356c12012-10-07 00:23:17 +0000273 <artifactId>hyracks-data-std</artifactId>
Zachary Heilbron423f4c62014-03-30 14:52:00 -0700274 <version>0.2.11</version>
buyingyi7f356c12012-10-07 00:23:17 +0000275 <type>jar</type>
276 <scope>compile</scope>
277 </dependency>
278 <dependency>
279 <groupId>edu.uci.ics.hyracks</groupId>
280 <artifactId>hyracks-storage-am-common</artifactId>
Zachary Heilbron423f4c62014-03-30 14:52:00 -0700281 <version>0.2.11</version>
buyingyi7f356c12012-10-07 00:23:17 +0000282 <type>jar</type>
283 <scope>compile</scope>
284 </dependency>
285 <dependency>
286 <groupId>edu.uci.ics.hyracks</groupId>
287 <artifactId>hyracks-storage-am-btree</artifactId>
Zachary Heilbron423f4c62014-03-30 14:52:00 -0700288 <version>0.2.11</version>
buyingyi7f356c12012-10-07 00:23:17 +0000289 <type>jar</type>
290 <scope>compile</scope>
291 </dependency>
292 <dependency>
buyingyi7f356c12012-10-07 00:23:17 +0000293 <groupId>edu.uci.ics.hyracks</groupId>
294 <artifactId>hyracks-control-cc</artifactId>
Zachary Heilbron423f4c62014-03-30 14:52:00 -0700295 <version>0.2.11</version>
buyingyi7f356c12012-10-07 00:23:17 +0000296 <type>jar</type>
297 <scope>compile</scope>
298 </dependency>
299 <dependency>
300 <groupId>edu.uci.ics.hyracks</groupId>
301 <artifactId>hyracks-control-nc</artifactId>
Zachary Heilbron423f4c62014-03-30 14:52:00 -0700302 <version>0.2.11</version>
buyingyi7f356c12012-10-07 00:23:17 +0000303 <type>jar</type>
304 <scope>compile</scope>
305 </dependency>
306 <dependency>
buyingyi7f356c12012-10-07 00:23:17 +0000307 <groupId>com.kenai.nbpwr</groupId>
308 <artifactId>org-apache-commons-io</artifactId>
309 <version>1.3.1-201002241208</version>
310 <type>nbm</type>
311 <scope>test</scope>
312 </dependency>
313 <dependency>
314 <groupId>edu.uci.ics.hyracks.examples</groupId>
315 <artifactId>hyracks-integration-tests</artifactId>
Zachary Heilbron423f4c62014-03-30 14:52:00 -0700316 <version>0.2.11</version>
buyingyi7f356c12012-10-07 00:23:17 +0000317 <scope>test</scope>
318 </dependency>
319 <dependency>
320 <groupId>com.sun.jersey</groupId>
321 <artifactId>jersey</artifactId>
322 <version>0.8-ea</version>
323 <type>jar</type>
324 <scope>test</scope>
325 </dependency>
326 <dependency>
327 <groupId>javax.servlet</groupId>
328 <artifactId>javax.servlet-api</artifactId>
329 <version>3.0.1</version>
330 <type>jar</type>
331 <scope>compile</scope>
332 </dependency>
333 <dependency>
334 <groupId>edu.uci.ics.hyracks</groupId>
buyingyi7f356c12012-10-07 00:23:17 +0000335 <artifactId>hyracks-ipc</artifactId>
Zachary Heilbron423f4c62014-03-30 14:52:00 -0700336 <version>0.2.11</version>
buyingyi7f356c12012-10-07 00:23:17 +0000337 <type>jar</type>
338 <scope>compile</scope>
339 </dependency>
Yingyi Bu0954be82013-11-18 16:40:51 -0800340 <dependency>
341 <groupId>edu.uci.ics.hyracks</groupId>
342 <artifactId>hyracks-client</artifactId>
Zachary Heilbron423f4c62014-03-30 14:52:00 -0700343 <version>0.2.11</version>
Yingyi Bu0954be82013-11-18 16:40:51 -0800344 <type>jar</type>
345 <scope>compile</scope>
346 </dependency>
buyingyi7f356c12012-10-07 00:23:17 +0000347 </dependencies>
348</project>