blob: 3d1699fc08dfff240fe8aad84db1afc98a367ca3 [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>
buyingyi0f63d8b2013-07-22 11:33:10 -070024 <version>0.2.10-SNAPSHOT</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>
200 <groupId>org.apache.maven.plugins</groupId>
201 <artifactId>maven-surefire-plugin</artifactId>
202 <version>2.7.2</version>
203 <configuration>
204 <forkMode>pertest</forkMode>
buyingyi55df5212013-03-24 07:20:08 +0000205 <argLine>-enableassertions -Xmx512m -XX:MaxPermSize=300m
206 -Dfile.encoding=UTF-8
buyingyi7f356c12012-10-07 00:23:17 +0000207 -Djava.util.logging.config.file=src/test/resources/logging.properties</argLine>
208 <includes>
209 <include>**/*TestSuite.java</include>
210 <include>**/*Test.java</include>
211 </includes>
212 </configuration>
213 </plugin>
214 <plugin>
215 <artifactId>maven-clean-plugin</artifactId>
vinayakb4df31102013-04-06 18:28:48 +0000216 <version>2.4.1</version>
buyingyi7f356c12012-10-07 00:23:17 +0000217 <configuration>
218 <filesets>
219 <fileset>
220 <directory>.</directory>
221 <includes>
222 <include>teststore*</include>
223 <include>edu*</include>
224 <include>actual*</include>
225 <include>build*</include>
226 <include>expect*</include>
227 <include>ClusterController*</include>
228 </includes>
229 </fileset>
230 </filesets>
231 </configuration>
232 </plugin>
233 </plugins>
234 </build>
235
236 <dependencies>
237 <dependency>
238 <groupId>junit</groupId>
239 <artifactId>junit</artifactId>
240 <version>4.8.1</version>
241 <scope>test</scope>
242 </dependency>
243 <dependency>
buyingyie7752502012-10-08 00:35:31 +0000244 <groupId>edu.uci.ics.hyracks</groupId>
buyingyi7f356c12012-10-07 00:23:17 +0000245 <artifactId>pregelix-api</artifactId>
buyingyi0f63d8b2013-07-22 11:33:10 -0700246 <version>0.2.10-SNAPSHOT</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-dataflow-std</artifactId>
buyingyi0f63d8b2013-07-22 11:33:10 -0700253 <version>0.2.10-SNAPSHOT</version>
buyingyi7f356c12012-10-07 00:23:17 +0000254 <type>jar</type>
255 <scope>compile</scope>
256 </dependency>
257 <dependency>
buyingyie7752502012-10-08 00:35:31 +0000258 <groupId>edu.uci.ics.hyracks</groupId>
buyingyi7f356c12012-10-07 00:23:17 +0000259 <artifactId>pregelix-dataflow</artifactId>
buyingyi0f63d8b2013-07-22 11:33:10 -0700260 <version>0.2.10-SNAPSHOT</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-std</artifactId>
buyingyi0f63d8b2013-07-22 11:33:10 -0700267 <version>0.2.10-SNAPSHOT</version>
buyingyi7f356c12012-10-07 00:23:17 +0000268 <type>jar</type>
269 <scope>compile</scope>
270 </dependency>
271 <dependency>
buyingyie7752502012-10-08 00:35:31 +0000272 <groupId>edu.uci.ics.hyracks</groupId>
buyingyi7f356c12012-10-07 00:23:17 +0000273 <artifactId>pregelix-runtime</artifactId>
buyingyi0f63d8b2013-07-22 11:33:10 -0700274 <version>0.2.10-SNAPSHOT</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-api</artifactId>
buyingyi0f63d8b2013-07-22 11:33:10 -0700281 <version>0.2.10-SNAPSHOT</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-dataflow-common</artifactId>
buyingyi0f63d8b2013-07-22 11:33:10 -0700288 <version>0.2.10-SNAPSHOT</version>
buyingyi7f356c12012-10-07 00:23:17 +0000289 <type>jar</type>
290 <scope>compile</scope>
291 </dependency>
292 <dependency>
293 <groupId>edu.uci.ics.hyracks</groupId>
buyingyi7f356c12012-10-07 00:23:17 +0000294 <artifactId>hyracks-data-std</artifactId>
buyingyi0f63d8b2013-07-22 11:33:10 -0700295 <version>0.2.10-SNAPSHOT</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-storage-am-common</artifactId>
buyingyi0f63d8b2013-07-22 11:33:10 -0700302 <version>0.2.10-SNAPSHOT</version>
buyingyi7f356c12012-10-07 00:23:17 +0000303 <type>jar</type>
304 <scope>compile</scope>
305 </dependency>
306 <dependency>
307 <groupId>edu.uci.ics.hyracks</groupId>
308 <artifactId>hyracks-storage-am-btree</artifactId>
buyingyi0f63d8b2013-07-22 11:33:10 -0700309 <version>0.2.10-SNAPSHOT</version>
buyingyi7f356c12012-10-07 00:23:17 +0000310 <type>jar</type>
311 <scope>compile</scope>
312 </dependency>
313 <dependency>
buyingyi7f356c12012-10-07 00:23:17 +0000314 <groupId>edu.uci.ics.hyracks</groupId>
315 <artifactId>hyracks-control-cc</artifactId>
buyingyi0f63d8b2013-07-22 11:33:10 -0700316 <version>0.2.10-SNAPSHOT</version>
buyingyi7f356c12012-10-07 00:23:17 +0000317 <type>jar</type>
318 <scope>compile</scope>
319 </dependency>
320 <dependency>
321 <groupId>edu.uci.ics.hyracks</groupId>
322 <artifactId>hyracks-control-nc</artifactId>
buyingyi0f63d8b2013-07-22 11:33:10 -0700323 <version>0.2.10-SNAPSHOT</version>
buyingyi7f356c12012-10-07 00:23:17 +0000324 <type>jar</type>
325 <scope>compile</scope>
326 </dependency>
327 <dependency>
buyingyi7f356c12012-10-07 00:23:17 +0000328 <groupId>com.kenai.nbpwr</groupId>
329 <artifactId>org-apache-commons-io</artifactId>
330 <version>1.3.1-201002241208</version>
331 <type>nbm</type>
332 <scope>test</scope>
333 </dependency>
334 <dependency>
335 <groupId>edu.uci.ics.hyracks.examples</groupId>
336 <artifactId>hyracks-integration-tests</artifactId>
buyingyi0f63d8b2013-07-22 11:33:10 -0700337 <version>0.2.10-SNAPSHOT</version>
buyingyi7f356c12012-10-07 00:23:17 +0000338 <scope>test</scope>
339 </dependency>
340 <dependency>
341 <groupId>com.sun.jersey</groupId>
342 <artifactId>jersey</artifactId>
343 <version>0.8-ea</version>
344 <type>jar</type>
345 <scope>test</scope>
346 </dependency>
347 <dependency>
348 <groupId>javax.servlet</groupId>
349 <artifactId>javax.servlet-api</artifactId>
350 <version>3.0.1</version>
351 <type>jar</type>
352 <scope>compile</scope>
353 </dependency>
354 <dependency>
355 <groupId>edu.uci.ics.hyracks</groupId>
buyingyi7f356c12012-10-07 00:23:17 +0000356 <artifactId>hyracks-ipc</artifactId>
buyingyi0f63d8b2013-07-22 11:33:10 -0700357 <version>0.2.10-SNAPSHOT</version>
buyingyi7f356c12012-10-07 00:23:17 +0000358 <type>jar</type>
359 <scope>compile</scope>
360 </dependency>
361 </dependencies>
362</project>