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> |
| 7 | <groupId>edu.uci.ics.pregelix</groupId> |
| 8 | <artifactId>pregelix</artifactId> |
| 9 | <version>0.0.1-SNAPSHOT</version> |
| 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> |
| 48 | </executions> |
| 49 | </plugin> |
| 50 | </plugins> |
| 51 | </build> |
| 52 | <dependencies> |
| 53 | <dependency> |
| 54 | <groupId>edu.uci.ics.pregelix</groupId> |
| 55 | <artifactId>pregelix-core</artifactId> |
| 56 | <version>0.0.1-SNAPSHOT</version> |
| 57 | <scope>comile</scope> |
| 58 | </dependency> |
| 59 | </dependencies> |
| 60 | </project> |