blob: ab7e69c1922b0eb2ec194819a46d9fdb3e1bb964 [file] [log] [blame]
Ianfe9bf232014-06-24 20:14:38 -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.
Ianfe9bf232014-06-24 20:14:38 -070018 !-->
Ian Maxond8857792015-09-11 14:19:53 -070019
Ianfe9bf232014-06-24 20:14:38 -070020<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>
Ianfe9bf232014-06-24 20:14:38 -070023 <artifactId>hyracks-shutdown-test</artifactId>
24 <name>hyracks-shutdown-test</name>
25
26 <parent>
Ian Maxone915e8c2015-07-01 17:03:31 -070027 <groupId>org.apache.hyracks</groupId>
Ianfe9bf232014-06-24 20:14:38 -070028 <artifactId>hyracks-examples</artifactId>
Ian Maxon14be9462016-02-10 14:55:42 -080029 <version>0.2.18-SNAPSHOT</version>
Ianfe9bf232014-06-24 20:14:38 -070030 </parent>
31
Ian Maxon9e37c962015-11-25 07:38:37 -080032 <properties>
33 <root.dir>${basedir}/../../..</root.dir>
34 </properties>
35
Ianfe9bf232014-06-24 20:14:38 -070036 <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>
Ianfe9bf232014-06-24 20:14:38 -070048 <name>hyrackscc</name>
49 </program>
50 <program>
Ian Maxone915e8c2015-07-01 17:03:31 -070051 <mainClass>org.apache.hyracks.control.nc.NCDriver</mainClass>
Ianfe9bf232014-06-24 20:14:38 -070052 <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
83 <plugin>
Ian Maxone915e8c2015-07-01 17:03:31 -070084 <groupId>org.apache.hyracks</groupId>
Ianfe9bf232014-06-24 20:14:38 -070085 <artifactId>hyracks-virtualcluster-maven-plugin</artifactId>
Ian Maxon14be9462016-02-10 14:55:42 -080086 <version>0.2.18-SNAPSHOT</version>
Ianfe9bf232014-06-24 20:14:38 -070087 <configuration>
88 <hyracksServerHome>${basedir}/target/hyracks-shutdown-test-${project.version}-binary-assembly</hyracksServerHome>
89 <jvmOptions>${jvm.extraargs}</jvmOptions>
90 </configuration>
91 <executions>
92 <execution>
93 <id>hyracks-cc-start</id>
94 <phase>pre-integration-test</phase>
95 <goals>
96 <goal>start-cc</goal>
97 </goals>
98 </execution>
99 <execution>
100 <id>hyracks-nc1-start</id>
101 <phase>pre-integration-test</phase>
102 <goals>
103 <goal>start-nc</goal>
104 </goals>
105 <configuration>
106 <nodeId>NC1</nodeId>
107 <dataIpAddress>127.0.0.1</dataIpAddress>
108 <ccHost>localhost</ccHost>
109 </configuration>
110 </execution>
111 <execution>
112 <id>hyracks-nc2-start</id>
113 <phase>pre-integration-test</phase>
114 <goals>
115 <goal>start-nc</goal>
116 </goals>
117 <configuration>
118 <nodeId>NC2</nodeId>
119 <dataIpAddress>127.0.0.1</dataIpAddress>
120 <ccHost>localhost</ccHost>
121 </configuration>
122 </execution>
123 <execution>
124 <id>stop-services</id>
125 <phase>post-integration-test</phase>
126 <goals>
127 <goal>stop-services</goal>
128 </goals>
129 </execution>
130 </executions>
131 </plugin>
132 <plugin>
133 <groupId>org.apache.maven.plugins</groupId>
134 <artifactId>maven-compiler-plugin</artifactId>
135 <version>2.0.2</version>
136 <configuration>
137 <source>1.6</source>
138 <target>1.6</target>
139 </configuration>
140 </plugin>
141 <plugin>
142 <groupId>org.apache.maven.plugins</groupId>
143 <artifactId>maven-failsafe-plugin</artifactId>
144 <version>2.8.1</version>
145 <executions>
146 <execution>
147 <id>it</id>
148 <phase>integration-test</phase>
149 <goals>
150 <goal>integration-test</goal>
151 </goals>
152 </execution>
153 </executions>
154 </plugin>
Ian Maxonbb5dc4c2016-02-02 18:16:30 -0800155 <plugin>
156 <groupId>org.apache.maven.plugins</groupId>
157 <artifactId>maven-deploy-plugin</artifactId>
158 <configuration>
159 <skip>true</skip>
160 </configuration>
161 </plugin>
Ianfe9bf232014-06-24 20:14:38 -0700162 </plugins>
163 </build>
164 <dependencies>
165 <dependency>
166 <!-- Dependency management inherited from top-level hyracks -->
167 <groupId>junit</groupId>
168 <artifactId>junit</artifactId>
169 </dependency>
170 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700171 <groupId>org.apache.hyracks</groupId>
Ianfe9bf232014-06-24 20:14:38 -0700172 <artifactId>texthelper</artifactId>
Ian Maxon14be9462016-02-10 14:55:42 -0800173 <version>0.2.18-SNAPSHOT</version>
Ianfe9bf232014-06-24 20:14:38 -0700174 <scope>compile</scope>
175 </dependency>
176 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700177 <groupId>org.apache.hyracks</groupId>
Ianfe9bf232014-06-24 20:14:38 -0700178 <artifactId>hyracks-control-cc</artifactId>
Ian Maxon14be9462016-02-10 14:55:42 -0800179 <version>0.2.18-SNAPSHOT</version>
Ianfe9bf232014-06-24 20:14:38 -0700180 <type>jar</type>
181 <scope>compile</scope>
182 </dependency>
183 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700184 <groupId>org.apache.hyracks</groupId>
Ianfe9bf232014-06-24 20:14:38 -0700185 <artifactId>hyracks-control-nc</artifactId>
Ian Maxon14be9462016-02-10 14:55:42 -0800186 <version>0.2.18-SNAPSHOT</version>
Ianfe9bf232014-06-24 20:14:38 -0700187 <type>jar</type>
188 <scope>compile</scope>
189 </dependency>
190 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700191 <groupId>org.apache.hyracks</groupId>
Ianfe9bf232014-06-24 20:14:38 -0700192 <artifactId>textclient</artifactId>
Ian Maxon14be9462016-02-10 14:55:42 -0800193 <version>0.2.18-SNAPSHOT</version>
Ianfe9bf232014-06-24 20:14:38 -0700194 <type>jar</type>
195 <scope>test</scope>
196 </dependency>
197 </dependencies>
198</project>