blob: 8e85a9549562205336d8171a657ad4cb7d4c62e2 [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>
9 <groupId>edu.uci.ics.pregelix</groupId>
10 <artifactId>pregelix</artifactId>
11 <version>0.0.1-SNAPSHOT</version>
12 </parent>
13
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>
34 <MainClass>edu.uci.ics.hyracks.giraph.util.DataBalancer</MainClass>
35 </manifest>
36 </archive>
37 <includes>
38 <include>**/uci/ics/hyracks/giraph/util/DataBalancer*</include>
39 </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>
57 <MainClass>edu.uci.ics.hyracks.giraph.util.DataGenerator</MainClass>
58 </manifest>
59 </archive>
60 <includes>
61 <include>**/uci/ics/hyracks/giraph/util/DataGenerator*</include>
62 </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>
170 </executions>
171 </plugin>
172 <plugin>
173 <groupId>org.apache.maven.plugins</groupId>
174 <artifactId>maven-surefire-plugin</artifactId>
175 <version>2.7.2</version>
176 <configuration>
177 <forkMode>pertest</forkMode>
178 <argLine>-enableassertions -Xmx2047m -Dfile.encoding=UTF-8
179 -Djava.util.logging.config.file=src/test/resources/logging.properties</argLine>
180 <includes>
181 <include>**/*TestSuite.java</include>
182 <include>**/*Test.java</include>
183 </includes>
184 </configuration>
185 </plugin>
186 <plugin>
187 <artifactId>maven-clean-plugin</artifactId>
188 <configuration>
189 <filesets>
190 <fileset>
191 <directory>.</directory>
192 <includes>
193 <include>teststore*</include>
194 <include>edu*</include>
195 <include>actual*</include>
196 <include>build*</include>
197 <include>expect*</include>
198 <include>ClusterController*</include>
199 </includes>
200 </fileset>
201 </filesets>
202 </configuration>
203 </plugin>
204 </plugins>
205 </build>
206
207 <dependencies>
208 <dependency>
209 <groupId>junit</groupId>
210 <artifactId>junit</artifactId>
211 <version>4.8.1</version>
212 <scope>test</scope>
213 </dependency>
214 <dependency>
215 <groupId>edu.uci.ics.pregelix</groupId>
216 <artifactId>pregelix-api</artifactId>
217 <version>0.0.1-SNAPSHOT</version>
218 <type>jar</type>
219 <scope>compile</scope>
220 </dependency>
221 <dependency>
222 <groupId>edu.uci.ics.pregelix</groupId>
223 <artifactId>pregelix-dataflow-std</artifactId>
224 <version>0.0.1-SNAPSHOT</version>
225 <type>jar</type>
226 <scope>compile</scope>
227 </dependency>
228 <dependency>
229 <groupId>edu.uci.ics.pregelix</groupId>
230 <artifactId>pregelix-dataflow</artifactId>
231 <version>0.0.1-SNAPSHOT</version>
232 <type>jar</type>
233 <scope>compile</scope>
234 </dependency>
235 <dependency>
236 <groupId>edu.uci.ics.hyracks</groupId>
237 <artifactId>hyracks-dataflow-std</artifactId>
238 <version>0.2.2-SNAPSHOT</version>
239 <type>jar</type>
240 <scope>compile</scope>
241 </dependency>
242 <dependency>
243 <groupId>edu.uci.ics.pregelix</groupId>
244 <artifactId>pregelix-runtime</artifactId>
245 <version>0.0.1-SNAPSHOT</version>
246 <type>jar</type>
247 <scope>compile</scope>
248 </dependency>
249 <dependency>
250 <groupId>edu.uci.ics.hyracks</groupId>
251 <artifactId>hyracks-api</artifactId>
252 <version>0.2.2-SNAPSHOT</version>
253 <type>jar</type>
254 <scope>compile</scope>
255 </dependency>
256 <dependency>
257 <groupId>edu.uci.ics.hyracks</groupId>
258 <artifactId>hyracks-dataflow-common</artifactId>
259 <version>0.2.2-SNAPSHOT</version>
260 <type>jar</type>
261 <scope>compile</scope>
262 </dependency>
263 <dependency>
264 <groupId>edu.uci.ics.hyracks</groupId>
265 <artifactId>hyracks-dataflow-hadoop</artifactId>
266 <version>0.2.2-SNAPSHOT</version>
267 <type>jar</type>
268 <scope>compile</scope>
269 </dependency>
270 <dependency>
271 <groupId>edu.uci.ics.hyracks</groupId>
272 <artifactId>hyracks-data-std</artifactId>
273 <version>0.2.2-SNAPSHOT</version>
274 </dependency>
275 <dependency>
276 <groupId>org.apache.hadoop</groupId>
277 <artifactId>hadoop-core</artifactId>
278 <version>0.20.2</version>
279 <type>jar</type>
280 <scope>compile</scope>
281 </dependency>
282 <dependency>
283 <groupId>edu.uci.ics.hyracks</groupId>
284 <artifactId>hyracks-storage-am-common</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-storage-am-btree</artifactId>
292 <version>0.2.2-SNAPSHOT</version>
293 <type>jar</type>
294 <scope>compile</scope>
295 </dependency>
296 <dependency>
297 <groupId>edu.uci.ics.hyracks.examples.btree</groupId>
298 <artifactId>btreehelper</artifactId>
299 <version>0.2.2-SNAPSHOT</version>
300 <type>jar</type>
301 <scope>compile</scope>
302 </dependency>
303 <dependency>
304 <groupId>edu.uci.ics.hyracks</groupId>
305 <artifactId>hyracks-control-cc</artifactId>
306 <version>0.2.2-SNAPSHOT</version>
307 <type>jar</type>
308 <scope>compile</scope>
309 </dependency>
310 <dependency>
311 <groupId>edu.uci.ics.hyracks</groupId>
312 <artifactId>hyracks-control-nc</artifactId>
313 <version>0.2.2-SNAPSHOT</version>
314 <type>jar</type>
315 <scope>compile</scope>
316 </dependency>
317 <dependency>
318 <groupId>org.apache.hadoop</groupId>
319 <artifactId>hadoop-test</artifactId>
320 <version>0.20.2</version>
321 <type>jar</type>
322 <scope>compile</scope>
323 </dependency>
324 <dependency>
325 <groupId>com.kenai.nbpwr</groupId>
326 <artifactId>org-apache-commons-io</artifactId>
327 <version>1.3.1-201002241208</version>
328 <type>nbm</type>
329 <scope>test</scope>
330 </dependency>
331 <dependency>
332 <groupId>edu.uci.ics.hyracks.examples</groupId>
333 <artifactId>hyracks-integration-tests</artifactId>
334 <version>0.2.1</version>
335 <scope>test</scope>
336 </dependency>
337 <dependency>
338 <groupId>com.sun.jersey</groupId>
339 <artifactId>jersey</artifactId>
340 <version>0.8-ea</version>
341 <type>jar</type>
342 <scope>test</scope>
343 </dependency>
344 <dependency>
345 <groupId>javax.servlet</groupId>
346 <artifactId>javax.servlet-api</artifactId>
347 <version>3.0.1</version>
348 <type>jar</type>
349 <scope>compile</scope>
350 </dependency>
351 <dependency>
352 <groupId>edu.uci.ics.hyracks</groupId>
353 <artifactId>hyracks-hadoop-compat</artifactId>
354 <version>0.2.2-SNAPSHOT</version>
355 <type>jar</type>
356 <scope>compile</scope>
357 </dependency>
358 <dependency>
359 <groupId>edu.uci.ics.hyracks</groupId>
360 <artifactId>hyracks-ipc</artifactId>
361 <version>0.2.2-SNAPSHOT</version>
362 <type>jar</type>
363 <scope>compile</scope>
364 </dependency>
365 </dependencies>
366</project>