blob: 711c1836b8af920baf1f326d8074702cbe41efac [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>
Michael Blowb4c1fb02016-05-09 15:41:00 -070033 <root.dir>${basedir}/../../..</root.dir>
Ian Maxon9e37c962015-11-25 07:38:37 -080034 </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>
Michael Blowb4c1fb02016-05-09 15:41:00 -070084 <groupId>org.apache.maven.plugins</groupId>
85 <artifactId>maven-deploy-plugin</artifactId>
86 <configuration>
Ian Maxonbb5dc4c2016-02-02 18:16:30 -080087 <skip>true</skip>
Michael Blowb4c1fb02016-05-09 15:41:00 -070088 </configuration>
89 </plugin>
Ianfe9bf232014-06-24 20:14:38 -070090 </plugins>
91 </build>
Michael Blow98ddabc2016-06-16 21:02:29 -040092 <profiles>
93 <profile>
94 <id>run-tests</id>
95 <activation>
96 <property>
97 <name>!skipTests</name>
98 </property>
99 </activation>
100 <build>
101 <plugins>
102 <plugin>
103 <groupId>org.apache.hyracks</groupId>
104 <artifactId>hyracks-virtualcluster-maven-plugin</artifactId>
Michael Blowf8a882d2016-08-02 01:28:34 -0400105 <version>${project.version}</version>
Michael Blow98ddabc2016-06-16 21:02:29 -0400106 <configuration>
107 <hyracksServerHome>${basedir}/target/hyracks-shutdown-test-${project.version}-binary-assembly</hyracksServerHome>
108 <jvmOptions>${jvm.extraargs}</jvmOptions>
109 </configuration>
110 <executions>
111 <execution>
112 <id>hyracks-cc-start</id>
113 <phase>pre-integration-test</phase>
114 <goals>
115 <goal>start-cc</goal>
116 </goals>
117 </execution>
118 <execution>
119 <id>hyracks-nc1-start</id>
120 <phase>pre-integration-test</phase>
121 <goals>
122 <goal>start-nc</goal>
123 </goals>
124 <configuration>
125 <nodeId>NC1</nodeId>
126 <dataIpAddress>127.0.0.1</dataIpAddress>
127 <ccHost>localhost</ccHost>
128 </configuration>
129 </execution>
130 <execution>
131 <id>hyracks-nc2-start</id>
132 <phase>pre-integration-test</phase>
133 <goals>
134 <goal>start-nc</goal>
135 </goals>
136 <configuration>
137 <nodeId>NC2</nodeId>
138 <dataIpAddress>127.0.0.1</dataIpAddress>
139 <ccHost>localhost</ccHost>
140 </configuration>
141 </execution>
142 <execution>
143 <id>stop-services</id>
144 <phase>post-integration-test</phase>
145 <goals>
146 <goal>stop-services</goal>
147 </goals>
148 </execution>
149 </executions>
150 </plugin>
151 <plugin>
152 <groupId>org.apache.maven.plugins</groupId>
153 <artifactId>maven-failsafe-plugin</artifactId>
154 <version>2.8.1</version>
155 <executions>
156 <execution>
157 <id>it</id>
158 <phase>integration-test</phase>
159 <goals>
160 <goal>integration-test</goal>
161 </goals>
162 </execution>
163 </executions>
164 </plugin>
165 </plugins>
166 </build>
167 </profile>
168 </profiles>
Ianfe9bf232014-06-24 20:14:38 -0700169 <dependencies>
170 <dependency>
Ianfe9bf232014-06-24 20:14:38 -0700171 <groupId>junit</groupId>
172 <artifactId>junit</artifactId>
Michael Blow2da62dc2016-06-30 21:18:37 -0400173 <scope>test</scope>
Ianfe9bf232014-06-24 20:14:38 -0700174 </dependency>
175 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700176 <groupId>org.apache.hyracks</groupId>
Ianfe9bf232014-06-24 20:14:38 -0700177 <artifactId>texthelper</artifactId>
Michael Blowf8a882d2016-08-02 01:28:34 -0400178 <version>${project.version}</version>
Ianfe9bf232014-06-24 20:14:38 -0700179 <scope>compile</scope>
180 </dependency>
181 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700182 <groupId>org.apache.hyracks</groupId>
Ianfe9bf232014-06-24 20:14:38 -0700183 <artifactId>hyracks-control-cc</artifactId>
Michael Blowf8a882d2016-08-02 01:28:34 -0400184 <version>${project.version}</version>
Ianfe9bf232014-06-24 20:14:38 -0700185 <type>jar</type>
186 <scope>compile</scope>
187 </dependency>
188 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700189 <groupId>org.apache.hyracks</groupId>
Ianfe9bf232014-06-24 20:14:38 -0700190 <artifactId>hyracks-control-nc</artifactId>
Michael Blowf8a882d2016-08-02 01:28:34 -0400191 <version>${project.version}</version>
Ianfe9bf232014-06-24 20:14:38 -0700192 <type>jar</type>
193 <scope>compile</scope>
194 </dependency>
195 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700196 <groupId>org.apache.hyracks</groupId>
Ianfe9bf232014-06-24 20:14:38 -0700197 <artifactId>textclient</artifactId>
Michael Blowf8a882d2016-08-02 01:28:34 -0400198 <version>${project.version}</version>
Ianfe9bf232014-06-24 20:14:38 -0700199 <type>jar</type>
200 <scope>test</scope>
201 </dependency>
202 </dependencies>
203</project>