blob: 1cff154786121ebd2b3febfd7dd2a57e08423d73 [file] [log] [blame]
vinayakb4a6309b2012-10-29 15:44:02 +00001<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 +00002 <modelVersion>4.0.0</modelVersion>
3 <artifactId>pregelix-core</artifactId>
4 <packaging>jar</packaging>
5 <name>pregelix-core</name>
6
7 <parent>
buyingyi202af412012-10-08 23:07:09 +00008 <groupId>edu.uci.ics.hyracks</groupId>
9 <artifactId>pregelix</artifactId>
vinayakb4a6309b2012-10-29 15:44:02 +000010 <version>0.2.2</version>
buyingyi202af412012-10-08 23:07:09 +000011 </parent>
buyingyi7f356c12012-10-07 00:23:17 +000012
13
14 <properties>
15 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
16 </properties>
17
18 <build>
19 <plugins>
20 <plugin>
21 <artifactId>maven-jar-plugin</artifactId>
22 <executions>
23 <execution>
24 <id>balancer</id>
25 <goals>
26 <goal>jar</goal>
27 </goals>
28 <phase>package</phase>
29 <configuration>
30 <classifier>balancer</classifier>
31 <archive>
32 <manifest>
buyingyi4dcab6a2012-10-09 21:37:52 +000033 <MainClass>edu.uci.ics.pregelix.core.util.DataBalancer</MainClass>
buyingyi7f356c12012-10-07 00:23:17 +000034 </manifest>
35 </archive>
36 <includes>
buyingyi4dcab6a2012-10-09 21:37:52 +000037 <include>**/edu/uci/ics/pregelix/core/util/DataBalancer*</include>
buyingyi7f356c12012-10-07 00:23:17 +000038 </includes>
39 </configuration>
40 </execution>
41 </executions>
42 </plugin>
43 <plugin>
44 <artifactId>maven-jar-plugin</artifactId>
45 <executions>
46 <execution>
47 <id>generator</id>
48 <goals>
49 <goal>jar</goal>
50 </goals>
51 <phase>package</phase>
52 <configuration>
53 <classifier>generator</classifier>
54 <archive>
55 <manifest>
buyingyi4dcab6a2012-10-09 21:37:52 +000056 <MainClass>edu.uci.ics.pregelix.core.util.DataGenerator</MainClass>
buyingyi7f356c12012-10-07 00:23:17 +000057 </manifest>
58 </archive>
59 <includes>
buyingyi4dcab6a2012-10-09 21:37:52 +000060 <include>**/edu/uci/ics/pregelix/core/util/DataGenerator*</include>
buyingyi7f356c12012-10-07 00:23:17 +000061 </includes>
62 </configuration>
63 </execution>
64 </executions>
65 </plugin>
66 <plugin>
67 <artifactId>maven-jar-plugin</artifactId>
68 <executions>
69 <execution>
70 <id>patch</id>
71 <goals>
72 <goal>jar</goal>
73 </goals>
74 <phase>package</phase>
75 <configuration>
76 <classifier>patch</classifier>
77 <finalName>a-hadoop</finalName>
78 <includes>
buyingyib441fb12012-10-10 13:12:15 +000079 <include>**/org/apache/**</include>
buyingyi7f356c12012-10-07 00:23:17 +000080 </includes>
81 </configuration>
82 </execution>
83 </executions>
84 </plugin>
85 <plugin>
86 <groupId>org.apache.maven.plugins</groupId>
87 <artifactId>maven-compiler-plugin</artifactId>
88 <version>2.0.2</version>
89 <configuration>
90 <source>1.6</source>
91 <target>1.6</target>
92 </configuration>
93 </plugin>
94 <plugin>
95 <groupId>org.codehaus.mojo</groupId>
96 <artifactId>appassembler-maven-plugin</artifactId>
97 <executions>
98 <execution>
99 <configuration>
100 <programs>
101 <program>
102 <mainClass>org.apache.hadoop.util.RunJar</mainClass>
103 <name>pregelix-obselete</name>
104 </program>
105 </programs>
106 <repositoryLayout>flat</repositoryLayout>
107 <repositoryName>lib</repositoryName>
108 </configuration>
109 <phase>package</phase>
110 <goals>
111 <goal>assemble</goal>
112 </goals>
113 </execution>
114 </executions>
115 </plugin>
116 <plugin>
117 <artifactId>maven-assembly-plugin</artifactId>
118 <version>2.2-beta-5</version>
119 <executions>
120 <execution>
121 <configuration>
122 <descriptors>
123 <descriptor>src/main/assembly/binary-assembly.xml</descriptor>
124 </descriptors>
125 </configuration>
126 <phase>package</phase>
127 <goals>
128 <goal>attached</goal>
129 </goals>
130 </execution>
131 </executions>
132 </plugin>
133 <plugin>
134 <artifactId>maven-resources-plugin</artifactId>
135 <version>2.5</version>
136 <executions>
137 <execution>
138 <id>copy-scripts</id>
139 <!-- here the phase you need -->
140 <phase>package</phase>
141 <goals>
142 <goal>copy-resources</goal>
143 </goals>
144 <configuration>
145 <outputDirectory>target/appassembler/bin</outputDirectory>
146 <resources>
147 <resource>
148 <directory>src/main/resources/scripts</directory>
149 </resource>
150 </resources>
151 </configuration>
152 </execution>
153 <execution>
154 <id>copy-conf</id>
155 <!-- here the phase you need -->
156 <phase>package</phase>
157 <goals>
158 <goal>copy-resources</goal>
159 </goals>
160 <configuration>
161 <outputDirectory>target/appassembler/conf</outputDirectory>
162 <resources>
163 <resource>
164 <directory>src/main/resources/conf</directory>
165 </resource>
166 </resources>
167 </configuration>
168 </execution>
buyingyi202af412012-10-08 23:07:09 +0000169 <execution>
170 <id>copy-hadoop-patch</id>
171 <!-- here the phase you need -->
172 <phase>package</phase>
173 <goals>
174 <goal>copy-resources</goal>
175 </goals>
176 <configuration>
177 <outputDirectory>target/appassembler/lib</outputDirectory>
178 <resources>
179 <resource>
180 <directory>target</directory>
181 <includes>
182 <include>a-hadoop-patch.jar</include>
183 </includes>
184 </resource>
185 </resources>
186 </configuration>
187 </execution>
buyingyi7f356c12012-10-07 00:23:17 +0000188 </executions>
189 </plugin>
190 <plugin>
191 <groupId>org.apache.maven.plugins</groupId>
192 <artifactId>maven-surefire-plugin</artifactId>
193 <version>2.7.2</version>
194 <configuration>
195 <forkMode>pertest</forkMode>
buyingyi62598052012-10-22 19:55:10 +0000196 <argLine>-enableassertions -Xmx512m -XX:MaxPermSize=300m -Dfile.encoding=UTF-8
buyingyi7f356c12012-10-07 00:23:17 +0000197 -Djava.util.logging.config.file=src/test/resources/logging.properties</argLine>
198 <includes>
199 <include>**/*TestSuite.java</include>
200 <include>**/*Test.java</include>
201 </includes>
202 </configuration>
203 </plugin>
204 <plugin>
205 <artifactId>maven-clean-plugin</artifactId>
206 <configuration>
207 <filesets>
208 <fileset>
209 <directory>.</directory>
210 <includes>
211 <include>teststore*</include>
212 <include>edu*</include>
213 <include>actual*</include>
214 <include>build*</include>
215 <include>expect*</include>
216 <include>ClusterController*</include>
217 </includes>
218 </fileset>
219 </filesets>
220 </configuration>
221 </plugin>
222 </plugins>
223 </build>
224
225 <dependencies>
226 <dependency>
227 <groupId>junit</groupId>
228 <artifactId>junit</artifactId>
229 <version>4.8.1</version>
230 <scope>test</scope>
231 </dependency>
232 <dependency>
buyingyie7752502012-10-08 00:35:31 +0000233 <groupId>edu.uci.ics.hyracks</groupId>
buyingyi7f356c12012-10-07 00:23:17 +0000234 <artifactId>pregelix-api</artifactId>
vinayakb4a6309b2012-10-29 15:44:02 +0000235 <version>0.2.2</version>
buyingyi7f356c12012-10-07 00:23:17 +0000236 <type>jar</type>
237 <scope>compile</scope>
238 </dependency>
239 <dependency>
buyingyie7752502012-10-08 00:35:31 +0000240 <groupId>edu.uci.ics.hyracks</groupId>
buyingyi7f356c12012-10-07 00:23:17 +0000241 <artifactId>pregelix-dataflow-std</artifactId>
vinayakb4a6309b2012-10-29 15:44:02 +0000242 <version>0.2.2</version>
buyingyi7f356c12012-10-07 00:23:17 +0000243 <type>jar</type>
244 <scope>compile</scope>
245 </dependency>
246 <dependency>
buyingyie7752502012-10-08 00:35:31 +0000247 <groupId>edu.uci.ics.hyracks</groupId>
buyingyi7f356c12012-10-07 00:23:17 +0000248 <artifactId>pregelix-dataflow</artifactId>
vinayakb4a6309b2012-10-29 15:44:02 +0000249 <version>0.2.2</version>
buyingyi7f356c12012-10-07 00:23:17 +0000250 <type>jar</type>
251 <scope>compile</scope>
252 </dependency>
253 <dependency>
254 <groupId>edu.uci.ics.hyracks</groupId>
255 <artifactId>hyracks-dataflow-std</artifactId>
vinayakb4a6309b2012-10-29 15:44:02 +0000256 <version>0.2.2</version>
buyingyi7f356c12012-10-07 00:23:17 +0000257 <type>jar</type>
258 <scope>compile</scope>
259 </dependency>
260 <dependency>
buyingyie7752502012-10-08 00:35:31 +0000261 <groupId>edu.uci.ics.hyracks</groupId>
buyingyi7f356c12012-10-07 00:23:17 +0000262 <artifactId>pregelix-runtime</artifactId>
vinayakb4a6309b2012-10-29 15:44:02 +0000263 <version>0.2.2</version>
buyingyi7f356c12012-10-07 00:23:17 +0000264 <type>jar</type>
265 <scope>compile</scope>
266 </dependency>
267 <dependency>
268 <groupId>edu.uci.ics.hyracks</groupId>
269 <artifactId>hyracks-api</artifactId>
vinayakb4a6309b2012-10-29 15:44:02 +0000270 <version>0.2.2</version>
buyingyi7f356c12012-10-07 00:23:17 +0000271 <type>jar</type>
272 <scope>compile</scope>
273 </dependency>
274 <dependency>
275 <groupId>edu.uci.ics.hyracks</groupId>
276 <artifactId>hyracks-dataflow-common</artifactId>
vinayakb4a6309b2012-10-29 15:44:02 +0000277 <version>0.2.2</version>
buyingyi7f356c12012-10-07 00:23:17 +0000278 <type>jar</type>
279 <scope>compile</scope>
280 </dependency>
281 <dependency>
282 <groupId>edu.uci.ics.hyracks</groupId>
buyingyi7f356c12012-10-07 00:23:17 +0000283 <artifactId>hyracks-data-std</artifactId>
vinayakb4a6309b2012-10-29 15:44:02 +0000284 <version>0.2.2</version>
buyingyi7f356c12012-10-07 00:23:17 +0000285 </dependency>
286 <dependency>
287 <groupId>org.apache.hadoop</groupId>
288 <artifactId>hadoop-core</artifactId>
289 <version>0.20.2</version>
290 <type>jar</type>
291 <scope>compile</scope>
292 </dependency>
293 <dependency>
294 <groupId>edu.uci.ics.hyracks</groupId>
295 <artifactId>hyracks-storage-am-common</artifactId>
vinayakb4a6309b2012-10-29 15:44:02 +0000296 <version>0.2.2</version>
buyingyi7f356c12012-10-07 00:23:17 +0000297 <type>jar</type>
298 <scope>compile</scope>
299 </dependency>
300 <dependency>
301 <groupId>edu.uci.ics.hyracks</groupId>
302 <artifactId>hyracks-storage-am-btree</artifactId>
vinayakb4a6309b2012-10-29 15:44:02 +0000303 <version>0.2.2</version>
buyingyi7f356c12012-10-07 00:23:17 +0000304 <type>jar</type>
305 <scope>compile</scope>
306 </dependency>
307 <dependency>
buyingyi7f356c12012-10-07 00:23:17 +0000308 <groupId>edu.uci.ics.hyracks</groupId>
309 <artifactId>hyracks-control-cc</artifactId>
vinayakb4a6309b2012-10-29 15:44:02 +0000310 <version>0.2.2</version>
buyingyi7f356c12012-10-07 00:23:17 +0000311 <type>jar</type>
312 <scope>compile</scope>
313 </dependency>
314 <dependency>
315 <groupId>edu.uci.ics.hyracks</groupId>
316 <artifactId>hyracks-control-nc</artifactId>
vinayakb4a6309b2012-10-29 15:44:02 +0000317 <version>0.2.2</version>
buyingyi7f356c12012-10-07 00:23:17 +0000318 <type>jar</type>
319 <scope>compile</scope>
320 </dependency>
321 <dependency>
322 <groupId>org.apache.hadoop</groupId>
323 <artifactId>hadoop-test</artifactId>
324 <version>0.20.2</version>
325 <type>jar</type>
326 <scope>compile</scope>
327 </dependency>
328 <dependency>
329 <groupId>com.kenai.nbpwr</groupId>
330 <artifactId>org-apache-commons-io</artifactId>
331 <version>1.3.1-201002241208</version>
332 <type>nbm</type>
333 <scope>test</scope>
334 </dependency>
335 <dependency>
336 <groupId>edu.uci.ics.hyracks.examples</groupId>
337 <artifactId>hyracks-integration-tests</artifactId>
338 <version>0.2.1</version>
339 <scope>test</scope>
340 </dependency>
341 <dependency>
342 <groupId>com.sun.jersey</groupId>
343 <artifactId>jersey</artifactId>
344 <version>0.8-ea</version>
345 <type>jar</type>
346 <scope>test</scope>
347 </dependency>
348 <dependency>
349 <groupId>javax.servlet</groupId>
350 <artifactId>javax.servlet-api</artifactId>
351 <version>3.0.1</version>
352 <type>jar</type>
353 <scope>compile</scope>
354 </dependency>
355 <dependency>
356 <groupId>edu.uci.ics.hyracks</groupId>
buyingyi7f356c12012-10-07 00:23:17 +0000357 <artifactId>hyracks-ipc</artifactId>
vinayakb4a6309b2012-10-29 15:44:02 +0000358 <version>0.2.2</version>
buyingyi7f356c12012-10-07 00:23:17 +0000359 <type>jar</type>
360 <scope>compile</scope>
361 </dependency>
362 </dependencies>
363</project>