blob: 359f5bde3828d53738a0f68af05066b928fe97df [file] [log] [blame]
Till Westmann276bbc22013-06-05 18:56:27 -07001<!--
2 ! Copyright 2009-2013 by The Regents of the University of California
3 ! Licensed under the Apache License, Version 2.0 (the "License");
4 ! you may not use this file except in compliance with the License.
5 ! you may obtain a copy of the License from
6 !
7 ! http://www.apache.org/licenses/LICENSE-2.0
8 !
9 ! Unless required by applicable law or agreed to in writing, software
10 ! distributed under the License is distributed on an "AS IS" BASIS,
11 ! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 ! See the License for the specific language governing permissions and
13 ! limitations under the License.
14 !-->
vinayakb1ca34f42013-03-25 03:17:01 +000015<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 +000016 <modelVersion>4.0.0</modelVersion>
17 <artifactId>pregelix-core</artifactId>
18 <packaging>jar</packaging>
19 <name>pregelix-core</name>
20
21 <parent>
buyingyi202af412012-10-08 23:07:09 +000022 <groupId>edu.uci.ics.hyracks</groupId>
23 <artifactId>pregelix</artifactId>
Vinayak Borkar55e8f8c2013-06-05 23:16:43 -070024 <version>0.2.6</version>
buyingyi202af412012-10-08 23:07:09 +000025 </parent>
buyingyi7f356c12012-10-07 00:23:17 +000026
27
28 <properties>
29 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
30 </properties>
31
32 <build>
33 <plugins>
34 <plugin>
vinayakb4df31102013-04-06 18:28:48 +000035 <groupId>org.apache.maven.plugins</groupId>
buyingyi7f356c12012-10-07 00:23:17 +000036 <artifactId>maven-jar-plugin</artifactId>
vinayakb4df31102013-04-06 18:28:48 +000037 <version>2.3.2</version>
buyingyi7f356c12012-10-07 00:23:17 +000038 <executions>
39 <execution>
40 <id>balancer</id>
41 <goals>
42 <goal>jar</goal>
43 </goals>
44 <phase>package</phase>
45 <configuration>
46 <classifier>balancer</classifier>
47 <archive>
48 <manifest>
buyingyi4dcab6a2012-10-09 21:37:52 +000049 <MainClass>edu.uci.ics.pregelix.core.util.DataBalancer</MainClass>
buyingyi7f356c12012-10-07 00:23:17 +000050 </manifest>
51 </archive>
52 <includes>
buyingyi4dcab6a2012-10-09 21:37:52 +000053 <include>**/edu/uci/ics/pregelix/core/util/DataBalancer*</include>
buyingyi7f356c12012-10-07 00:23:17 +000054 </includes>
55 </configuration>
56 </execution>
buyingyi7f356c12012-10-07 00:23:17 +000057 <execution>
58 <id>generator</id>
59 <goals>
60 <goal>jar</goal>
61 </goals>
62 <phase>package</phase>
63 <configuration>
64 <classifier>generator</classifier>
65 <archive>
66 <manifest>
buyingyi4dcab6a2012-10-09 21:37:52 +000067 <MainClass>edu.uci.ics.pregelix.core.util.DataGenerator</MainClass>
buyingyi7f356c12012-10-07 00:23:17 +000068 </manifest>
69 </archive>
70 <includes>
buyingyi4dcab6a2012-10-09 21:37:52 +000071 <include>**/edu/uci/ics/pregelix/core/util/DataGenerator*</include>
buyingyi7f356c12012-10-07 00:23:17 +000072 </includes>
73 </configuration>
74 </execution>
75 </executions>
76 </plugin>
77 <plugin>
buyingyi7f356c12012-10-07 00:23:17 +000078 <groupId>org.apache.maven.plugins</groupId>
79 <artifactId>maven-compiler-plugin</artifactId>
80 <version>2.0.2</version>
81 <configuration>
buyingyi55df5212013-03-24 07:20:08 +000082 <source>1.7</source>
83 <target>1.7</target>
84 <fork>true</fork>
buyingyi7f356c12012-10-07 00:23:17 +000085 </configuration>
86 </plugin>
87 <plugin>
88 <groupId>org.codehaus.mojo</groupId>
89 <artifactId>appassembler-maven-plugin</artifactId>
vinayakb4df31102013-04-06 18:28:48 +000090 <version>1.3</version>
buyingyi7f356c12012-10-07 00:23:17 +000091 <executions>
92 <execution>
93 <configuration>
94 <programs>
95 <program>
96 <mainClass>org.apache.hadoop.util.RunJar</mainClass>
97 <name>pregelix-obselete</name>
98 </program>
99 </programs>
100 <repositoryLayout>flat</repositoryLayout>
101 <repositoryName>lib</repositoryName>
102 </configuration>
103 <phase>package</phase>
104 <goals>
105 <goal>assemble</goal>
106 </goals>
107 </execution>
108 </executions>
109 </plugin>
110 <plugin>
111 <artifactId>maven-assembly-plugin</artifactId>
112 <version>2.2-beta-5</version>
113 <executions>
114 <execution>
115 <configuration>
116 <descriptors>
117 <descriptor>src/main/assembly/binary-assembly.xml</descriptor>
118 </descriptors>
119 </configuration>
120 <phase>package</phase>
121 <goals>
122 <goal>attached</goal>
123 </goals>
124 </execution>
125 </executions>
126 </plugin>
127 <plugin>
128 <artifactId>maven-resources-plugin</artifactId>
129 <version>2.5</version>
130 <executions>
131 <execution>
132 <id>copy-scripts</id>
133 <!-- here the phase you need -->
134 <phase>package</phase>
135 <goals>
136 <goal>copy-resources</goal>
137 </goals>
138 <configuration>
139 <outputDirectory>target/appassembler/bin</outputDirectory>
140 <resources>
141 <resource>
142 <directory>src/main/resources/scripts</directory>
143 </resource>
144 </resources>
145 </configuration>
146 </execution>
147 <execution>
148 <id>copy-conf</id>
149 <!-- here the phase you need -->
150 <phase>package</phase>
151 <goals>
152 <goal>copy-resources</goal>
153 </goals>
154 <configuration>
155 <outputDirectory>target/appassembler/conf</outputDirectory>
156 <resources>
157 <resource>
158 <directory>src/main/resources/conf</directory>
159 </resource>
160 </resources>
161 </configuration>
162 </execution>
163 </executions>
164 </plugin>
165 <plugin>
166 <groupId>org.apache.maven.plugins</groupId>
167 <artifactId>maven-surefire-plugin</artifactId>
168 <version>2.7.2</version>
169 <configuration>
170 <forkMode>pertest</forkMode>
buyingyi55df5212013-03-24 07:20:08 +0000171 <argLine>-enableassertions -Xmx512m -XX:MaxPermSize=300m
172 -Dfile.encoding=UTF-8
buyingyi7f356c12012-10-07 00:23:17 +0000173 -Djava.util.logging.config.file=src/test/resources/logging.properties</argLine>
174 <includes>
175 <include>**/*TestSuite.java</include>
176 <include>**/*Test.java</include>
177 </includes>
178 </configuration>
179 </plugin>
180 <plugin>
181 <artifactId>maven-clean-plugin</artifactId>
vinayakb4df31102013-04-06 18:28:48 +0000182 <version>2.4.1</version>
buyingyi7f356c12012-10-07 00:23:17 +0000183 <configuration>
184 <filesets>
185 <fileset>
186 <directory>.</directory>
187 <includes>
188 <include>teststore*</include>
189 <include>edu*</include>
190 <include>actual*</include>
191 <include>build*</include>
192 <include>expect*</include>
193 <include>ClusterController*</include>
194 </includes>
195 </fileset>
196 </filesets>
197 </configuration>
198 </plugin>
199 </plugins>
200 </build>
201
202 <dependencies>
203 <dependency>
204 <groupId>junit</groupId>
205 <artifactId>junit</artifactId>
206 <version>4.8.1</version>
207 <scope>test</scope>
208 </dependency>
209 <dependency>
buyingyie7752502012-10-08 00:35:31 +0000210 <groupId>edu.uci.ics.hyracks</groupId>
buyingyi7f356c12012-10-07 00:23:17 +0000211 <artifactId>pregelix-api</artifactId>
Vinayak Borkar55e8f8c2013-06-05 23:16:43 -0700212 <version>0.2.6</version>
buyingyi7f356c12012-10-07 00:23:17 +0000213 <type>jar</type>
214 <scope>compile</scope>
215 </dependency>
216 <dependency>
buyingyie7752502012-10-08 00:35:31 +0000217 <groupId>edu.uci.ics.hyracks</groupId>
buyingyi7f356c12012-10-07 00:23:17 +0000218 <artifactId>pregelix-dataflow-std</artifactId>
Vinayak Borkar55e8f8c2013-06-05 23:16:43 -0700219 <version>0.2.6</version>
buyingyi7f356c12012-10-07 00:23:17 +0000220 <type>jar</type>
221 <scope>compile</scope>
222 </dependency>
223 <dependency>
buyingyie7752502012-10-08 00:35:31 +0000224 <groupId>edu.uci.ics.hyracks</groupId>
buyingyi7f356c12012-10-07 00:23:17 +0000225 <artifactId>pregelix-dataflow</artifactId>
Vinayak Borkar55e8f8c2013-06-05 23:16:43 -0700226 <version>0.2.6</version>
buyingyi7f356c12012-10-07 00:23:17 +0000227 <type>jar</type>
228 <scope>compile</scope>
229 </dependency>
230 <dependency>
231 <groupId>edu.uci.ics.hyracks</groupId>
232 <artifactId>hyracks-dataflow-std</artifactId>
Vinayak Borkar55e8f8c2013-06-05 23:16:43 -0700233 <version>0.2.6</version>
buyingyi7f356c12012-10-07 00:23:17 +0000234 <type>jar</type>
235 <scope>compile</scope>
236 </dependency>
237 <dependency>
buyingyie7752502012-10-08 00:35:31 +0000238 <groupId>edu.uci.ics.hyracks</groupId>
buyingyi7f356c12012-10-07 00:23:17 +0000239 <artifactId>pregelix-runtime</artifactId>
Vinayak Borkar55e8f8c2013-06-05 23:16:43 -0700240 <version>0.2.6</version>
buyingyi7f356c12012-10-07 00:23:17 +0000241 <type>jar</type>
242 <scope>compile</scope>
243 </dependency>
244 <dependency>
245 <groupId>edu.uci.ics.hyracks</groupId>
246 <artifactId>hyracks-api</artifactId>
Vinayak Borkar55e8f8c2013-06-05 23:16:43 -0700247 <version>0.2.6</version>
buyingyi7f356c12012-10-07 00:23:17 +0000248 <type>jar</type>
249 <scope>compile</scope>
250 </dependency>
251 <dependency>
252 <groupId>edu.uci.ics.hyracks</groupId>
253 <artifactId>hyracks-dataflow-common</artifactId>
Vinayak Borkar55e8f8c2013-06-05 23:16:43 -0700254 <version>0.2.6</version>
buyingyi7f356c12012-10-07 00:23:17 +0000255 <type>jar</type>
256 <scope>compile</scope>
257 </dependency>
258 <dependency>
259 <groupId>edu.uci.ics.hyracks</groupId>
buyingyi7f356c12012-10-07 00:23:17 +0000260 <artifactId>hyracks-data-std</artifactId>
Vinayak Borkar55e8f8c2013-06-05 23:16:43 -0700261 <version>0.2.6</version>
buyingyi7f356c12012-10-07 00:23:17 +0000262 <type>jar</type>
263 <scope>compile</scope>
264 </dependency>
265 <dependency>
266 <groupId>edu.uci.ics.hyracks</groupId>
267 <artifactId>hyracks-storage-am-common</artifactId>
Vinayak Borkar55e8f8c2013-06-05 23:16:43 -0700268 <version>0.2.6</version>
buyingyi7f356c12012-10-07 00:23:17 +0000269 <type>jar</type>
270 <scope>compile</scope>
271 </dependency>
272 <dependency>
273 <groupId>edu.uci.ics.hyracks</groupId>
274 <artifactId>hyracks-storage-am-btree</artifactId>
Vinayak Borkar55e8f8c2013-06-05 23:16:43 -0700275 <version>0.2.6</version>
buyingyi7f356c12012-10-07 00:23:17 +0000276 <type>jar</type>
277 <scope>compile</scope>
278 </dependency>
279 <dependency>
buyingyi7f356c12012-10-07 00:23:17 +0000280 <groupId>edu.uci.ics.hyracks</groupId>
281 <artifactId>hyracks-control-cc</artifactId>
Vinayak Borkar55e8f8c2013-06-05 23:16:43 -0700282 <version>0.2.6</version>
buyingyi7f356c12012-10-07 00:23:17 +0000283 <type>jar</type>
284 <scope>compile</scope>
285 </dependency>
286 <dependency>
287 <groupId>edu.uci.ics.hyracks</groupId>
288 <artifactId>hyracks-control-nc</artifactId>
Vinayak Borkar55e8f8c2013-06-05 23:16:43 -0700289 <version>0.2.6</version>
buyingyi7f356c12012-10-07 00:23:17 +0000290 <type>jar</type>
291 <scope>compile</scope>
292 </dependency>
293 <dependency>
buyingyi7f356c12012-10-07 00:23:17 +0000294 <groupId>com.kenai.nbpwr</groupId>
295 <artifactId>org-apache-commons-io</artifactId>
296 <version>1.3.1-201002241208</version>
297 <type>nbm</type>
298 <scope>test</scope>
299 </dependency>
300 <dependency>
301 <groupId>edu.uci.ics.hyracks.examples</groupId>
302 <artifactId>hyracks-integration-tests</artifactId>
Vinayak Borkar55e8f8c2013-06-05 23:16:43 -0700303 <version>0.2.6</version>
buyingyi7f356c12012-10-07 00:23:17 +0000304 <scope>test</scope>
305 </dependency>
306 <dependency>
307 <groupId>com.sun.jersey</groupId>
308 <artifactId>jersey</artifactId>
309 <version>0.8-ea</version>
310 <type>jar</type>
311 <scope>test</scope>
312 </dependency>
313 <dependency>
314 <groupId>javax.servlet</groupId>
315 <artifactId>javax.servlet-api</artifactId>
316 <version>3.0.1</version>
317 <type>jar</type>
318 <scope>compile</scope>
319 </dependency>
320 <dependency>
321 <groupId>edu.uci.ics.hyracks</groupId>
buyingyi7f356c12012-10-07 00:23:17 +0000322 <artifactId>hyracks-ipc</artifactId>
Vinayak Borkar55e8f8c2013-06-05 23:16:43 -0700323 <version>0.2.6</version>
buyingyi7f356c12012-10-07 00:23:17 +0000324 <type>jar</type>
325 <scope>compile</scope>
326 </dependency>
327 </dependencies>
328</project>