blob: e55b99fa76a07b18964791818b182163a3841ee5 [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>
33 <root.dir>${basedir}/../../../..</root.dir>
34 </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>
82 <plugin>
Ian Maxone915e8c2015-07-01 17:03:31 -070083 <groupId>org.apache.hyracks</groupId>
vinayakb4df31102013-04-06 18:28:48 +000084 <artifactId>hyracks-virtualcluster-maven-plugin</artifactId>
Ian Maxon14be9462016-02-10 14:55:42 -080085 <version>0.2.18-SNAPSHOT</version>
vinayakb4df31102013-04-06 18:28:48 +000086 <configuration>
87 <hyracksServerHome>${basedir}/target/textserver-${project.version}-binary-assembly</hyracksServerHome>
88 <jvmOptions>${jvm.extraargs}</jvmOptions>
89 </configuration>
90 <executions>
91 <execution>
92 <id>hyracks-cc-start</id>
93 <phase>pre-integration-test</phase>
94 <goals>
95 <goal>start-cc</goal>
96 </goals>
97 </execution>
98 <execution>
99 <id>hyracks-nc1-start</id>
100 <phase>pre-integration-test</phase>
101 <goals>
102 <goal>start-nc</goal>
103 </goals>
104 <configuration>
105 <nodeId>NC1</nodeId>
106 <dataIpAddress>127.0.0.1</dataIpAddress>
107 <ccHost>localhost</ccHost>
108 </configuration>
109 </execution>
110 <execution>
111 <id>hyracks-nc2-start</id>
112 <phase>pre-integration-test</phase>
113 <goals>
114 <goal>start-nc</goal>
115 </goals>
116 <configuration>
117 <nodeId>NC2</nodeId>
118 <dataIpAddress>127.0.0.1</dataIpAddress>
119 <ccHost>localhost</ccHost>
120 </configuration>
121 </execution>
122 <execution>
123 <id>stop-services</id>
124 <phase>post-integration-test</phase>
125 <goals>
126 <goal>stop-services</goal>
127 </goals>
128 </execution>
129 </executions>
130 </plugin>
131 <plugin>
132 <groupId>org.apache.maven.plugins</groupId>
vinayakb4df31102013-04-06 18:28:48 +0000133 <artifactId>maven-failsafe-plugin</artifactId>
134 <version>2.8.1</version>
135 <executions>
136 <execution>
137 <id>it</id>
138 <phase>integration-test</phase>
139 <goals>
140 <goal>integration-test</goal>
141 </goals>
142 </execution>
143 </executions>
144 </plugin>
Ian Maxonbb5dc4c2016-02-02 18:16:30 -0800145 <plugin>
146 <groupId>org.apache.maven.plugins</groupId>
147 <artifactId>maven-deploy-plugin</artifactId>
148 <configuration>
149 <skip>true</skip>
150 </configuration>
151 </plugin>
vinayakb4df31102013-04-06 18:28:48 +0000152 </plugins>
153 </build>
154 <dependencies>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800155 <dependency>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800156 <groupId>junit</groupId>
157 <artifactId>junit</artifactId>
158 </dependency>
159 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700160 <groupId>org.apache.hyracks</groupId>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800161 <artifactId>texthelper</artifactId>
Ian Maxon14be9462016-02-10 14:55:42 -0800162 <version>0.2.18-SNAPSHOT</version>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800163 <scope>compile</scope>
164 </dependency>
165 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700166 <groupId>org.apache.hyracks</groupId>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800167 <artifactId>hyracks-control-cc</artifactId>
Ian Maxon14be9462016-02-10 14:55:42 -0800168 <version>0.2.18-SNAPSHOT</version>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800169 <type>jar</type>
170 <scope>compile</scope>
171 </dependency>
172 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700173 <groupId>org.apache.hyracks</groupId>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800174 <artifactId>hyracks-control-nc</artifactId>
Ian Maxon14be9462016-02-10 14:55:42 -0800175 <version>0.2.18-SNAPSHOT</version>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800176 <type>jar</type>
177 <scope>compile</scope>
178 </dependency>
179 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700180 <groupId>org.apache.hyracks</groupId>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800181 <artifactId>textclient</artifactId>
Ian Maxon14be9462016-02-10 14:55:42 -0800182 <version>0.2.18-SNAPSHOT</version>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800183 <type>jar</type>
184 <scope>test</scope>
185 </dependency>
vinayakb4df31102013-04-06 18:28:48 +0000186 </dependencies>
187</project>