blob: 58a4b1c202a74ef7a6a1153c9a3d6d3e16750fa4 [file] [log] [blame]
buyingyi55df5212013-03-24 07:20:08 +00001<?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 <artifactId>hyracks</artifactId>
8 <groupId>edu.uci.ics.hyracks</groupId>
9 <version>0.2.3-SNAPSHOT</version>
10 </parent>
11
12 <artifactId>hyracks-dist</artifactId>
13 <name>hyracks-dist</name>
14
15 <properties>
16 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
17 </properties>
18
19 <build>
20 <plugins>
21 <plugin>
22 <groupId>org.apache.maven.plugins</groupId>
23 <artifactId>maven-compiler-plugin</artifactId>
24 <version>2.0.2</version>
25 <configuration>
26 <source>1.7</source>
27 <target>1.7</target>
28 </configuration>
29 </plugin>
30 <plugin>
31 <artifactId>maven-resources-plugin</artifactId>
32 <version>2.5</version>
33 <executions>
34 <execution>
35 <id>copy-scripts</id>
36 <!-- here the phase you need -->
37 <phase>package</phase>
38 <goals>
39 <goal>copy-resources</goal>
40 </goals>
41 <configuration>
42 <outputDirectory>target/appassembler/</outputDirectory>
43 <resources>
44 <resource>
45 <directory>src/main/resources</directory>
46 </resource>
47 </resources>
48 <directoryMode>0755</directoryMode>
49 </configuration>
50 </execution>
51 </executions>
52 </plugin>
53 <plugin>
54 <groupId>org.apache.maven.plugins</groupId>
55 <artifactId>maven-antrun-plugin</artifactId>
56 <version>1.6</version>
57 <executions>
58 <execution>
59 <id>process-test-classes</id>
60 <phase>package</phase>
61 <configuration>
62 <target>
63 <chmod file="target/appassembler/bin/*)" perm="755" />
64 </target>
65 </configuration>
66 <goals>
67 <goal>run</goal>
68 </goals>
69 </execution>
70 </executions>
71 </plugin>
72 </plugins>
73 </build>
74</project>