blob: 07e64c182ebfa68afc4d3abeb163874afef56882 [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 Maxon2d232b62017-01-18 12:17:09 -080029 <version>0.2.18-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>
43 <failOnWarning>true</failOnWarning>
44 <outputXML>true</outputXML>
45 <usedDependencies>
46 org.apache.hyracks:hyracks-control-nc,org.apache.hyracks:hyracks-control-cc,org.apache.hyracks:hyracks-dataflow-std,org.apache.hyracks:texthelper
47 </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>
61 <version>1.3</version>
62 <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>
vinayakb4df31102013-04-06 18:28:48 +0000102 </plugins>
103 </build>
Michael Blow98ddabc2016-06-16 21:02:29 -0400104 <profiles>
105 <profile>
106 <id>run-tests</id>
107 <activation>
108 <property>
109 <name>!skipTests</name>
110 </property>
111 </activation>
112 <build>
113 <plugins>
114 <plugin>
115 <groupId>org.apache.hyracks</groupId>
116 <artifactId>hyracks-virtualcluster-maven-plugin</artifactId>
Michael Blowf8a882d2016-08-02 01:28:34 -0400117 <version>${project.version}</version>
Michael Blow98ddabc2016-06-16 21:02:29 -0400118 <configuration>
119 <hyracksServerHome>${basedir}/target/textserver-${project.version}-binary-assembly</hyracksServerHome>
120 <jvmOptions>${jvm.extraargs}</jvmOptions>
121 </configuration>
122 <executions>
123 <execution>
124 <id>hyracks-cc-start</id>
125 <phase>pre-integration-test</phase>
126 <goals>
127 <goal>start-cc</goal>
128 </goals>
129 </execution>
130 <execution>
131 <id>hyracks-nc1-start</id>
132 <phase>pre-integration-test</phase>
133 <goals>
134 <goal>start-nc</goal>
135 </goals>
136 <configuration>
137 <nodeId>NC1</nodeId>
138 <dataIpAddress>127.0.0.1</dataIpAddress>
139 <ccHost>localhost</ccHost>
140 </configuration>
141 </execution>
142 <execution>
143 <id>hyracks-nc2-start</id>
144 <phase>pre-integration-test</phase>
145 <goals>
146 <goal>start-nc</goal>
147 </goals>
148 <configuration>
149 <nodeId>NC2</nodeId>
150 <dataIpAddress>127.0.0.1</dataIpAddress>
151 <ccHost>localhost</ccHost>
152 </configuration>
153 </execution>
154 <execution>
155 <id>stop-services</id>
156 <phase>post-integration-test</phase>
157 <goals>
158 <goal>stop-services</goal>
159 </goals>
160 </execution>
161 </executions>
162 </plugin>
163 <plugin>
164 <groupId>org.apache.maven.plugins</groupId>
165 <artifactId>maven-failsafe-plugin</artifactId>
166 <version>2.8.1</version>
167 <executions>
168 <execution>
169 <id>it</id>
170 <phase>integration-test</phase>
171 <goals>
172 <goal>integration-test</goal>
173 </goals>
174 </execution>
175 </executions>
176 </plugin>
177 <plugin>
178 <groupId>org.apache.maven.plugins</groupId>
179 <artifactId>maven-deploy-plugin</artifactId>
180 <configuration>
181 <skip>true</skip>
182 </configuration>
183 </plugin>
184 </plugins>
185 </build>
186 </profile>
187 </profiles>
vinayakb4df31102013-04-06 18:28:48 +0000188 <dependencies>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800189 <dependency>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800190 <groupId>junit</groupId>
191 <artifactId>junit</artifactId>
Michael Blow2da62dc2016-06-30 21:18:37 -0400192 <scope>test</scope>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800193 </dependency>
194 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700195 <groupId>org.apache.hyracks</groupId>
Michael Blowba358122016-10-13 19:56:03 -0400196 <artifactId>textclient</artifactId>
Michael Blowf8a882d2016-08-02 01:28:34 -0400197 <version>${project.version}</version>
Michael Blowba358122016-10-13 19:56:03 -0400198 <scope>test</scope>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800199 </dependency>
200 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700201 <groupId>org.apache.hyracks</groupId>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800202 <artifactId>hyracks-control-nc</artifactId>
Michael Blowf8a882d2016-08-02 01:28:34 -0400203 <version>${project.version}</version>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800204 </dependency>
205 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700206 <groupId>org.apache.hyracks</groupId>
Michael Blowba358122016-10-13 19:56:03 -0400207 <artifactId>hyracks-control-cc</artifactId>
Michael Blowf8a882d2016-08-02 01:28:34 -0400208 <version>${project.version}</version>
Michael Blowba358122016-10-13 19:56:03 -0400209 </dependency>
210 <dependency>
211 <groupId>org.apache.hyracks</groupId>
212 <artifactId>hyracks-dataflow-std</artifactId>
213 <version>${project.version}</version>
214 </dependency>
215 <dependency>
216 <groupId>org.apache.hyracks</groupId>
217 <artifactId>texthelper</artifactId>
218 <version>${project.version}</version>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800219 </dependency>
vinayakb4df31102013-04-06 18:28:48 +0000220 </dependencies>
221</project>