blob: c35aa70a37a4ff8302a3f0e5b44ed35749638728 [file] [log] [blame]
Till Westmann276bbc22013-06-05 18:56:27 -07001<!--
Ian Maxond8857792015-09-11 14:19:53 -07002 ! Licensed to the Apache Software Foundation (ASF) under one
3 ! or more contributor license agreements. See the NOTICE file
4 ! distributed with this work for additional information
5 ! regarding copyright ownership. The ASF licenses this file
6 ! to you under the Apache License, Version 2.0 (the
7 ! "License"); you may not use this file except in compliance
8 ! with the License. You may obtain a copy of the License at
9 !
10 ! http://www.apache.org/licenses/LICENSE-2.0
11 !
12 ! Unless required by applicable law or agreed to in writing,
13 ! software distributed under the License is distributed on an
14 ! "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 ! KIND, either express or implied. See the License for the
16 ! specific language governing permissions and limitations
17 ! under the License.
Till Westmann276bbc22013-06-05 18:56:27 -070018 !-->
Ian Maxond8857792015-09-11 14:19:53 -070019
vinayakb4df31102013-04-06 18:28:48 +000020<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/maven-v4_0_0.xsd">
21 <modelVersion>4.0.0</modelVersion>
Ian Maxone915e8c2015-07-01 17:03:31 -070022 <groupId>org.apache.hyracks.examples.text</groupId>
vinayakb4df31102013-04-06 18:28:48 +000023 <artifactId>textserver</artifactId>
24 <name>textserver</name>
25
26 <parent>
Ian Maxone915e8c2015-07-01 17:03:31 -070027 <groupId>org.apache.hyracks</groupId>
vinayakb4df31102013-04-06 18:28:48 +000028 <artifactId>text-example</artifactId>
Ian Maxona3435a32017-01-18 18:31:30 -080029 <version>0.3.1-SNAPSHOT</version>
vinayakb4df31102013-04-06 18:28:48 +000030 </parent>
31
Ian Maxon9e37c962015-11-25 07:38:37 -080032 <properties>
Michael Blowb4c1fb02016-05-09 15:41:00 -070033 <root.dir>${basedir}/../../../..</root.dir>
Ian Maxon9e37c962015-11-25 07:38:37 -080034 </properties>
35
vinayakb4df31102013-04-06 18:28:48 +000036 <build>
37 <plugins>
38 <plugin>
Michael Blowba358122016-10-13 19:56:03 -040039 <groupId>org.apache.maven.plugins</groupId>
40 <artifactId>maven-dependency-plugin</artifactId>
41 <version>2.10</version>
42 <configuration>
Michael Blow4c7b5bf2017-03-06 21:55:58 -050043 <usedDependencies combine.children="append">
44 <usedDependency>org.apache.hyracks:hyracks-control-nc</usedDependency>
45 <usedDependency>org.apache.hyracks:hyracks-control-cc</usedDependency>
46 <usedDependency>org.apache.hyracks:hyracks-dataflow-std</usedDependency>
47 <usedDependency>org.apache.hyracks:texthelper</usedDependency>
Michael Blowba358122016-10-13 19:56:03 -040048 </usedDependencies>
49 </configuration>
50 <executions>
51 <execution>
52 <phase>process-test-classes</phase>
53 <goals>
54 <goal>analyze-only</goal>
55 </goals>
56 </execution>
57 </executions>
58 </plugin>
59 <plugin>
vinayakb4df31102013-04-06 18:28:48 +000060 <groupId>org.codehaus.mojo</groupId>
61 <artifactId>appassembler-maven-plugin</artifactId>
vinayakb4df31102013-04-06 18:28:48 +000062 <executions>
63 <execution>
64 <configuration>
65 <programs>
66 <program>
Ian Maxone915e8c2015-07-01 17:03:31 -070067 <mainClass>org.apache.hyracks.control.cc.CCDriver</mainClass>
vinayakb4df31102013-04-06 18:28:48 +000068 <name>hyrackscc</name>
69 </program>
70 <program>
Ian Maxone915e8c2015-07-01 17:03:31 -070071 <mainClass>org.apache.hyracks.control.nc.NCDriver</mainClass>
vinayakb4df31102013-04-06 18:28:48 +000072 <name>hyracksnc</name>
73 </program>
74 </programs>
75 <repositoryLayout>flat</repositoryLayout>
76 <repositoryName>lib</repositoryName>
77 </configuration>
78 <phase>package</phase>
79 <goals>
80 <goal>assemble</goal>
81 </goals>
82 </execution>
83 </executions>
84 </plugin>
85 <plugin>
86 <artifactId>maven-assembly-plugin</artifactId>
87 <version>2.2-beta-5</version>
88 <executions>
89 <execution>
90 <configuration>
91 <descriptors>
92 <descriptor>src/main/assembly/binary-assembly.xml</descriptor>
93 </descriptors>
94 </configuration>
95 <phase>package</phase>
96 <goals>
97 <goal>attached</goal>
98 </goals>
99 </execution>
100 </executions>
101 </plugin>
Michael Blow5e17af22017-02-02 10:00:44 -0500102 <plugin>
103 <groupId>org.apache.rat</groupId>
104 <artifactId>apache-rat-plugin</artifactId>
105 <configuration>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500106 <excludes combine.children="append">
Michael Blow5e17af22017-02-02 10:00:44 -0500107 <exclude>data/file1.txt</exclude>
108 <exclude>data/file2.txt</exclude>
109 </excludes>
110 </configuration>
111 </plugin>
vinayakb4df31102013-04-06 18:28:48 +0000112 </plugins>
113 </build>
Michael Blow98ddabc2016-06-16 21:02:29 -0400114 <profiles>
115 <profile>
116 <id>run-tests</id>
117 <activation>
118 <property>
119 <name>!skipTests</name>
120 </property>
121 </activation>
122 <build>
123 <plugins>
124 <plugin>
125 <groupId>org.apache.hyracks</groupId>
126 <artifactId>hyracks-virtualcluster-maven-plugin</artifactId>
Michael Blowf8a882d2016-08-02 01:28:34 -0400127 <version>${project.version}</version>
Michael Blow98ddabc2016-06-16 21:02:29 -0400128 <configuration>
129 <hyracksServerHome>${basedir}/target/textserver-${project.version}-binary-assembly</hyracksServerHome>
130 <jvmOptions>${jvm.extraargs}</jvmOptions>
131 </configuration>
132 <executions>
133 <execution>
134 <id>hyracks-cc-start</id>
135 <phase>pre-integration-test</phase>
136 <goals>
137 <goal>start-cc</goal>
138 </goals>
139 </execution>
140 <execution>
141 <id>hyracks-nc1-start</id>
142 <phase>pre-integration-test</phase>
143 <goals>
144 <goal>start-nc</goal>
145 </goals>
146 <configuration>
147 <nodeId>NC1</nodeId>
148 <dataIpAddress>127.0.0.1</dataIpAddress>
149 <ccHost>localhost</ccHost>
150 </configuration>
151 </execution>
152 <execution>
153 <id>hyracks-nc2-start</id>
154 <phase>pre-integration-test</phase>
155 <goals>
156 <goal>start-nc</goal>
157 </goals>
158 <configuration>
159 <nodeId>NC2</nodeId>
160 <dataIpAddress>127.0.0.1</dataIpAddress>
161 <ccHost>localhost</ccHost>
162 </configuration>
163 </execution>
164 <execution>
165 <id>stop-services</id>
166 <phase>post-integration-test</phase>
167 <goals>
168 <goal>stop-services</goal>
169 </goals>
170 </execution>
171 </executions>
172 </plugin>
173 <plugin>
174 <groupId>org.apache.maven.plugins</groupId>
175 <artifactId>maven-failsafe-plugin</artifactId>
176 <version>2.8.1</version>
177 <executions>
178 <execution>
179 <id>it</id>
180 <phase>integration-test</phase>
181 <goals>
182 <goal>integration-test</goal>
183 </goals>
184 </execution>
185 </executions>
186 </plugin>
187 <plugin>
188 <groupId>org.apache.maven.plugins</groupId>
189 <artifactId>maven-deploy-plugin</artifactId>
190 <configuration>
191 <skip>true</skip>
192 </configuration>
193 </plugin>
194 </plugins>
195 </build>
196 </profile>
197 </profiles>
vinayakb4df31102013-04-06 18:28:48 +0000198 <dependencies>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800199 <dependency>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800200 <groupId>junit</groupId>
201 <artifactId>junit</artifactId>
Michael Blow2da62dc2016-06-30 21:18:37 -0400202 <scope>test</scope>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800203 </dependency>
204 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700205 <groupId>org.apache.hyracks</groupId>
Michael Blowba358122016-10-13 19:56:03 -0400206 <artifactId>textclient</artifactId>
Michael Blowf8a882d2016-08-02 01:28:34 -0400207 <version>${project.version}</version>
Michael Blowba358122016-10-13 19:56:03 -0400208 <scope>test</scope>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800209 </dependency>
210 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700211 <groupId>org.apache.hyracks</groupId>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800212 <artifactId>hyracks-control-nc</artifactId>
Michael Blowf8a882d2016-08-02 01:28:34 -0400213 <version>${project.version}</version>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800214 </dependency>
215 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700216 <groupId>org.apache.hyracks</groupId>
Michael Blowba358122016-10-13 19:56:03 -0400217 <artifactId>hyracks-control-cc</artifactId>
Michael Blowf8a882d2016-08-02 01:28:34 -0400218 <version>${project.version}</version>
Michael Blowba358122016-10-13 19:56:03 -0400219 </dependency>
220 <dependency>
221 <groupId>org.apache.hyracks</groupId>
222 <artifactId>hyracks-dataflow-std</artifactId>
223 <version>${project.version}</version>
224 </dependency>
225 <dependency>
226 <groupId>org.apache.hyracks</groupId>
227 <artifactId>texthelper</artifactId>
228 <version>${project.version}</version>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800229 </dependency>
vinayakb4df31102013-04-06 18:28:48 +0000230 </dependencies>
231</project>