Till Westmann | 276bbc2 | 2013-06-05 18:56:27 -0700 | [diff] [blame] | 1 | <!-- |
| 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 | !--> |
vinayakb | 1ca34f4 | 2013-03-25 03:17:01 +0000 | [diff] [blame] | 15 | <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"> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 16 | <modelVersion>4.0.0</modelVersion> |
| 17 | <artifactId>pregelix-core</artifactId> |
| 18 | <packaging>jar</packaging> |
| 19 | <name>pregelix-core</name> |
| 20 | |
| 21 | <parent> |
buyingyi | 202af41 | 2012-10-08 23:07:09 +0000 | [diff] [blame] | 22 | <groupId>edu.uci.ics.hyracks</groupId> |
| 23 | <artifactId>pregelix</artifactId> |
buyingyi | 0f63d8b | 2013-07-22 11:33:10 -0700 | [diff] [blame] | 24 | <version>0.2.10-SNAPSHOT</version> |
buyingyi | 202af41 | 2012-10-08 23:07:09 +0000 | [diff] [blame] | 25 | </parent> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 26 | |
| 27 | |
| 28 | <properties> |
| 29 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 30 | </properties> |
| 31 | |
| 32 | <build> |
| 33 | <plugins> |
| 34 | <plugin> |
vinayakb | 4df3110 | 2013-04-06 18:28:48 +0000 | [diff] [blame] | 35 | <groupId>org.apache.maven.plugins</groupId> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 36 | <artifactId>maven-jar-plugin</artifactId> |
vinayakb | 4df3110 | 2013-04-06 18:28:48 +0000 | [diff] [blame] | 37 | <version>2.3.2</version> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 38 | <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> |
buyingyi | 4dcab6a | 2012-10-09 21:37:52 +0000 | [diff] [blame] | 49 | <MainClass>edu.uci.ics.pregelix.core.util.DataBalancer</MainClass> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 50 | </manifest> |
| 51 | </archive> |
| 52 | <includes> |
buyingyi | 4dcab6a | 2012-10-09 21:37:52 +0000 | [diff] [blame] | 53 | <include>**/edu/uci/ics/pregelix/core/util/DataBalancer*</include> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 54 | </includes> |
| 55 | </configuration> |
| 56 | </execution> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 57 | <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> |
buyingyi | 4dcab6a | 2012-10-09 21:37:52 +0000 | [diff] [blame] | 67 | <MainClass>edu.uci.ics.pregelix.core.util.DataGenerator</MainClass> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 68 | </manifest> |
| 69 | </archive> |
| 70 | <includes> |
buyingyi | 4dcab6a | 2012-10-09 21:37:52 +0000 | [diff] [blame] | 71 | <include>**/edu/uci/ics/pregelix/core/util/DataGenerator*</include> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 72 | </includes> |
| 73 | </configuration> |
| 74 | </execution> |
| 75 | </executions> |
| 76 | </plugin> |
| 77 | <plugin> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 78 | <groupId>org.apache.maven.plugins</groupId> |
| 79 | <artifactId>maven-compiler-plugin</artifactId> |
| 80 | <version>2.0.2</version> |
| 81 | <configuration> |
buyingyi | 55df521 | 2013-03-24 07:20:08 +0000 | [diff] [blame] | 82 | <source>1.7</source> |
| 83 | <target>1.7</target> |
| 84 | <fork>true</fork> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 85 | </configuration> |
| 86 | </plugin> |
| 87 | <plugin> |
| 88 | <groupId>org.codehaus.mojo</groupId> |
| 89 | <artifactId>appassembler-maven-plugin</artifactId> |
vinayakb | 4df3110 | 2013-04-06 18:28:48 +0000 | [diff] [blame] | 90 | <version>1.3</version> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 91 | <executions> |
| 92 | <execution> |
Jake Biesinger | 90b3444 | 2013-08-21 00:01:25 -0700 | [diff] [blame] | 93 | <id>pregelix</id> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 94 | <configuration> |
Jake Biesinger | 8a42a36 | 2013-08-20 23:45:49 -0700 | [diff] [blame] | 95 | <platforms> |
| 96 | <platform>unix</platform> |
| 97 | </platforms> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 98 | <programs> |
| 99 | <program> |
| 100 | <mainClass>org.apache.hadoop.util.RunJar</mainClass> |
Jake Biesinger | 8a42a36 | 2013-08-20 23:45:49 -0700 | [diff] [blame] | 101 | <name>pregelix</name> |
| 102 | </program> |
Jake Biesinger | 90b3444 | 2013-08-21 00:01:25 -0700 | [diff] [blame] | 103 | </programs> |
| 104 | <repositoryLayout>flat</repositoryLayout> |
| 105 | <repositoryName>lib</repositoryName> |
| 106 | <configurationDirectory>etc:"$HADOOP_HOME"/conf:/etc/hadoop/conf:"$1"</configurationDirectory> |
| 107 | </configuration> |
| 108 | <phase>package</phase> |
| 109 | <goals> |
| 110 | <goal>assemble</goal> |
| 111 | </goals> |
| 112 | </execution> |
| 113 | <execution> |
| 114 | <id>cc_nc_drivers</id> |
| 115 | <configuration> |
| 116 | <platforms> |
| 117 | <platform>unix</platform> |
| 118 | </platforms> |
| 119 | <programs> |
Jake Biesinger | 8a42a36 | 2013-08-20 23:45:49 -0700 | [diff] [blame] | 120 | <program> |
| 121 | <mainClass>edu.uci.ics.hyracks.control.cc.CCDriver</mainClass> |
| 122 | <name>pregelixcc</name> |
| 123 | </program> |
| 124 | <program> |
| 125 | <mainClass>edu.uci.ics.hyracks.control.nc.NCDriver</mainClass> |
| 126 | <name>pregelixnc</name> |
| 127 | <commandLineArguments> |
| 128 | <commandLineArgument>-app-nc-main-class</commandLineArgument> |
| 129 | <commandLineArgument>edu.uci.ics.pregelix.runtime.bootstrap.NCApplicationEntryPoint</commandLineArgument> |
| 130 | </commandLineArguments> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 131 | </program> |
| 132 | </programs> |
| 133 | <repositoryLayout>flat</repositoryLayout> |
| 134 | <repositoryName>lib</repositoryName> |
Jake Biesinger | 8a42a36 | 2013-08-20 23:45:49 -0700 | [diff] [blame] | 135 | <configurationDirectory>etc:"$HADOOP_HOME"/conf:/etc/hadoop/conf</configurationDirectory> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 136 | </configuration> |
| 137 | <phase>package</phase> |
| 138 | <goals> |
| 139 | <goal>assemble</goal> |
| 140 | </goals> |
Jake Biesinger | 90b3444 | 2013-08-21 00:01:25 -0700 | [diff] [blame] | 141 | </execution> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 142 | </executions> |
| 143 | </plugin> |
| 144 | <plugin> |
| 145 | <artifactId>maven-assembly-plugin</artifactId> |
| 146 | <version>2.2-beta-5</version> |
| 147 | <executions> |
| 148 | <execution> |
| 149 | <configuration> |
| 150 | <descriptors> |
| 151 | <descriptor>src/main/assembly/binary-assembly.xml</descriptor> |
| 152 | </descriptors> |
| 153 | </configuration> |
| 154 | <phase>package</phase> |
| 155 | <goals> |
| 156 | <goal>attached</goal> |
| 157 | </goals> |
| 158 | </execution> |
| 159 | </executions> |
| 160 | </plugin> |
| 161 | <plugin> |
| 162 | <artifactId>maven-resources-plugin</artifactId> |
| 163 | <version>2.5</version> |
| 164 | <executions> |
| 165 | <execution> |
| 166 | <id>copy-scripts</id> |
| 167 | <!-- here the phase you need --> |
| 168 | <phase>package</phase> |
| 169 | <goals> |
| 170 | <goal>copy-resources</goal> |
| 171 | </goals> |
| 172 | <configuration> |
| 173 | <outputDirectory>target/appassembler/bin</outputDirectory> |
| 174 | <resources> |
| 175 | <resource> |
| 176 | <directory>src/main/resources/scripts</directory> |
| 177 | </resource> |
| 178 | </resources> |
| 179 | </configuration> |
| 180 | </execution> |
| 181 | <execution> |
| 182 | <id>copy-conf</id> |
| 183 | <!-- here the phase you need --> |
| 184 | <phase>package</phase> |
| 185 | <goals> |
| 186 | <goal>copy-resources</goal> |
| 187 | </goals> |
| 188 | <configuration> |
| 189 | <outputDirectory>target/appassembler/conf</outputDirectory> |
| 190 | <resources> |
| 191 | <resource> |
| 192 | <directory>src/main/resources/conf</directory> |
| 193 | </resource> |
| 194 | </resources> |
| 195 | </configuration> |
| 196 | </execution> |
| 197 | </executions> |
| 198 | </plugin> |
| 199 | <plugin> |
| 200 | <groupId>org.apache.maven.plugins</groupId> |
| 201 | <artifactId>maven-surefire-plugin</artifactId> |
| 202 | <version>2.7.2</version> |
| 203 | <configuration> |
| 204 | <forkMode>pertest</forkMode> |
buyingyi | 55df521 | 2013-03-24 07:20:08 +0000 | [diff] [blame] | 205 | <argLine>-enableassertions -Xmx512m -XX:MaxPermSize=300m |
| 206 | -Dfile.encoding=UTF-8 |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 207 | -Djava.util.logging.config.file=src/test/resources/logging.properties</argLine> |
| 208 | <includes> |
| 209 | <include>**/*TestSuite.java</include> |
| 210 | <include>**/*Test.java</include> |
| 211 | </includes> |
| 212 | </configuration> |
| 213 | </plugin> |
| 214 | <plugin> |
| 215 | <artifactId>maven-clean-plugin</artifactId> |
vinayakb | 4df3110 | 2013-04-06 18:28:48 +0000 | [diff] [blame] | 216 | <version>2.4.1</version> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 217 | <configuration> |
| 218 | <filesets> |
| 219 | <fileset> |
| 220 | <directory>.</directory> |
| 221 | <includes> |
| 222 | <include>teststore*</include> |
| 223 | <include>edu*</include> |
| 224 | <include>actual*</include> |
| 225 | <include>build*</include> |
| 226 | <include>expect*</include> |
| 227 | <include>ClusterController*</include> |
| 228 | </includes> |
| 229 | </fileset> |
| 230 | </filesets> |
| 231 | </configuration> |
| 232 | </plugin> |
| 233 | </plugins> |
| 234 | </build> |
| 235 | |
| 236 | <dependencies> |
| 237 | <dependency> |
| 238 | <groupId>junit</groupId> |
| 239 | <artifactId>junit</artifactId> |
| 240 | <version>4.8.1</version> |
| 241 | <scope>test</scope> |
| 242 | </dependency> |
| 243 | <dependency> |
buyingyi | e775250 | 2012-10-08 00:35:31 +0000 | [diff] [blame] | 244 | <groupId>edu.uci.ics.hyracks</groupId> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 245 | <artifactId>pregelix-api</artifactId> |
buyingyi | 0f63d8b | 2013-07-22 11:33:10 -0700 | [diff] [blame] | 246 | <version>0.2.10-SNAPSHOT</version> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 247 | <type>jar</type> |
| 248 | <scope>compile</scope> |
| 249 | </dependency> |
| 250 | <dependency> |
buyingyi | e775250 | 2012-10-08 00:35:31 +0000 | [diff] [blame] | 251 | <groupId>edu.uci.ics.hyracks</groupId> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 252 | <artifactId>pregelix-dataflow-std</artifactId> |
buyingyi | 0f63d8b | 2013-07-22 11:33:10 -0700 | [diff] [blame] | 253 | <version>0.2.10-SNAPSHOT</version> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 254 | <type>jar</type> |
| 255 | <scope>compile</scope> |
| 256 | </dependency> |
| 257 | <dependency> |
buyingyi | e775250 | 2012-10-08 00:35:31 +0000 | [diff] [blame] | 258 | <groupId>edu.uci.ics.hyracks</groupId> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 259 | <artifactId>pregelix-dataflow</artifactId> |
buyingyi | 0f63d8b | 2013-07-22 11:33:10 -0700 | [diff] [blame] | 260 | <version>0.2.10-SNAPSHOT</version> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 261 | <type>jar</type> |
| 262 | <scope>compile</scope> |
| 263 | </dependency> |
| 264 | <dependency> |
| 265 | <groupId>edu.uci.ics.hyracks</groupId> |
| 266 | <artifactId>hyracks-dataflow-std</artifactId> |
buyingyi | 0f63d8b | 2013-07-22 11:33:10 -0700 | [diff] [blame] | 267 | <version>0.2.10-SNAPSHOT</version> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 268 | <type>jar</type> |
| 269 | <scope>compile</scope> |
| 270 | </dependency> |
| 271 | <dependency> |
buyingyi | e775250 | 2012-10-08 00:35:31 +0000 | [diff] [blame] | 272 | <groupId>edu.uci.ics.hyracks</groupId> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 273 | <artifactId>pregelix-runtime</artifactId> |
buyingyi | 0f63d8b | 2013-07-22 11:33:10 -0700 | [diff] [blame] | 274 | <version>0.2.10-SNAPSHOT</version> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 275 | <type>jar</type> |
| 276 | <scope>compile</scope> |
| 277 | </dependency> |
| 278 | <dependency> |
| 279 | <groupId>edu.uci.ics.hyracks</groupId> |
| 280 | <artifactId>hyracks-api</artifactId> |
buyingyi | 0f63d8b | 2013-07-22 11:33:10 -0700 | [diff] [blame] | 281 | <version>0.2.10-SNAPSHOT</version> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 282 | <type>jar</type> |
| 283 | <scope>compile</scope> |
| 284 | </dependency> |
| 285 | <dependency> |
| 286 | <groupId>edu.uci.ics.hyracks</groupId> |
| 287 | <artifactId>hyracks-dataflow-common</artifactId> |
buyingyi | 0f63d8b | 2013-07-22 11:33:10 -0700 | [diff] [blame] | 288 | <version>0.2.10-SNAPSHOT</version> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 289 | <type>jar</type> |
| 290 | <scope>compile</scope> |
| 291 | </dependency> |
| 292 | <dependency> |
| 293 | <groupId>edu.uci.ics.hyracks</groupId> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 294 | <artifactId>hyracks-data-std</artifactId> |
buyingyi | 0f63d8b | 2013-07-22 11:33:10 -0700 | [diff] [blame] | 295 | <version>0.2.10-SNAPSHOT</version> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 296 | <type>jar</type> |
| 297 | <scope>compile</scope> |
| 298 | </dependency> |
| 299 | <dependency> |
| 300 | <groupId>edu.uci.ics.hyracks</groupId> |
| 301 | <artifactId>hyracks-storage-am-common</artifactId> |
buyingyi | 0f63d8b | 2013-07-22 11:33:10 -0700 | [diff] [blame] | 302 | <version>0.2.10-SNAPSHOT</version> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 303 | <type>jar</type> |
| 304 | <scope>compile</scope> |
| 305 | </dependency> |
| 306 | <dependency> |
| 307 | <groupId>edu.uci.ics.hyracks</groupId> |
| 308 | <artifactId>hyracks-storage-am-btree</artifactId> |
buyingyi | 0f63d8b | 2013-07-22 11:33:10 -0700 | [diff] [blame] | 309 | <version>0.2.10-SNAPSHOT</version> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 310 | <type>jar</type> |
| 311 | <scope>compile</scope> |
| 312 | </dependency> |
| 313 | <dependency> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 314 | <groupId>edu.uci.ics.hyracks</groupId> |
| 315 | <artifactId>hyracks-control-cc</artifactId> |
buyingyi | 0f63d8b | 2013-07-22 11:33:10 -0700 | [diff] [blame] | 316 | <version>0.2.10-SNAPSHOT</version> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 317 | <type>jar</type> |
| 318 | <scope>compile</scope> |
| 319 | </dependency> |
| 320 | <dependency> |
| 321 | <groupId>edu.uci.ics.hyracks</groupId> |
| 322 | <artifactId>hyracks-control-nc</artifactId> |
buyingyi | 0f63d8b | 2013-07-22 11:33:10 -0700 | [diff] [blame] | 323 | <version>0.2.10-SNAPSHOT</version> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 324 | <type>jar</type> |
| 325 | <scope>compile</scope> |
| 326 | </dependency> |
| 327 | <dependency> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 328 | <groupId>com.kenai.nbpwr</groupId> |
| 329 | <artifactId>org-apache-commons-io</artifactId> |
| 330 | <version>1.3.1-201002241208</version> |
| 331 | <type>nbm</type> |
| 332 | <scope>test</scope> |
| 333 | </dependency> |
| 334 | <dependency> |
| 335 | <groupId>edu.uci.ics.hyracks.examples</groupId> |
| 336 | <artifactId>hyracks-integration-tests</artifactId> |
buyingyi | 0f63d8b | 2013-07-22 11:33:10 -0700 | [diff] [blame] | 337 | <version>0.2.10-SNAPSHOT</version> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 338 | <scope>test</scope> |
| 339 | </dependency> |
| 340 | <dependency> |
| 341 | <groupId>com.sun.jersey</groupId> |
| 342 | <artifactId>jersey</artifactId> |
| 343 | <version>0.8-ea</version> |
| 344 | <type>jar</type> |
| 345 | <scope>test</scope> |
| 346 | </dependency> |
| 347 | <dependency> |
| 348 | <groupId>javax.servlet</groupId> |
| 349 | <artifactId>javax.servlet-api</artifactId> |
| 350 | <version>3.0.1</version> |
| 351 | <type>jar</type> |
| 352 | <scope>compile</scope> |
| 353 | </dependency> |
| 354 | <dependency> |
| 355 | <groupId>edu.uci.ics.hyracks</groupId> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 356 | <artifactId>hyracks-ipc</artifactId> |
buyingyi | 0f63d8b | 2013-07-22 11:33:10 -0700 | [diff] [blame] | 357 | <version>0.2.10-SNAPSHOT</version> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 358 | <type>jar</type> |
| 359 | <scope>compile</scope> |
| 360 | </dependency> |
| 361 | </dependencies> |
| 362 | </project> |