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