blob: cd4dbdb6dcd8a684d57d81ea323e23306a3e5c53 [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>
buyingyib441fb12012-10-10 13:12:15 +000080 <include>**/org/apache/**</include>
buyingyi7f356c12012-10-07 00:23:17 +000081 </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>
buyingyi62598052012-10-22 19:55:10 +0000197 <argLine>-enableassertions -Xmx512m -XX:MaxPermSize=300m -Dfile.encoding=UTF-8
buyingyi7f356c12012-10-07 00:23:17 +0000198 -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>
buyingyi7f356c12012-10-07 00:23:17 +0000284 <artifactId>hyracks-data-std</artifactId>
285 <version>0.2.2-SNAPSHOT</version>
286 </dependency>
287 <dependency>
288 <groupId>org.apache.hadoop</groupId>
289 <artifactId>hadoop-core</artifactId>
290 <version>0.20.2</version>
291 <type>jar</type>
292 <scope>compile</scope>
293 </dependency>
294 <dependency>
295 <groupId>edu.uci.ics.hyracks</groupId>
296 <artifactId>hyracks-storage-am-common</artifactId>
297 <version>0.2.2-SNAPSHOT</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-btree</artifactId>
304 <version>0.2.2-SNAPSHOT</version>
305 <type>jar</type>
306 <scope>compile</scope>
307 </dependency>
308 <dependency>
buyingyi7f356c12012-10-07 00:23:17 +0000309 <groupId>edu.uci.ics.hyracks</groupId>
310 <artifactId>hyracks-control-cc</artifactId>
311 <version>0.2.2-SNAPSHOT</version>
312 <type>jar</type>
313 <scope>compile</scope>
314 </dependency>
315 <dependency>
316 <groupId>edu.uci.ics.hyracks</groupId>
317 <artifactId>hyracks-control-nc</artifactId>
318 <version>0.2.2-SNAPSHOT</version>
319 <type>jar</type>
320 <scope>compile</scope>
321 </dependency>
322 <dependency>
323 <groupId>org.apache.hadoop</groupId>
324 <artifactId>hadoop-test</artifactId>
325 <version>0.20.2</version>
326 <type>jar</type>
327 <scope>compile</scope>
328 </dependency>
329 <dependency>
330 <groupId>com.kenai.nbpwr</groupId>
331 <artifactId>org-apache-commons-io</artifactId>
332 <version>1.3.1-201002241208</version>
333 <type>nbm</type>
334 <scope>test</scope>
335 </dependency>
336 <dependency>
337 <groupId>edu.uci.ics.hyracks.examples</groupId>
338 <artifactId>hyracks-integration-tests</artifactId>
339 <version>0.2.1</version>
340 <scope>test</scope>
341 </dependency>
342 <dependency>
343 <groupId>com.sun.jersey</groupId>
344 <artifactId>jersey</artifactId>
345 <version>0.8-ea</version>
346 <type>jar</type>
347 <scope>test</scope>
348 </dependency>
349 <dependency>
350 <groupId>javax.servlet</groupId>
351 <artifactId>javax.servlet-api</artifactId>
352 <version>3.0.1</version>
353 <type>jar</type>
354 <scope>compile</scope>
355 </dependency>
356 <dependency>
357 <groupId>edu.uci.ics.hyracks</groupId>
buyingyi7f356c12012-10-07 00:23:17 +0000358 <artifactId>hyracks-ipc</artifactId>
359 <version>0.2.2-SNAPSHOT</version>
360 <type>jar</type>
361 <scope>compile</scope>
362 </dependency>
363 </dependencies>
364</project>