blob: bca0839ed4f935757705e20a557c643a564a519c [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 Maxond4daeb42015-09-15 14:31:32 -070029 <version>0.2.17-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 Maxond4daeb42015-09-15 14:31:32 -070085 <version>0.2.17-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>
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>
154 </plugins>
155 </build>
156 <dependencies>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800157 <dependency>
158 <!-- Dependency management inherited from top-level hyracks -->
159 <groupId>junit</groupId>
160 <artifactId>junit</artifactId>
161 </dependency>
162 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700163 <groupId>org.apache.hyracks</groupId>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800164 <artifactId>texthelper</artifactId>
Ian Maxond4daeb42015-09-15 14:31:32 -0700165 <version>0.2.17-SNAPSHOT</version>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800166 <scope>compile</scope>
167 </dependency>
168 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700169 <groupId>org.apache.hyracks</groupId>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800170 <artifactId>hyracks-control-cc</artifactId>
Ian Maxond4daeb42015-09-15 14:31:32 -0700171 <version>0.2.17-SNAPSHOT</version>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800172 <type>jar</type>
173 <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-nc</artifactId>
Ian Maxond4daeb42015-09-15 14:31:32 -0700178 <version>0.2.17-SNAPSHOT</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>textclient</artifactId>
Ian Maxond4daeb42015-09-15 14:31:32 -0700185 <version>0.2.17-SNAPSHOT</version>
Chris Hilleryb531ce32014-02-20 16:39:25 -0800186 <type>jar</type>
187 <scope>test</scope>
188 </dependency>
vinayakb4df31102013-04-06 18:28:48 +0000189 </dependencies>
190</project>