blob: aec77a326bab8e54c55c569df6b0b38b531b9e8c [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 Maxon14be9462016-02-10 14:55:42 -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>
39 <groupId>org.codehaus.mojo</groupId>
40 <artifactId>appassembler-maven-plugin</artifactId>
41 <version>1.3</version>
42 <executions>
43 <execution>
44 <configuration>
45 <programs>
46 <program>
Ian Maxone915e8c2015-07-01 17:03:31 -070047 <mainClass>org.apache.hyracks.control.cc.CCDriver</mainClass>
vinayakb4df31102013-04-06 18:28:48 +000048 <name>hyrackscc</name>
49 </program>
50 <program>
Ian Maxone915e8c2015-07-01 17:03:31 -070051 <mainClass>org.apache.hyracks.control.nc.NCDriver</mainClass>
vinayakb4df31102013-04-06 18:28:48 +000052 <name>hyracksnc</name>
53 </program>
54 </programs>
55 <repositoryLayout>flat</repositoryLayout>
56 <repositoryName>lib</repositoryName>
57 </configuration>
58 <phase>package</phase>
59 <goals>
60 <goal>assemble</goal>
61 </goals>
62 </execution>
63 </executions>
64 </plugin>
65 <plugin>
66 <artifactId>maven-assembly-plugin</artifactId>
67 <version>2.2-beta-5</version>
68 <executions>
69 <execution>
70 <configuration>
71 <descriptors>
72 <descriptor>src/main/assembly/binary-assembly.xml</descriptor>
73 </descriptors>
74 </configuration>
75 <phase>package</phase>
76 <goals>
77 <goal>attached</goal>
78 </goals>
79 </execution>
80 </executions>
81 </plugin>
vinayakb4df31102013-04-06 18:28:48 +000082 </plugins>
83 </build>
Michael Blow98ddabc2016-06-16 21:02:29 -040084 <profiles>
85 <profile>
86 <id>run-tests</id>
87 <activation>
88 <property>
89 <name>!skipTests</name>
90 </property>
91 </activation>
92 <build>
93 <plugins>
94 <plugin>
95 <groupId>org.apache.hyracks</groupId>
96 <artifactId>hyracks-virtualcluster-maven-plugin</artifactId>
Michael Blowf8a882d2016-08-02 01:28:34 -040097 <version>${project.version}</version>
Michael Blow98ddabc2016-06-16 21:02:29 -040098 <configuration>
99 <hyracksServerHome>${basedir}/target/textserver-${project.version}-binary-assembly</hyracksServerHome>
100 <jvmOptions>${jvm.extraargs}</jvmOptions>
101 </configuration>
102 <executions>
103 <execution>
104 <id>hyracks-cc-start</id>
105 <phase>pre-integration-test</phase>
106 <goals>
107 <goal>start-cc</goal>
108 </goals>
109 </execution>
110 <execution>
111 <id>hyracks-nc1-start</id>
112 <phase>pre-integration-test</phase>
113 <goals>
114 <goal>start-nc</goal>
115 </goals>
116 <configuration>
117 <nodeId>NC1</nodeId>
118 <dataIpAddress>127.0.0.1</dataIpAddress>
119 <ccHost>localhost</ccHost>
120 </configuration>
121 </execution>
122 <execution>
123 <id>hyracks-nc2-start</id>
124 <phase>pre-integration-test</phase>
125 <goals>
126 <goal>start-nc</goal>
127 </goals>
128 <configuration>
129 <nodeId>NC2</nodeId>
130 <dataIpAddress>127.0.0.1</dataIpAddress>
131 <ccHost>localhost</ccHost>
132 </configuration>
133 </execution>
134 <execution>
135 <id>stop-services</id>
136 <phase>post-integration-test</phase>
137 <goals>
138 <goal>stop-services</goal>
139 </goals>
140 </execution>
141 </executions>
142 </plugin>
143 <plugin>
144 <groupId>org.apache.maven.plugins</groupId>
145 <artifactId>maven-failsafe-plugin</artifactId>
146 <version>2.8.1</version>
147 <executions>
148 <execution>
149 <id>it</id>
150 <phase>integration-test</phase>
151 <goals>
152 <goal>integration-test</goal>
153 </goals>
154 </execution>
155 </executions>
156 </plugin>
157 <plugin>
158 <groupId>org.apache.maven.plugins</groupId>
159 <artifactId>maven-deploy-plugin</artifactId>
160 <configuration>
161 <skip>true</skip>
162 </configuration>
163 </plugin>
164 </plugins>
165 </build>
166 </profile>
167 </profiles>
vinayakb4df31102013-04-06 18:28:48 +0000168 <dependencies>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800169 <dependency>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800170 <groupId>junit</groupId>
171 <artifactId>junit</artifactId>
Michael Blow2da62dc2016-06-30 21:18:37 -0400172 <scope>test</scope>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800173 </dependency>
174 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700175 <groupId>org.apache.hyracks</groupId>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800176 <artifactId>texthelper</artifactId>
Michael Blowf8a882d2016-08-02 01:28:34 -0400177 <version>${project.version}</version>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800178 <scope>compile</scope>
179 </dependency>
180 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700181 <groupId>org.apache.hyracks</groupId>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800182 <artifactId>hyracks-control-cc</artifactId>
Michael Blowf8a882d2016-08-02 01:28:34 -0400183 <version>${project.version}</version>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800184 <type>jar</type>
185 <scope>compile</scope>
186 </dependency>
187 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700188 <groupId>org.apache.hyracks</groupId>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800189 <artifactId>hyracks-control-nc</artifactId>
Michael Blowf8a882d2016-08-02 01:28:34 -0400190 <version>${project.version}</version>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800191 <type>jar</type>
192 <scope>compile</scope>
193 </dependency>
194 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700195 <groupId>org.apache.hyracks</groupId>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800196 <artifactId>textclient</artifactId>
Michael Blowf8a882d2016-08-02 01:28:34 -0400197 <version>${project.version}</version>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800198 <type>jar</type>
199 <scope>test</scope>
200 </dependency>
vinayakb4df31102013-04-06 18:28:48 +0000201 </dependencies>
202</project>