blob: 16188104dc6e80e04ea7895126a2398342a7cc14 [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>
vinayakb70c821c2012-10-29 15:46:12 +000010 <version>0.2.3-SNAPSHOT</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>
vinayakba8d545c2013-02-05 05:54:47 +000022 <version>2.4</version>
buyingyi7f356c12012-10-07 00:23:17 +000023 <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>
buyingyi7f356c12012-10-07 00:23:17 +000042 <execution>
43 <id>generator</id>
44 <goals>
45 <goal>jar</goal>
46 </goals>
47 <phase>package</phase>
48 <configuration>
49 <classifier>generator</classifier>
50 <archive>
51 <manifest>
buyingyi4dcab6a2012-10-09 21:37:52 +000052 <MainClass>edu.uci.ics.pregelix.core.util.DataGenerator</MainClass>
buyingyi7f356c12012-10-07 00:23:17 +000053 </manifest>
54 </archive>
55 <includes>
buyingyi4dcab6a2012-10-09 21:37:52 +000056 <include>**/edu/uci/ics/pregelix/core/util/DataGenerator*</include>
buyingyi7f356c12012-10-07 00:23:17 +000057 </includes>
58 </configuration>
59 </execution>
buyingyi7f356c12012-10-07 00:23:17 +000060 <execution>
61 <id>patch</id>
62 <goals>
63 <goal>jar</goal>
64 </goals>
65 <phase>package</phase>
66 <configuration>
67 <classifier>patch</classifier>
68 <finalName>a-hadoop</finalName>
69 <includes>
buyingyib441fb12012-10-10 13:12:15 +000070 <include>**/org/apache/**</include>
buyingyi7f356c12012-10-07 00:23:17 +000071 </includes>
72 </configuration>
73 </execution>
74 </executions>
75 </plugin>
76 <plugin>
77 <groupId>org.apache.maven.plugins</groupId>
78 <artifactId>maven-compiler-plugin</artifactId>
79 <version>2.0.2</version>
80 <configuration>
81 <source>1.6</source>
82 <target>1.6</target>
83 </configuration>
84 </plugin>
85 <plugin>
86 <groupId>org.codehaus.mojo</groupId>
87 <artifactId>appassembler-maven-plugin</artifactId>
vinayakba8d545c2013-02-05 05:54:47 +000088 <version>1.3</version>
buyingyi7f356c12012-10-07 00:23:17 +000089 <executions>
90 <execution>
91 <configuration>
92 <programs>
93 <program>
94 <mainClass>org.apache.hadoop.util.RunJar</mainClass>
95 <name>pregelix-obselete</name>
96 </program>
97 </programs>
98 <repositoryLayout>flat</repositoryLayout>
99 <repositoryName>lib</repositoryName>
100 </configuration>
101 <phase>package</phase>
102 <goals>
103 <goal>assemble</goal>
104 </goals>
105 </execution>
106 </executions>
107 </plugin>
108 <plugin>
109 <artifactId>maven-assembly-plugin</artifactId>
110 <version>2.2-beta-5</version>
111 <executions>
112 <execution>
113 <configuration>
114 <descriptors>
115 <descriptor>src/main/assembly/binary-assembly.xml</descriptor>
116 </descriptors>
117 </configuration>
118 <phase>package</phase>
119 <goals>
120 <goal>attached</goal>
121 </goals>
122 </execution>
123 </executions>
124 </plugin>
125 <plugin>
126 <artifactId>maven-resources-plugin</artifactId>
127 <version>2.5</version>
128 <executions>
129 <execution>
130 <id>copy-scripts</id>
131 <!-- here the phase you need -->
132 <phase>package</phase>
133 <goals>
134 <goal>copy-resources</goal>
135 </goals>
136 <configuration>
137 <outputDirectory>target/appassembler/bin</outputDirectory>
138 <resources>
139 <resource>
140 <directory>src/main/resources/scripts</directory>
141 </resource>
142 </resources>
143 </configuration>
144 </execution>
145 <execution>
146 <id>copy-conf</id>
147 <!-- here the phase you need -->
148 <phase>package</phase>
149 <goals>
150 <goal>copy-resources</goal>
151 </goals>
152 <configuration>
153 <outputDirectory>target/appassembler/conf</outputDirectory>
154 <resources>
155 <resource>
156 <directory>src/main/resources/conf</directory>
157 </resource>
158 </resources>
159 </configuration>
160 </execution>
buyingyi202af412012-10-08 23:07:09 +0000161 <execution>
162 <id>copy-hadoop-patch</id>
163 <!-- here the phase you need -->
164 <phase>package</phase>
165 <goals>
166 <goal>copy-resources</goal>
167 </goals>
168 <configuration>
169 <outputDirectory>target/appassembler/lib</outputDirectory>
170 <resources>
171 <resource>
172 <directory>target</directory>
173 <includes>
174 <include>a-hadoop-patch.jar</include>
175 </includes>
176 </resource>
177 </resources>
178 </configuration>
179 </execution>
buyingyi7f356c12012-10-07 00:23:17 +0000180 </executions>
181 </plugin>
182 <plugin>
183 <groupId>org.apache.maven.plugins</groupId>
184 <artifactId>maven-surefire-plugin</artifactId>
185 <version>2.7.2</version>
186 <configuration>
187 <forkMode>pertest</forkMode>
buyingyi62598052012-10-22 19:55:10 +0000188 <argLine>-enableassertions -Xmx512m -XX:MaxPermSize=300m -Dfile.encoding=UTF-8
buyingyi7f356c12012-10-07 00:23:17 +0000189 -Djava.util.logging.config.file=src/test/resources/logging.properties</argLine>
190 <includes>
191 <include>**/*TestSuite.java</include>
192 <include>**/*Test.java</include>
193 </includes>
194 </configuration>
195 </plugin>
196 <plugin>
197 <artifactId>maven-clean-plugin</artifactId>
vinayakba8d545c2013-02-05 05:54:47 +0000198 <version>2.5</version>
buyingyi7f356c12012-10-07 00:23:17 +0000199 <configuration>
200 <filesets>
201 <fileset>
202 <directory>.</directory>
203 <includes>
204 <include>teststore*</include>
205 <include>edu*</include>
206 <include>actual*</include>
207 <include>build*</include>
208 <include>expect*</include>
209 <include>ClusterController*</include>
210 </includes>
211 </fileset>
212 </filesets>
213 </configuration>
214 </plugin>
215 </plugins>
216 </build>
217
218 <dependencies>
219 <dependency>
220 <groupId>junit</groupId>
221 <artifactId>junit</artifactId>
222 <version>4.8.1</version>
223 <scope>test</scope>
224 </dependency>
225 <dependency>
buyingyie7752502012-10-08 00:35:31 +0000226 <groupId>edu.uci.ics.hyracks</groupId>
buyingyi7f356c12012-10-07 00:23:17 +0000227 <artifactId>pregelix-api</artifactId>
vinayakb70c821c2012-10-29 15:46:12 +0000228 <version>0.2.3-SNAPSHOT</version>
buyingyi7f356c12012-10-07 00:23:17 +0000229 <type>jar</type>
230 <scope>compile</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-dataflow-std</artifactId>
vinayakb70c821c2012-10-29 15:46:12 +0000235 <version>0.2.3-SNAPSHOT</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</artifactId>
vinayakb70c821c2012-10-29 15:46:12 +0000242 <version>0.2.3-SNAPSHOT</version>
buyingyi7f356c12012-10-07 00:23:17 +0000243 <type>jar</type>
244 <scope>compile</scope>
245 </dependency>
246 <dependency>
247 <groupId>edu.uci.ics.hyracks</groupId>
248 <artifactId>hyracks-dataflow-std</artifactId>
vinayakb70c821c2012-10-29 15:46:12 +0000249 <version>0.2.3-SNAPSHOT</version>
buyingyi7f356c12012-10-07 00:23:17 +0000250 <type>jar</type>
251 <scope>compile</scope>
252 </dependency>
253 <dependency>
buyingyie7752502012-10-08 00:35:31 +0000254 <groupId>edu.uci.ics.hyracks</groupId>
buyingyi7f356c12012-10-07 00:23:17 +0000255 <artifactId>pregelix-runtime</artifactId>
vinayakb70c821c2012-10-29 15:46:12 +0000256 <version>0.2.3-SNAPSHOT</version>
buyingyi7f356c12012-10-07 00:23:17 +0000257 <type>jar</type>
258 <scope>compile</scope>
259 </dependency>
260 <dependency>
261 <groupId>edu.uci.ics.hyracks</groupId>
262 <artifactId>hyracks-api</artifactId>
vinayakb70c821c2012-10-29 15:46:12 +0000263 <version>0.2.3-SNAPSHOT</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-dataflow-common</artifactId>
vinayakb70c821c2012-10-29 15:46:12 +0000270 <version>0.2.3-SNAPSHOT</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>
buyingyi7f356c12012-10-07 00:23:17 +0000276 <artifactId>hyracks-data-std</artifactId>
vinayakb70c821c2012-10-29 15:46:12 +0000277 <version>0.2.3-SNAPSHOT</version>
buyingyi7f356c12012-10-07 00:23:17 +0000278 </dependency>
279 <dependency>
280 <groupId>org.apache.hadoop</groupId>
281 <artifactId>hadoop-core</artifactId>
282 <version>0.20.2</version>
283 <type>jar</type>
284 <scope>compile</scope>
285 </dependency>
286 <dependency>
287 <groupId>edu.uci.ics.hyracks</groupId>
288 <artifactId>hyracks-storage-am-common</artifactId>
vinayakb70c821c2012-10-29 15:46:12 +0000289 <version>0.2.3-SNAPSHOT</version>
buyingyi7f356c12012-10-07 00:23:17 +0000290 <type>jar</type>
291 <scope>compile</scope>
292 </dependency>
293 <dependency>
294 <groupId>edu.uci.ics.hyracks</groupId>
295 <artifactId>hyracks-storage-am-btree</artifactId>
vinayakb70c821c2012-10-29 15:46:12 +0000296 <version>0.2.3-SNAPSHOT</version>
buyingyi7f356c12012-10-07 00:23:17 +0000297 <type>jar</type>
298 <scope>compile</scope>
299 </dependency>
300 <dependency>
buyingyi7f356c12012-10-07 00:23:17 +0000301 <groupId>edu.uci.ics.hyracks</groupId>
302 <artifactId>hyracks-control-cc</artifactId>
vinayakb70c821c2012-10-29 15:46:12 +0000303 <version>0.2.3-SNAPSHOT</version>
buyingyi7f356c12012-10-07 00:23:17 +0000304 <type>jar</type>
305 <scope>compile</scope>
306 </dependency>
307 <dependency>
308 <groupId>edu.uci.ics.hyracks</groupId>
309 <artifactId>hyracks-control-nc</artifactId>
vinayakb70c821c2012-10-29 15:46:12 +0000310 <version>0.2.3-SNAPSHOT</version>
buyingyi7f356c12012-10-07 00:23:17 +0000311 <type>jar</type>
312 <scope>compile</scope>
313 </dependency>
314 <dependency>
315 <groupId>org.apache.hadoop</groupId>
316 <artifactId>hadoop-test</artifactId>
317 <version>0.20.2</version>
318 <type>jar</type>
319 <scope>compile</scope>
320 </dependency>
321 <dependency>
322 <groupId>com.kenai.nbpwr</groupId>
323 <artifactId>org-apache-commons-io</artifactId>
324 <version>1.3.1-201002241208</version>
325 <type>nbm</type>
326 <scope>test</scope>
327 </dependency>
328 <dependency>
329 <groupId>edu.uci.ics.hyracks.examples</groupId>
330 <artifactId>hyracks-integration-tests</artifactId>
buyingyi25c53e52013-01-14 23:12:21 +0000331 <version>0.2.3-SNAPSHOT</version>
buyingyi7f356c12012-10-07 00:23:17 +0000332 <scope>test</scope>
333 </dependency>
334 <dependency>
335 <groupId>com.sun.jersey</groupId>
336 <artifactId>jersey</artifactId>
337 <version>0.8-ea</version>
338 <type>jar</type>
339 <scope>test</scope>
340 </dependency>
341 <dependency>
342 <groupId>javax.servlet</groupId>
343 <artifactId>javax.servlet-api</artifactId>
344 <version>3.0.1</version>
345 <type>jar</type>
346 <scope>compile</scope>
347 </dependency>
348 <dependency>
349 <groupId>edu.uci.ics.hyracks</groupId>
buyingyi7f356c12012-10-07 00:23:17 +0000350 <artifactId>hyracks-ipc</artifactId>
vinayakb70c821c2012-10-29 15:46:12 +0000351 <version>0.2.3-SNAPSHOT</version>
buyingyi7f356c12012-10-07 00:23:17 +0000352 <type>jar</type>
353 <scope>compile</scope>
354 </dependency>
355 </dependencies>
356</project>