blob: 62fde55c8aa26c39fd46ed8d78fbd7d8f566b650 [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>
Ianfe9bf232014-06-24 20:14:38 -0700134 <artifactId>maven-failsafe-plugin</artifactId>
135 <version>2.8.1</version>
136 <executions>
137 <execution>
138 <id>it</id>
139 <phase>integration-test</phase>
140 <goals>
141 <goal>integration-test</goal>
142 </goals>
143 </execution>
144 </executions>
145 </plugin>
Ian Maxonbb5dc4c2016-02-02 18:16:30 -0800146 <plugin>
147 <groupId>org.apache.maven.plugins</groupId>
148 <artifactId>maven-deploy-plugin</artifactId>
149 <configuration>
150 <skip>true</skip>
151 </configuration>
152 </plugin>
Ianfe9bf232014-06-24 20:14:38 -0700153 </plugins>
154 </build>
155 <dependencies>
156 <dependency>
Ianfe9bf232014-06-24 20:14:38 -0700157 <groupId>junit</groupId>
158 <artifactId>junit</artifactId>
159 </dependency>
160 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700161 <groupId>org.apache.hyracks</groupId>
Ianfe9bf232014-06-24 20:14:38 -0700162 <artifactId>texthelper</artifactId>
Ian Maxon14be9462016-02-10 14:55:42 -0800163 <version>0.2.18-SNAPSHOT</version>
Ianfe9bf232014-06-24 20:14:38 -0700164 <scope>compile</scope>
165 </dependency>
166 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700167 <groupId>org.apache.hyracks</groupId>
Ianfe9bf232014-06-24 20:14:38 -0700168 <artifactId>hyracks-control-cc</artifactId>
Ian Maxon14be9462016-02-10 14:55:42 -0800169 <version>0.2.18-SNAPSHOT</version>
Ianfe9bf232014-06-24 20:14:38 -0700170 <type>jar</type>
171 <scope>compile</scope>
172 </dependency>
173 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700174 <groupId>org.apache.hyracks</groupId>
Ianfe9bf232014-06-24 20:14:38 -0700175 <artifactId>hyracks-control-nc</artifactId>
Ian Maxon14be9462016-02-10 14:55:42 -0800176 <version>0.2.18-SNAPSHOT</version>
Ianfe9bf232014-06-24 20:14:38 -0700177 <type>jar</type>
178 <scope>compile</scope>
179 </dependency>
180 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700181 <groupId>org.apache.hyracks</groupId>
Ianfe9bf232014-06-24 20:14:38 -0700182 <artifactId>textclient</artifactId>
Ian Maxon14be9462016-02-10 14:55:42 -0800183 <version>0.2.18-SNAPSHOT</version>
Ianfe9bf232014-06-24 20:14:38 -0700184 <type>jar</type>
185 <scope>test</scope>
186 </dependency>
187 </dependencies>
188</project>