buyingyi | 5df938f | 2013-03-24 07:20:08 +0000 | [diff] [blame] | 1 | <?xml version="1.0"?> |
vinayakb | a8a0261 | 2013-03-25 03:17:01 +0000 | [diff] [blame^] | 2 | <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 | 5df938f | 2013-03-24 07:20:08 +0000 | [diff] [blame] | 3 | <modelVersion>4.0.0</modelVersion> |
| 4 | <parent> |
| 5 | <artifactId>hyracks</artifactId> |
| 6 | <groupId>edu.uci.ics.hyracks</groupId> |
vinayakb | a8a0261 | 2013-03-25 03:17:01 +0000 | [diff] [blame^] | 7 | <version>0.2.3</version> |
buyingyi | 5df938f | 2013-03-24 07:20:08 +0000 | [diff] [blame] | 8 | </parent> |
| 9 | |
| 10 | <artifactId>hyracks-dist</artifactId> |
| 11 | <name>hyracks-dist</name> |
| 12 | |
| 13 | <properties> |
| 14 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 15 | </properties> |
| 16 | |
| 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.7</source> |
| 25 | <target>1.7</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>src/main/resources</directory> |
| 44 | </resource> |
| 45 | </resources> |
| 46 | <directoryMode>0755</directoryMode> |
| 47 | </configuration> |
| 48 | </execution> |
| 49 | </executions> |
| 50 | </plugin> |
| 51 | <plugin> |
| 52 | <groupId>org.apache.maven.plugins</groupId> |
| 53 | <artifactId>maven-antrun-plugin</artifactId> |
| 54 | <version>1.6</version> |
| 55 | <executions> |
| 56 | <execution> |
| 57 | <id>process-test-classes</id> |
| 58 | <phase>package</phase> |
| 59 | <configuration> |
| 60 | <target> |
| 61 | <chmod file="target/appassembler/bin/*)" perm="755" /> |
| 62 | </target> |
| 63 | </configuration> |
| 64 | <goals> |
| 65 | <goal>run</goal> |
| 66 | </goals> |
| 67 | </execution> |
| 68 | </executions> |
| 69 | </plugin> |
| 70 | </plugins> |
| 71 | </build> |
| 72 | </project> |