blob: fc1f34a12b51180dd689acc84cb091270bd24ef2 [file] [log] [blame]
buyingyi7f356c12012-10-07 00:23:17 +00001<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3 <modelVersion>4.0.0</modelVersion>
4 <artifactId>pregelix-core</artifactId>
5 <packaging>jar</packaging>
6 <name>pregelix-core</name>
7
8 <parent>
buyingyi202af412012-10-08 23:07:09 +00009 <groupId>edu.uci.ics.hyracks</groupId>
10 <artifactId>pregelix</artifactId>
11 <version>0.2.2-SNAPSHOT</version>
12 </parent>
buyingyi7f356c12012-10-07 00:23:17 +000013
14
15 <properties>
16 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
17 </properties>
18
19 <build>
20 <plugins>
21 <plugin>
22 <artifactId>maven-jar-plugin</artifactId>
23 <executions>
24 <execution>
25 <id>balancer</id>
26 <goals>
27 <goal>jar</goal>
28 </goals>
29 <phase>package</phase>
30 <configuration>
31 <classifier>balancer</classifier>
32 <archive>
33 <manifest>
buyingyi4dcab6a2012-10-09 21:37:52 +000034 <MainClass>edu.uci.ics.pregelix.core.util.DataBalancer</MainClass>
buyingyi7f356c12012-10-07 00:23:17 +000035 </manifest>
36 </archive>
37 <includes>
buyingyi4dcab6a2012-10-09 21:37:52 +000038 <include>**/edu/uci/ics/pregelix/core/util/DataBalancer*</include>
buyingyi7f356c12012-10-07 00:23:17 +000039 </includes>
40 </configuration>
41 </execution>
42 </executions>
43 </plugin>
44 <plugin>
45 <artifactId>maven-jar-plugin</artifactId>
46 <executions>
47 <execution>
48 <id>generator</id>
49 <goals>
50 <goal>jar</goal>
51 </goals>
52 <phase>package</phase>
53 <configuration>
54 <classifier>generator</classifier>
55 <archive>
56 <manifest>
buyingyi4dcab6a2012-10-09 21:37:52 +000057 <MainClass>edu.uci.ics.pregelix.core.util.DataGenerator</MainClass>
buyingyi7f356c12012-10-07 00:23:17 +000058 </manifest>
59 </archive>
60 <includes>
buyingyi4dcab6a2012-10-09 21:37:52 +000061 <include>**/edu/uci/ics/pregelix/core/util/DataGenerator*</include>
buyingyi7f356c12012-10-07 00:23:17 +000062 </includes>
63 </configuration>
64 </execution>
65 </executions>
66 </plugin>
67 <plugin>
68 <artifactId>maven-jar-plugin</artifactId>
69 <executions>
70 <execution>
71 <id>patch</id>
72 <goals>
73 <goal>jar</goal>
74 </goals>
75 <phase>package</phase>
76 <configuration>
77 <classifier>patch</classifier>
78 <finalName>a-hadoop</finalName>
79 <includes>
80 <include>**/org/apache/*</include>
81 </includes>
82 </configuration>
83 </execution>
84 </executions>
85 </plugin>
86 <plugin>
87 <groupId>org.apache.maven.plugins</groupId>
88 <artifactId>maven-compiler-plugin</artifactId>
89 <version>2.0.2</version>
90 <configuration>
91 <source>1.6</source>
92 <target>1.6</target>
93 </configuration>
94 </plugin>
95 <plugin>
96 <groupId>org.codehaus.mojo</groupId>
97 <artifactId>appassembler-maven-plugin</artifactId>
98 <executions>
99 <execution>
100 <configuration>
101 <programs>
102 <program>
103 <mainClass>org.apache.hadoop.util.RunJar</mainClass>
104 <name>pregelix-obselete</name>
105 </program>
106 </programs>
107 <repositoryLayout>flat</repositoryLayout>
108 <repositoryName>lib</repositoryName>
109 </configuration>
110 <phase>package</phase>
111 <goals>
112 <goal>assemble</goal>
113 </goals>
114 </execution>
115 </executions>
116 </plugin>
117 <plugin>
118 <artifactId>maven-assembly-plugin</artifactId>
119 <version>2.2-beta-5</version>
120 <executions>
121 <execution>
122 <configuration>
123 <descriptors>
124 <descriptor>src/main/assembly/binary-assembly.xml</descriptor>
125 </descriptors>
126 </configuration>
127 <phase>package</phase>
128 <goals>
129 <goal>attached</goal>
130 </goals>
131 </execution>
132 </executions>
133 </plugin>
134 <plugin>
135 <artifactId>maven-resources-plugin</artifactId>
136 <version>2.5</version>
137 <executions>
138 <execution>
139 <id>copy-scripts</id>
140 <!-- here the phase you need -->
141 <phase>package</phase>
142 <goals>
143 <goal>copy-resources</goal>
144 </goals>
145 <configuration>
146 <outputDirectory>target/appassembler/bin</outputDirectory>
147 <resources>
148 <resource>
149 <directory>src/main/resources/scripts</directory>
150 </resource>
151 </resources>
152 </configuration>
153 </execution>
154 <execution>
155 <id>copy-conf</id>
156 <!-- here the phase you need -->
157 <phase>package</phase>
158 <goals>
159 <goal>copy-resources</goal>
160 </goals>
161 <configuration>
162 <outputDirectory>target/appassembler/conf</outputDirectory>
163 <resources>
164 <resource>
165 <directory>src/main/resources/conf</directory>
166 </resource>
167 </resources>
168 </configuration>
169 </execution>
buyingyi202af412012-10-08 23:07:09 +0000170 <execution>
171 <id>copy-hadoop-patch</id>
172 <!-- here the phase you need -->
173 <phase>package</phase>
174 <goals>
175 <goal>copy-resources</goal>
176 </goals>
177 <configuration>
178 <outputDirectory>target/appassembler/lib</outputDirectory>
179 <resources>
180 <resource>
181 <directory>target</directory>
182 <includes>
183 <include>a-hadoop-patch.jar</include>
184 </includes>
185 </resource>
186 </resources>
187 </configuration>
188 </execution>
buyingyi7f356c12012-10-07 00:23:17 +0000189 </executions>
190 </plugin>
191 <plugin>
192 <groupId>org.apache.maven.plugins</groupId>
193 <artifactId>maven-surefire-plugin</artifactId>
194 <version>2.7.2</version>
195 <configuration>
196 <forkMode>pertest</forkMode>
197 <argLine>-enableassertions -Xmx2047m -Dfile.encoding=UTF-8
198 -Djava.util.logging.config.file=src/test/resources/logging.properties</argLine>
199 <includes>
200 <include>**/*TestSuite.java</include>
201 <include>**/*Test.java</include>
202 </includes>
203 </configuration>
204 </plugin>
205 <plugin>
206 <artifactId>maven-clean-plugin</artifactId>
207 <configuration>
208 <filesets>
209 <fileset>
210 <directory>.</directory>
211 <includes>
212 <include>teststore*</include>
213 <include>edu*</include>
214 <include>actual*</include>
215 <include>build*</include>
216 <include>expect*</include>
217 <include>ClusterController*</include>
218 </includes>
219 </fileset>
220 </filesets>
221 </configuration>
222 </plugin>
223 </plugins>
224 </build>
225
226 <dependencies>
227 <dependency>
228 <groupId>junit</groupId>
229 <artifactId>junit</artifactId>
230 <version>4.8.1</version>
231 <scope>test</scope>
232 </dependency>
233 <dependency>
buyingyie7752502012-10-08 00:35:31 +0000234 <groupId>edu.uci.ics.hyracks</groupId>
buyingyi7f356c12012-10-07 00:23:17 +0000235 <artifactId>pregelix-api</artifactId>
buyingyie7752502012-10-08 00:35:31 +0000236 <version>0.2.2-SNAPSHOT</version>
buyingyi7f356c12012-10-07 00:23:17 +0000237 <type>jar</type>
238 <scope>compile</scope>
239 </dependency>
240 <dependency>
buyingyie7752502012-10-08 00:35:31 +0000241 <groupId>edu.uci.ics.hyracks</groupId>
buyingyi7f356c12012-10-07 00:23:17 +0000242 <artifactId>pregelix-dataflow-std</artifactId>
buyingyie7752502012-10-08 00:35:31 +0000243 <version>0.2.2-SNAPSHOT</version>
buyingyi7f356c12012-10-07 00:23:17 +0000244 <type>jar</type>
245 <scope>compile</scope>
246 </dependency>
247 <dependency>
buyingyie7752502012-10-08 00:35:31 +0000248 <groupId>edu.uci.ics.hyracks</groupId>
buyingyi7f356c12012-10-07 00:23:17 +0000249 <artifactId>pregelix-dataflow</artifactId>
buyingyie7752502012-10-08 00:35:31 +0000250 <version>0.2.2-SNAPSHOT</version>
buyingyi7f356c12012-10-07 00:23:17 +0000251 <type>jar</type>
252 <scope>compile</scope>
253 </dependency>
254 <dependency>
255 <groupId>edu.uci.ics.hyracks</groupId>
256 <artifactId>hyracks-dataflow-std</artifactId>
257 <version>0.2.2-SNAPSHOT</version>
258 <type>jar</type>
259 <scope>compile</scope>
260 </dependency>
261 <dependency>
buyingyie7752502012-10-08 00:35:31 +0000262 <groupId>edu.uci.ics.hyracks</groupId>
buyingyi7f356c12012-10-07 00:23:17 +0000263 <artifactId>pregelix-runtime</artifactId>
buyingyie7752502012-10-08 00:35:31 +0000264 <version>0.2.2-SNAPSHOT</version>
buyingyi7f356c12012-10-07 00:23:17 +0000265 <type>jar</type>
266 <scope>compile</scope>
267 </dependency>
268 <dependency>
269 <groupId>edu.uci.ics.hyracks</groupId>
270 <artifactId>hyracks-api</artifactId>
271 <version>0.2.2-SNAPSHOT</version>
272 <type>jar</type>
273 <scope>compile</scope>
274 </dependency>
275 <dependency>
276 <groupId>edu.uci.ics.hyracks</groupId>
277 <artifactId>hyracks-dataflow-common</artifactId>
278 <version>0.2.2-SNAPSHOT</version>
279 <type>jar</type>
280 <scope>compile</scope>
281 </dependency>
282 <dependency>
283 <groupId>edu.uci.ics.hyracks</groupId>
284 <artifactId>hyracks-dataflow-hadoop</artifactId>
285 <version>0.2.2-SNAPSHOT</version>
286 <type>jar</type>
287 <scope>compile</scope>
288 </dependency>
289 <dependency>
290 <groupId>edu.uci.ics.hyracks</groupId>
291 <artifactId>hyracks-data-std</artifactId>
292 <version>0.2.2-SNAPSHOT</version>
293 </dependency>
294 <dependency>
295 <groupId>org.apache.hadoop</groupId>
296 <artifactId>hadoop-core</artifactId>
297 <version>0.20.2</version>
298 <type>jar</type>
299 <scope>compile</scope>
300 </dependency>
301 <dependency>
302 <groupId>edu.uci.ics.hyracks</groupId>
303 <artifactId>hyracks-storage-am-common</artifactId>
304 <version>0.2.2-SNAPSHOT</version>
305 <type>jar</type>
306 <scope>compile</scope>
307 </dependency>
308 <dependency>
309 <groupId>edu.uci.ics.hyracks</groupId>
310 <artifactId>hyracks-storage-am-btree</artifactId>
311 <version>0.2.2-SNAPSHOT</version>
312 <type>jar</type>
313 <scope>compile</scope>
314 </dependency>
315 <dependency>
buyingyi7f356c12012-10-07 00:23:17 +0000316 <groupId>edu.uci.ics.hyracks</groupId>
317 <artifactId>hyracks-control-cc</artifactId>
318 <version>0.2.2-SNAPSHOT</version>
319 <type>jar</type>
320 <scope>compile</scope>
321 </dependency>
322 <dependency>
323 <groupId>edu.uci.ics.hyracks</groupId>
324 <artifactId>hyracks-control-nc</artifactId>
325 <version>0.2.2-SNAPSHOT</version>
326 <type>jar</type>
327 <scope>compile</scope>
328 </dependency>
329 <dependency>
330 <groupId>org.apache.hadoop</groupId>
331 <artifactId>hadoop-test</artifactId>
332 <version>0.20.2</version>
333 <type>jar</type>
334 <scope>compile</scope>
335 </dependency>
336 <dependency>
337 <groupId>com.kenai.nbpwr</groupId>
338 <artifactId>org-apache-commons-io</artifactId>
339 <version>1.3.1-201002241208</version>
340 <type>nbm</type>
341 <scope>test</scope>
342 </dependency>
343 <dependency>
344 <groupId>edu.uci.ics.hyracks.examples</groupId>
345 <artifactId>hyracks-integration-tests</artifactId>
346 <version>0.2.1</version>
347 <scope>test</scope>
348 </dependency>
349 <dependency>
350 <groupId>com.sun.jersey</groupId>
351 <artifactId>jersey</artifactId>
352 <version>0.8-ea</version>
353 <type>jar</type>
354 <scope>test</scope>
355 </dependency>
356 <dependency>
357 <groupId>javax.servlet</groupId>
358 <artifactId>javax.servlet-api</artifactId>
359 <version>3.0.1</version>
360 <type>jar</type>
361 <scope>compile</scope>
362 </dependency>
363 <dependency>
364 <groupId>edu.uci.ics.hyracks</groupId>
365 <artifactId>hyracks-hadoop-compat</artifactId>
366 <version>0.2.2-SNAPSHOT</version>
367 <type>jar</type>
368 <scope>compile</scope>
369 </dependency>
370 <dependency>
371 <groupId>edu.uci.ics.hyracks</groupId>
372 <artifactId>hyracks-ipc</artifactId>
373 <version>0.2.2-SNAPSHOT</version>
374 <type>jar</type>
375 <scope>compile</scope>
376 </dependency>
377 </dependencies>
378</project>