buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 1 | <?xml version="1.0"?> |
| 2 | <project |
| 3 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" |
| 4 | xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
| 5 | <modelVersion>4.0.0</modelVersion> |
| 6 | <parent> |
buyingyi | e775250 | 2012-10-08 00:35:31 +0000 | [diff] [blame] | 7 | <groupId>edu.uci.ics.hyracks</groupId> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 8 | <artifactId>pregelix</artifactId> |
buyingyi | e775250 | 2012-10-08 00:35:31 +0000 | [diff] [blame] | 9 | <version>0.2.2-SNAPSHOT</version> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 10 | </parent> |
| 11 | <artifactId>pregelix-dist</artifactId> |
| 12 | <name>pregelix-dist</name> |
| 13 | <url>http://maven.apache.org</url> |
| 14 | <properties> |
| 15 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 16 | </properties> |
| 17 | <build> |
| 18 | <plugins> |
| 19 | <plugin> |
| 20 | <groupId>org.apache.maven.plugins</groupId> |
| 21 | <artifactId>maven-compiler-plugin</artifactId> |
| 22 | <version>2.0.2</version> |
| 23 | <configuration> |
| 24 | <source>1.6</source> |
| 25 | <target>1.6</target> |
| 26 | </configuration> |
| 27 | </plugin> |
| 28 | <plugin> |
| 29 | <artifactId>maven-resources-plugin</artifactId> |
| 30 | <version>2.5</version> |
| 31 | <executions> |
| 32 | <execution> |
| 33 | <id>copy-scripts</id> |
| 34 | <!-- here the phase you need --> |
| 35 | <phase>package</phase> |
| 36 | <goals> |
| 37 | <goal>copy-resources</goal> |
| 38 | </goals> |
| 39 | <configuration> |
| 40 | <outputDirectory>target/appassembler</outputDirectory> |
| 41 | <resources> |
| 42 | <resource> |
| 43 | <directory>../pregelix-core/target/appassembler</directory> |
| 44 | </resource> |
| 45 | </resources> |
| 46 | </configuration> |
| 47 | </execution> |
buyingyi | 202af41 | 2012-10-08 23:07:09 +0000 | [diff] [blame] | 48 | <execution> |
| 49 | <id>copy-examples</id> |
| 50 | <phase>package</phase> |
| 51 | <goals> |
| 52 | <goal>copy-resources</goal> |
| 53 | </goals> |
| 54 | <configuration> |
| 55 | <outputDirectory>target/appassembler/examples</outputDirectory> |
| 56 | <resources> |
| 57 | <resource> |
| 58 | <directory>../pregelix-example/target</directory> |
| 59 | <includes> |
| 60 | <include>*.jar</include> |
| 61 | </includes> |
| 62 | </resource> |
| 63 | </resources> |
| 64 | </configuration> |
| 65 | </execution> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 66 | </executions> |
| 67 | </plugin> |
| 68 | </plugins> |
| 69 | </build> |
| 70 | <dependencies> |
| 71 | <dependency> |
buyingyi | e775250 | 2012-10-08 00:35:31 +0000 | [diff] [blame] | 72 | <groupId>edu.uci.ics.hyracks</groupId> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 73 | <artifactId>pregelix-core</artifactId> |
buyingyi | e775250 | 2012-10-08 00:35:31 +0000 | [diff] [blame] | 74 | <version>0.2.2-SNAPSHOT</version> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 75 | <scope>comile</scope> |
| 76 | </dependency> |
buyingyi | 202af41 | 2012-10-08 23:07:09 +0000 | [diff] [blame] | 77 | <dependency> |
| 78 | <groupId>edu.uci.ics.hyracks</groupId> |
| 79 | <artifactId>pregelix-example</artifactId> |
| 80 | <version>0.2.2-SNAPSHOT</version> |
| 81 | </dependency> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 82 | </dependencies> |
| 83 | </project> |