blob: 753dddecdc89f3d9383c8c361409406d50de4310 [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 Maxonfe7d5512016-02-02 10:38:56 -080029 <version>0.2.17-incubating</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 Maxonfe7d5512016-02-02 10:38:56 -080086 <version>0.2.17-incubating</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>
155 </plugins>
156 </build>
157 <dependencies>
158 <dependency>
159 <!-- Dependency management inherited from top-level hyracks -->
160 <groupId>junit</groupId>
161 <artifactId>junit</artifactId>
162 </dependency>
163 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700164 <groupId>org.apache.hyracks</groupId>
Ianfe9bf232014-06-24 20:14:38 -0700165 <artifactId>texthelper</artifactId>
Ian Maxonfe7d5512016-02-02 10:38:56 -0800166 <version>0.2.17-incubating</version>
Ianfe9bf232014-06-24 20:14:38 -0700167 <scope>compile</scope>
168 </dependency>
169 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700170 <groupId>org.apache.hyracks</groupId>
Ianfe9bf232014-06-24 20:14:38 -0700171 <artifactId>hyracks-control-cc</artifactId>
Ian Maxonfe7d5512016-02-02 10:38:56 -0800172 <version>0.2.17-incubating</version>
Ianfe9bf232014-06-24 20:14:38 -0700173 <type>jar</type>
174 <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-nc</artifactId>
Ian Maxonfe7d5512016-02-02 10:38:56 -0800179 <version>0.2.17-incubating</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>textclient</artifactId>
Ian Maxonfe7d5512016-02-02 10:38:56 -0800186 <version>0.2.17-incubating</version>
Ianfe9bf232014-06-24 20:14:38 -0700187 <type>jar</type>
188 <scope>test</scope>
189 </dependency>
190 </dependencies>
191</project>