blob: 1e68ffb098318dd188963441e41a5f06e6051fbb [file] [log] [blame]
Till Westmann276bbc22013-06-05 18:56:27 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!--
Ian Maxond8857792015-09-11 14:19:53 -07003 ! Licensed to the Apache Software Foundation (ASF) under one
4 ! or more contributor license agreements. See the NOTICE file
5 ! distributed with this work for additional information
6 ! regarding copyright ownership. The ASF licenses this file
7 ! to you under the Apache License, Version 2.0 (the
8 ! "License"); you may not use this file except in compliance
9 ! with the License. You may obtain a copy of the License at
10 !
11 ! http://www.apache.org/licenses/LICENSE-2.0
12 !
13 ! Unless required by applicable law or agreed to in writing,
14 ! software distributed under the License is distributed on an
15 ! "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 ! KIND, either express or implied. See the License for the
17 ! specific language governing permissions and limitations
18 ! under the License.
Till Westmann276bbc22013-06-05 18:56:27 -070019 !-->
Ian Maxond8857792015-09-11 14:19:53 -070020
vinayakb1ca34f42013-03-25 03:17:01 +000021<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">
buyingyi55df5212013-03-24 07:20:08 +000022 <modelVersion>4.0.0</modelVersion>
23 <parent>
24 <artifactId>hyracks</artifactId>
Ian Maxone915e8c2015-07-01 17:03:31 -070025 <groupId>org.apache.hyracks</groupId>
Ian Maxon776894a2016-02-02 10:38:56 -080026 <version>0.2.17-SNAPSHOT</version>
buyingyi55df5212013-03-24 07:20:08 +000027 </parent>
28
Iane82f8112014-11-19 12:31:18 -080029 <licenses>
30 <license>
31 <name>Apache License, Version 2.0</name>
32 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
33 <distribution>repo</distribution>
34 <comments>A business-friendly OSS license</comments>
35 </license>
36 </licenses>
37
38
buyingyi55df5212013-03-24 07:20:08 +000039 <artifactId>hyracks-dist</artifactId>
40 <name>hyracks-dist</name>
41
42 <properties>
43 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Ian Maxon9e37c962015-11-25 07:38:37 -080044 <root.dir>${basedir}/../..</root.dir>
buyingyi55df5212013-03-24 07:20:08 +000045 </properties>
46
47 <build>
48 <plugins>
49 <plugin>
50 <groupId>org.apache.maven.plugins</groupId>
51 <artifactId>maven-compiler-plugin</artifactId>
52 <version>2.0.2</version>
53 <configuration>
54 <source>1.7</source>
55 <target>1.7</target>
56 </configuration>
57 </plugin>
58 <plugin>
59 <artifactId>maven-resources-plugin</artifactId>
60 <version>2.5</version>
61 <executions>
62 <execution>
63 <id>copy-scripts</id>
64 <!-- here the phase you need -->
65 <phase>package</phase>
66 <goals>
67 <goal>copy-resources</goal>
68 </goals>
69 <configuration>
70 <outputDirectory>target/appassembler/</outputDirectory>
71 <resources>
72 <resource>
73 <directory>src/main/resources</directory>
74 </resource>
75 </resources>
76 <directoryMode>0755</directoryMode>
77 </configuration>
78 </execution>
79 </executions>
80 </plugin>
81 <plugin>
82 <groupId>org.apache.maven.plugins</groupId>
83 <artifactId>maven-antrun-plugin</artifactId>
84 <version>1.6</version>
85 <executions>
86 <execution>
87 <id>process-test-classes</id>
88 <phase>package</phase>
89 <configuration>
90 <target>
91 <chmod file="target/appassembler/bin/*)" perm="755" />
92 </target>
93 </configuration>
94 <goals>
95 <goal>run</goal>
96 </goals>
97 </execution>
98 </executions>
99 </plugin>
100 </plugins>
101 </build>
102</project>