blob: 1a276ca1107b3ec32ec1a5c31662278e1ac1b5bd [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 Maxon03ccded2021-03-07 18:35:16 -080029 <version>0.3.7-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>
Michael Blowba358122016-10-13 19:56:03 -040041 <configuration>
Michael Blow4c7b5bf2017-03-06 21:55:58 -050042 <usedDependencies combine.children="append">
43 <usedDependency>org.apache.hyracks:hyracks-control-nc</usedDependency>
44 <usedDependency>org.apache.hyracks:hyracks-control-cc</usedDependency>
45 <usedDependency>org.apache.hyracks:hyracks-dataflow-std</usedDependency>
46 <usedDependency>org.apache.hyracks:texthelper</usedDependency>
Michael Blowba358122016-10-13 19:56:03 -040047 </usedDependencies>
48 </configuration>
49 <executions>
50 <execution>
51 <phase>process-test-classes</phase>
52 <goals>
53 <goal>analyze-only</goal>
54 </goals>
55 </execution>
56 </executions>
57 </plugin>
58 <plugin>
vinayakb4df31102013-04-06 18:28:48 +000059 <groupId>org.codehaus.mojo</groupId>
60 <artifactId>appassembler-maven-plugin</artifactId>
vinayakb4df31102013-04-06 18:28:48 +000061 <executions>
62 <execution>
63 <configuration>
64 <programs>
65 <program>
Ian Maxone915e8c2015-07-01 17:03:31 -070066 <mainClass>org.apache.hyracks.control.cc.CCDriver</mainClass>
vinayakb4df31102013-04-06 18:28:48 +000067 <name>hyrackscc</name>
68 </program>
69 <program>
Ian Maxone915e8c2015-07-01 17:03:31 -070070 <mainClass>org.apache.hyracks.control.nc.NCDriver</mainClass>
vinayakb4df31102013-04-06 18:28:48 +000071 <name>hyracksnc</name>
72 </program>
73 </programs>
74 <repositoryLayout>flat</repositoryLayout>
75 <repositoryName>lib</repositoryName>
76 </configuration>
77 <phase>package</phase>
78 <goals>
79 <goal>assemble</goal>
80 </goals>
81 </execution>
82 </executions>
83 </plugin>
84 <plugin>
85 <artifactId>maven-assembly-plugin</artifactId>
vinayakb4df31102013-04-06 18:28:48 +000086 <executions>
87 <execution>
88 <configuration>
89 <descriptors>
90 <descriptor>src/main/assembly/binary-assembly.xml</descriptor>
91 </descriptors>
92 </configuration>
93 <phase>package</phase>
94 <goals>
Michael Blow0aae1832017-10-29 11:59:47 -040095 <goal>single</goal>
vinayakb4df31102013-04-06 18:28:48 +000096 </goals>
97 </execution>
98 </executions>
99 </plugin>
Michael Blow5e17af22017-02-02 10:00:44 -0500100 <plugin>
101 <groupId>org.apache.rat</groupId>
102 <artifactId>apache-rat-plugin</artifactId>
103 <configuration>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500104 <excludes combine.children="append">
Michael Blow5e17af22017-02-02 10:00:44 -0500105 <exclude>data/file1.txt</exclude>
106 <exclude>data/file2.txt</exclude>
107 </excludes>
108 </configuration>
109 </plugin>
vinayakb4df31102013-04-06 18:28:48 +0000110 </plugins>
111 </build>
Michael Blow98ddabc2016-06-16 21:02:29 -0400112 <profiles>
113 <profile>
114 <id>run-tests</id>
115 <activation>
116 <property>
117 <name>!skipTests</name>
118 </property>
119 </activation>
120 <build>
121 <plugins>
122 <plugin>
123 <groupId>org.apache.hyracks</groupId>
124 <artifactId>hyracks-virtualcluster-maven-plugin</artifactId>
Michael Blowf8a882d2016-08-02 01:28:34 -0400125 <version>${project.version}</version>
Michael Blow98ddabc2016-06-16 21:02:29 -0400126 <configuration>
127 <hyracksServerHome>${basedir}/target/textserver-${project.version}-binary-assembly</hyracksServerHome>
128 <jvmOptions>${jvm.extraargs}</jvmOptions>
129 </configuration>
130 <executions>
131 <execution>
132 <id>hyracks-cc-start</id>
133 <phase>pre-integration-test</phase>
134 <goals>
135 <goal>start-cc</goal>
136 </goals>
137 </execution>
138 <execution>
139 <id>hyracks-nc1-start</id>
140 <phase>pre-integration-test</phase>
141 <goals>
142 <goal>start-nc</goal>
143 </goals>
144 <configuration>
145 <nodeId>NC1</nodeId>
146 <dataIpAddress>127.0.0.1</dataIpAddress>
147 <ccHost>localhost</ccHost>
148 </configuration>
149 </execution>
150 <execution>
151 <id>hyracks-nc2-start</id>
152 <phase>pre-integration-test</phase>
153 <goals>
154 <goal>start-nc</goal>
155 </goals>
156 <configuration>
157 <nodeId>NC2</nodeId>
158 <dataIpAddress>127.0.0.1</dataIpAddress>
159 <ccHost>localhost</ccHost>
160 </configuration>
161 </execution>
162 <execution>
163 <id>stop-services</id>
164 <phase>post-integration-test</phase>
165 <goals>
166 <goal>stop-services</goal>
167 </goals>
168 </execution>
169 </executions>
170 </plugin>
171 <plugin>
172 <groupId>org.apache.maven.plugins</groupId>
173 <artifactId>maven-failsafe-plugin</artifactId>
Michael Blow98ddabc2016-06-16 21:02:29 -0400174 <executions>
175 <execution>
176 <id>it</id>
177 <phase>integration-test</phase>
178 <goals>
179 <goal>integration-test</goal>
180 </goals>
181 </execution>
182 </executions>
183 </plugin>
184 <plugin>
185 <groupId>org.apache.maven.plugins</groupId>
186 <artifactId>maven-deploy-plugin</artifactId>
187 <configuration>
188 <skip>true</skip>
189 </configuration>
190 </plugin>
191 </plugins>
192 </build>
193 </profile>
194 </profiles>
vinayakb4df31102013-04-06 18:28:48 +0000195 <dependencies>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800196 <dependency>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800197 <groupId>junit</groupId>
198 <artifactId>junit</artifactId>
Michael Blow2da62dc2016-06-30 21:18:37 -0400199 <scope>test</scope>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800200 </dependency>
201 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700202 <groupId>org.apache.hyracks</groupId>
Michael Blowba358122016-10-13 19:56:03 -0400203 <artifactId>textclient</artifactId>
Michael Blowf8a882d2016-08-02 01:28:34 -0400204 <version>${project.version}</version>
Michael Blowba358122016-10-13 19:56:03 -0400205 <scope>test</scope>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800206 </dependency>
207 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700208 <groupId>org.apache.hyracks</groupId>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800209 <artifactId>hyracks-control-nc</artifactId>
Michael Blowf8a882d2016-08-02 01:28:34 -0400210 <version>${project.version}</version>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800211 </dependency>
212 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700213 <groupId>org.apache.hyracks</groupId>
Michael Blowba358122016-10-13 19:56:03 -0400214 <artifactId>hyracks-control-cc</artifactId>
Michael Blowf8a882d2016-08-02 01:28:34 -0400215 <version>${project.version}</version>
Michael Blowba358122016-10-13 19:56:03 -0400216 </dependency>
217 <dependency>
218 <groupId>org.apache.hyracks</groupId>
219 <artifactId>hyracks-dataflow-std</artifactId>
220 <version>${project.version}</version>
221 </dependency>
222 <dependency>
223 <groupId>org.apache.hyracks</groupId>
224 <artifactId>texthelper</artifactId>
225 <version>${project.version}</version>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800226 </dependency>
vinayakb4df31102013-04-06 18:28:48 +0000227 </dependencies>
228</project>