Till Westmann | 276bbc2 | 2013-06-05 18:56:27 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | ! Copyright 2009-2013 by The Regents of the University of California |
| 4 | ! Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | ! you may not use this file except in compliance with the License. |
| 6 | ! you may obtain a copy of the License from |
| 7 | ! |
| 8 | ! http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | ! |
| 10 | ! Unless required by applicable law or agreed to in writing, software |
| 11 | ! distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | ! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | ! See the License for the specific language governing permissions and |
| 14 | ! limitations under the License. |
| 15 | !--> |
vinayakb | 1ca34f4 | 2013-03-25 03:17:01 +0000 | [diff] [blame] | 16 | <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 | 55df521 | 2013-03-24 07:20:08 +0000 | [diff] [blame] | 17 | <modelVersion>4.0.0</modelVersion> |
| 18 | <parent> |
| 19 | <artifactId>hyracks</artifactId> |
| 20 | <groupId>edu.uci.ics.hyracks</groupId> |
Ian Maxon | 46fee83 | 2014-07-11 22:51:56 -0700 | [diff] [blame^] | 21 | <version>0.2.13-SNAPSHOT</version> |
buyingyi | 55df521 | 2013-03-24 07:20:08 +0000 | [diff] [blame] | 22 | </parent> |
| 23 | |
| 24 | <artifactId>hyracks-dist</artifactId> |
| 25 | <name>hyracks-dist</name> |
| 26 | |
| 27 | <properties> |
| 28 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 29 | </properties> |
| 30 | |
| 31 | <build> |
| 32 | <plugins> |
| 33 | <plugin> |
| 34 | <groupId>org.apache.maven.plugins</groupId> |
| 35 | <artifactId>maven-compiler-plugin</artifactId> |
| 36 | <version>2.0.2</version> |
| 37 | <configuration> |
| 38 | <source>1.7</source> |
| 39 | <target>1.7</target> |
| 40 | </configuration> |
| 41 | </plugin> |
| 42 | <plugin> |
| 43 | <artifactId>maven-resources-plugin</artifactId> |
| 44 | <version>2.5</version> |
| 45 | <executions> |
| 46 | <execution> |
| 47 | <id>copy-scripts</id> |
| 48 | <!-- here the phase you need --> |
| 49 | <phase>package</phase> |
| 50 | <goals> |
| 51 | <goal>copy-resources</goal> |
| 52 | </goals> |
| 53 | <configuration> |
| 54 | <outputDirectory>target/appassembler/</outputDirectory> |
| 55 | <resources> |
| 56 | <resource> |
| 57 | <directory>src/main/resources</directory> |
| 58 | </resource> |
| 59 | </resources> |
| 60 | <directoryMode>0755</directoryMode> |
| 61 | </configuration> |
| 62 | </execution> |
| 63 | </executions> |
| 64 | </plugin> |
| 65 | <plugin> |
| 66 | <groupId>org.apache.maven.plugins</groupId> |
| 67 | <artifactId>maven-antrun-plugin</artifactId> |
| 68 | <version>1.6</version> |
| 69 | <executions> |
| 70 | <execution> |
| 71 | <id>process-test-classes</id> |
| 72 | <phase>package</phase> |
| 73 | <configuration> |
| 74 | <target> |
| 75 | <chmod file="target/appassembler/bin/*)" perm="755" /> |
| 76 | </target> |
| 77 | </configuration> |
| 78 | <goals> |
| 79 | <goal>run</goal> |
| 80 | </goals> |
| 81 | </execution> |
| 82 | </executions> |
| 83 | </plugin> |
| 84 | </plugins> |
| 85 | </build> |
| 86 | </project> |