blob: 44e954785e8a48e5593e2b5c84db6accb146962c [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>
vinayakb84807932012-11-20 02:31:24 +000021 <groupId>org.apache.maven.plugins</groupId>
buyingyi7f356c12012-10-07 00:23:17 +000022 <artifactId>maven-jar-plugin</artifactId>
vinayakb84807932012-11-20 02:31:24 +000023 <version>2.3.2</version>
buyingyi7f356c12012-10-07 00:23:17 +000024 <executions>
25 <execution>
26 <id>balancer</id>
27 <goals>
28 <goal>jar</goal>
29 </goals>
30 <phase>package</phase>
31 <configuration>
32 <classifier>balancer</classifier>
33 <archive>
34 <manifest>
buyingyi4dcab6a2012-10-09 21:37:52 +000035 <MainClass>edu.uci.ics.pregelix.core.util.DataBalancer</MainClass>
buyingyi7f356c12012-10-07 00:23:17 +000036 </manifest>
37 </archive>
38 <includes>
buyingyi4dcab6a2012-10-09 21:37:52 +000039 <include>**/edu/uci/ics/pregelix/core/util/DataBalancer*</include>
buyingyi7f356c12012-10-07 00:23:17 +000040 </includes>
41 </configuration>
42 </execution>
buyingyi7f356c12012-10-07 00:23:17 +000043 <execution>
44 <id>generator</id>
45 <goals>
46 <goal>jar</goal>
47 </goals>
48 <phase>package</phase>
49 <configuration>
50 <classifier>generator</classifier>
51 <archive>
52 <manifest>
buyingyi4dcab6a2012-10-09 21:37:52 +000053 <MainClass>edu.uci.ics.pregelix.core.util.DataGenerator</MainClass>
buyingyi7f356c12012-10-07 00:23:17 +000054 </manifest>
55 </archive>
56 <includes>
buyingyi4dcab6a2012-10-09 21:37:52 +000057 <include>**/edu/uci/ics/pregelix/core/util/DataGenerator*</include>
buyingyi7f356c12012-10-07 00:23:17 +000058 </includes>
59 </configuration>
60 </execution>
buyingyi7f356c12012-10-07 00:23:17 +000061 <execution>
62 <id>patch</id>
63 <goals>
64 <goal>jar</goal>
65 </goals>
66 <phase>package</phase>
67 <configuration>
68 <classifier>patch</classifier>
69 <finalName>a-hadoop</finalName>
70 <includes>
buyingyib441fb12012-10-10 13:12:15 +000071 <include>**/org/apache/**</include>
buyingyi7f356c12012-10-07 00:23:17 +000072 </includes>
73 </configuration>
74 </execution>
75 </executions>
76 </plugin>
77 <plugin>
78 <groupId>org.apache.maven.plugins</groupId>
79 <artifactId>maven-compiler-plugin</artifactId>
80 <version>2.0.2</version>
81 <configuration>
82 <source>1.6</source>
83 <target>1.6</target>
84 </configuration>
85 </plugin>
86 <plugin>
87 <groupId>org.codehaus.mojo</groupId>
88 <artifactId>appassembler-maven-plugin</artifactId>
vinayakb84807932012-11-20 02:31:24 +000089 <version>1.3</version>
buyingyi7f356c12012-10-07 00:23:17 +000090 <executions>
91 <execution>
92 <configuration>
93 <programs>
94 <program>
95 <mainClass>org.apache.hadoop.util.RunJar</mainClass>
96 <name>pregelix-obselete</name>
97 </program>
98 </programs>
99 <repositoryLayout>flat</repositoryLayout>
100 <repositoryName>lib</repositoryName>
101 </configuration>
102 <phase>package</phase>
103 <goals>
104 <goal>assemble</goal>
105 </goals>
106 </execution>
107 </executions>
108 </plugin>
109 <plugin>
110 <artifactId>maven-assembly-plugin</artifactId>
111 <version>2.2-beta-5</version>
112 <executions>
113 <execution>
114 <configuration>
115 <descriptors>
116 <descriptor>src/main/assembly/binary-assembly.xml</descriptor>
117 </descriptors>
118 </configuration>
119 <phase>package</phase>
120 <goals>
121 <goal>attached</goal>
122 </goals>
123 </execution>
124 </executions>
125 </plugin>
126 <plugin>
127 <artifactId>maven-resources-plugin</artifactId>
128 <version>2.5</version>
129 <executions>
130 <execution>
131 <id>copy-scripts</id>
132 <!-- here the phase you need -->
133 <phase>package</phase>
134 <goals>
135 <goal>copy-resources</goal>
136 </goals>
137 <configuration>
138 <outputDirectory>target/appassembler/bin</outputDirectory>
139 <resources>
140 <resource>
141 <directory>src/main/resources/scripts</directory>
142 </resource>
143 </resources>
144 </configuration>
145 </execution>
146 <execution>
147 <id>copy-conf</id>
148 <!-- here the phase you need -->
149 <phase>package</phase>
150 <goals>
151 <goal>copy-resources</goal>
152 </goals>
153 <configuration>
154 <outputDirectory>target/appassembler/conf</outputDirectory>
155 <resources>
156 <resource>
157 <directory>src/main/resources/conf</directory>
158 </resource>
159 </resources>
160 </configuration>
161 </execution>
buyingyi202af412012-10-08 23:07:09 +0000162 <execution>
163 <id>copy-hadoop-patch</id>
164 <!-- here the phase you need -->
165 <phase>package</phase>
166 <goals>
167 <goal>copy-resources</goal>
168 </goals>
169 <configuration>
170 <outputDirectory>target/appassembler/lib</outputDirectory>
171 <resources>
172 <resource>
173 <directory>target</directory>
174 <includes>
175 <include>a-hadoop-patch.jar</include>
176 </includes>
177 </resource>
178 </resources>
179 </configuration>
180 </execution>
buyingyi7f356c12012-10-07 00:23:17 +0000181 </executions>
182 </plugin>
183 <plugin>
184 <groupId>org.apache.maven.plugins</groupId>
185 <artifactId>maven-surefire-plugin</artifactId>
186 <version>2.7.2</version>
187 <configuration>
188 <forkMode>pertest</forkMode>
buyingyi62598052012-10-22 19:55:10 +0000189 <argLine>-enableassertions -Xmx512m -XX:MaxPermSize=300m -Dfile.encoding=UTF-8
buyingyi7f356c12012-10-07 00:23:17 +0000190 -Djava.util.logging.config.file=src/test/resources/logging.properties</argLine>
191 <includes>
192 <include>**/*TestSuite.java</include>
193 <include>**/*Test.java</include>
194 </includes>
195 </configuration>
196 </plugin>
197 <plugin>
198 <artifactId>maven-clean-plugin</artifactId>
vinayakb84807932012-11-20 02:31:24 +0000199 <version>2.4.1</version>
buyingyi7f356c12012-10-07 00:23:17 +0000200 <configuration>
201 <filesets>
202 <fileset>
203 <directory>.</directory>
204 <includes>
205 <include>teststore*</include>
206 <include>edu*</include>
207 <include>actual*</include>
208 <include>build*</include>
209 <include>expect*</include>
210 <include>ClusterController*</include>
211 </includes>
212 </fileset>
213 </filesets>
214 </configuration>
215 </plugin>
216 </plugins>
217 </build>
218
219 <dependencies>
220 <dependency>
221 <groupId>junit</groupId>
222 <artifactId>junit</artifactId>
223 <version>4.8.1</version>
224 <scope>test</scope>
225 </dependency>
226 <dependency>
buyingyie7752502012-10-08 00:35:31 +0000227 <groupId>edu.uci.ics.hyracks</groupId>
buyingyi7f356c12012-10-07 00:23:17 +0000228 <artifactId>pregelix-api</artifactId>
vinayakb70c821c2012-10-29 15:46:12 +0000229 <version>0.2.3-SNAPSHOT</version>
buyingyi7f356c12012-10-07 00:23:17 +0000230 <type>jar</type>
231 <scope>compile</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-dataflow-std</artifactId>
vinayakb70c821c2012-10-29 15:46:12 +0000236 <version>0.2.3-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</artifactId>
vinayakb70c821c2012-10-29 15:46:12 +0000243 <version>0.2.3-SNAPSHOT</version>
buyingyi7f356c12012-10-07 00:23:17 +0000244 <type>jar</type>
245 <scope>compile</scope>
246 </dependency>
247 <dependency>
248 <groupId>edu.uci.ics.hyracks</groupId>
249 <artifactId>hyracks-dataflow-std</artifactId>
vinayakb70c821c2012-10-29 15:46:12 +0000250 <version>0.2.3-SNAPSHOT</version>
buyingyi7f356c12012-10-07 00:23:17 +0000251 <type>jar</type>
252 <scope>compile</scope>
253 </dependency>
254 <dependency>
buyingyie7752502012-10-08 00:35:31 +0000255 <groupId>edu.uci.ics.hyracks</groupId>
buyingyi7f356c12012-10-07 00:23:17 +0000256 <artifactId>pregelix-runtime</artifactId>
vinayakb70c821c2012-10-29 15:46:12 +0000257 <version>0.2.3-SNAPSHOT</version>
buyingyi7f356c12012-10-07 00:23:17 +0000258 <type>jar</type>
259 <scope>compile</scope>
260 </dependency>
261 <dependency>
262 <groupId>edu.uci.ics.hyracks</groupId>
263 <artifactId>hyracks-api</artifactId>
vinayakb70c821c2012-10-29 15:46:12 +0000264 <version>0.2.3-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-dataflow-common</artifactId>
vinayakb70c821c2012-10-29 15:46:12 +0000271 <version>0.2.3-SNAPSHOT</version>
buyingyi7f356c12012-10-07 00:23:17 +0000272 <type>jar</type>
273 <scope>compile</scope>
274 </dependency>
275 <dependency>
276 <groupId>edu.uci.ics.hyracks</groupId>
buyingyi7f356c12012-10-07 00:23:17 +0000277 <artifactId>hyracks-data-std</artifactId>
vinayakb70c821c2012-10-29 15:46:12 +0000278 <version>0.2.3-SNAPSHOT</version>
buyingyi7f356c12012-10-07 00:23:17 +0000279 </dependency>
280 <dependency>
281 <groupId>org.apache.hadoop</groupId>
282 <artifactId>hadoop-core</artifactId>
283 <version>0.20.2</version>
284 <type>jar</type>
285 <scope>compile</scope>
286 </dependency>
287 <dependency>
288 <groupId>edu.uci.ics.hyracks</groupId>
289 <artifactId>hyracks-storage-am-common</artifactId>
vinayakb70c821c2012-10-29 15:46:12 +0000290 <version>0.2.3-SNAPSHOT</version>
buyingyi7f356c12012-10-07 00:23:17 +0000291 <type>jar</type>
292 <scope>compile</scope>
293 </dependency>
294 <dependency>
295 <groupId>edu.uci.ics.hyracks</groupId>
296 <artifactId>hyracks-storage-am-btree</artifactId>
vinayakb70c821c2012-10-29 15:46:12 +0000297 <version>0.2.3-SNAPSHOT</version>
buyingyi7f356c12012-10-07 00:23:17 +0000298 <type>jar</type>
299 <scope>compile</scope>
300 </dependency>
301 <dependency>
buyingyi7f356c12012-10-07 00:23:17 +0000302 <groupId>edu.uci.ics.hyracks</groupId>
303 <artifactId>hyracks-control-cc</artifactId>
vinayakb70c821c2012-10-29 15:46:12 +0000304 <version>0.2.3-SNAPSHOT</version>
buyingyi7f356c12012-10-07 00:23:17 +0000305 <type>jar</type>
306 <scope>compile</scope>
307 </dependency>
308 <dependency>
309 <groupId>edu.uci.ics.hyracks</groupId>
310 <artifactId>hyracks-control-nc</artifactId>
vinayakb70c821c2012-10-29 15:46:12 +0000311 <version>0.2.3-SNAPSHOT</version>
buyingyi7f356c12012-10-07 00:23:17 +0000312 <type>jar</type>
313 <scope>compile</scope>
314 </dependency>
315 <dependency>
316 <groupId>org.apache.hadoop</groupId>
317 <artifactId>hadoop-test</artifactId>
318 <version>0.20.2</version>
319 <type>jar</type>
320 <scope>compile</scope>
321 </dependency>
322 <dependency>
323 <groupId>com.kenai.nbpwr</groupId>
324 <artifactId>org-apache-commons-io</artifactId>
325 <version>1.3.1-201002241208</version>
326 <type>nbm</type>
327 <scope>test</scope>
328 </dependency>
329 <dependency>
330 <groupId>edu.uci.ics.hyracks.examples</groupId>
331 <artifactId>hyracks-integration-tests</artifactId>
buyingyi25c53e52013-01-14 23:12:21 +0000332 <version>0.2.3-SNAPSHOT</version>
buyingyi7f356c12012-10-07 00:23:17 +0000333 <scope>test</scope>
334 </dependency>
335 <dependency>
336 <groupId>com.sun.jersey</groupId>
337 <artifactId>jersey</artifactId>
338 <version>0.8-ea</version>
339 <type>jar</type>
340 <scope>test</scope>
341 </dependency>
342 <dependency>
343 <groupId>javax.servlet</groupId>
344 <artifactId>javax.servlet-api</artifactId>
345 <version>3.0.1</version>
346 <type>jar</type>
347 <scope>compile</scope>
348 </dependency>
349 <dependency>
350 <groupId>edu.uci.ics.hyracks</groupId>
buyingyi7f356c12012-10-07 00:23:17 +0000351 <artifactId>hyracks-ipc</artifactId>
vinayakb70c821c2012-10-29 15:46:12 +0000352 <version>0.2.3-SNAPSHOT</version>
buyingyi7f356c12012-10-07 00:23:17 +0000353 <type>jar</type>
354 <scope>compile</scope>
355 </dependency>
356 </dependencies>
357</project>