blob: f35495e78549816be32ea9c8dc223d9ba1779393 [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 Maxon3945f242016-02-10 14:55:31 -080029 <version>0.2.17-incubating</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 Maxon3945f242016-02-10 14:55:31 -080085 <version>0.2.17-incubating</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>
133 <artifactId>maven-compiler-plugin</artifactId>
134 <version>2.0.2</version>
135 <configuration>
136 <source>1.6</source>
137 <target>1.6</target>
138 </configuration>
139 </plugin>
140 <plugin>
141 <groupId>org.apache.maven.plugins</groupId>
142 <artifactId>maven-failsafe-plugin</artifactId>
143 <version>2.8.1</version>
144 <executions>
145 <execution>
146 <id>it</id>
147 <phase>integration-test</phase>
148 <goals>
149 <goal>integration-test</goal>
150 </goals>
151 </execution>
152 </executions>
153 </plugin>
Ian Maxonbb5dc4c2016-02-02 18:16:30 -0800154 <plugin>
155 <groupId>org.apache.maven.plugins</groupId>
156 <artifactId>maven-deploy-plugin</artifactId>
157 <configuration>
158 <skip>true</skip>
159 </configuration>
160 </plugin>
vinayakb4df31102013-04-06 18:28:48 +0000161 </plugins>
162 </build>
163 <dependencies>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800164 <dependency>
165 <!-- Dependency management inherited from top-level hyracks -->
166 <groupId>junit</groupId>
167 <artifactId>junit</artifactId>
168 </dependency>
169 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700170 <groupId>org.apache.hyracks</groupId>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800171 <artifactId>texthelper</artifactId>
Ian Maxon3945f242016-02-10 14:55:31 -0800172 <version>0.2.17-incubating</version>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800173 <scope>compile</scope>
174 </dependency>
175 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700176 <groupId>org.apache.hyracks</groupId>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800177 <artifactId>hyracks-control-cc</artifactId>
Ian Maxon3945f242016-02-10 14:55:31 -0800178 <version>0.2.17-incubating</version>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800179 <type>jar</type>
180 <scope>compile</scope>
181 </dependency>
182 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700183 <groupId>org.apache.hyracks</groupId>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800184 <artifactId>hyracks-control-nc</artifactId>
Ian Maxon3945f242016-02-10 14:55:31 -0800185 <version>0.2.17-incubating</version>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800186 <type>jar</type>
187 <scope>compile</scope>
188 </dependency>
189 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700190 <groupId>org.apache.hyracks</groupId>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800191 <artifactId>textclient</artifactId>
Ian Maxon3945f242016-02-10 14:55:31 -0800192 <version>0.2.17-incubating</version>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800193 <type>jar</type>
194 <scope>test</scope>
195 </dependency>
vinayakb4df31102013-04-06 18:28:48 +0000196 </dependencies>
197</project>