blob: 31ea2354da6396347758c9f25a3bdd734e07cd12 [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 Maxond4daeb42015-09-15 14:31:32 -070029 <version>0.2.17-SNAPSHOT</version>
Ianfe9bf232014-06-24 20:14:38 -070030 </parent>
31
32 <build>
33 <plugins>
34 <plugin>
35 <groupId>org.codehaus.mojo</groupId>
36 <artifactId>appassembler-maven-plugin</artifactId>
37 <version>1.3</version>
38 <executions>
39 <execution>
40 <configuration>
41 <programs>
42 <program>
Ian Maxone915e8c2015-07-01 17:03:31 -070043 <mainClass>org.apache.hyracks.control.cc.CCDriver</mainClass>
Ianfe9bf232014-06-24 20:14:38 -070044 <name>hyrackscc</name>
45 </program>
46 <program>
Ian Maxone915e8c2015-07-01 17:03:31 -070047 <mainClass>org.apache.hyracks.control.nc.NCDriver</mainClass>
Ianfe9bf232014-06-24 20:14:38 -070048 <name>hyracksnc</name>
49 </program>
50 </programs>
51 <repositoryLayout>flat</repositoryLayout>
52 <repositoryName>lib</repositoryName>
53 </configuration>
54 <phase>package</phase>
55 <goals>
56 <goal>assemble</goal>
57 </goals>
58 </execution>
59 </executions>
60 </plugin>
61 <plugin>
62 <artifactId>maven-assembly-plugin</artifactId>
63 <version>2.2-beta-5</version>
64 <executions>
65 <execution>
66 <configuration>
67 <descriptors>
68 <descriptor>src/main/assembly/binary-assembly.xml</descriptor>
69 </descriptors>
70 </configuration>
71 <phase>package</phase>
72 <goals>
73 <goal>attached</goal>
74 </goals>
75 </execution>
76 </executions>
77 </plugin>
78
79 <plugin>
Ian Maxone915e8c2015-07-01 17:03:31 -070080 <groupId>org.apache.hyracks</groupId>
Ianfe9bf232014-06-24 20:14:38 -070081 <artifactId>hyracks-virtualcluster-maven-plugin</artifactId>
Ian Maxond4daeb42015-09-15 14:31:32 -070082 <version>0.2.17-SNAPSHOT</version>
Ianfe9bf232014-06-24 20:14:38 -070083 <configuration>
84 <hyracksServerHome>${basedir}/target/hyracks-shutdown-test-${project.version}-binary-assembly</hyracksServerHome>
85 <jvmOptions>${jvm.extraargs}</jvmOptions>
86 </configuration>
87 <executions>
88 <execution>
89 <id>hyracks-cc-start</id>
90 <phase>pre-integration-test</phase>
91 <goals>
92 <goal>start-cc</goal>
93 </goals>
94 </execution>
95 <execution>
96 <id>hyracks-nc1-start</id>
97 <phase>pre-integration-test</phase>
98 <goals>
99 <goal>start-nc</goal>
100 </goals>
101 <configuration>
102 <nodeId>NC1</nodeId>
103 <dataIpAddress>127.0.0.1</dataIpAddress>
104 <ccHost>localhost</ccHost>
105 </configuration>
106 </execution>
107 <execution>
108 <id>hyracks-nc2-start</id>
109 <phase>pre-integration-test</phase>
110 <goals>
111 <goal>start-nc</goal>
112 </goals>
113 <configuration>
114 <nodeId>NC2</nodeId>
115 <dataIpAddress>127.0.0.1</dataIpAddress>
116 <ccHost>localhost</ccHost>
117 </configuration>
118 </execution>
119 <execution>
120 <id>stop-services</id>
121 <phase>post-integration-test</phase>
122 <goals>
123 <goal>stop-services</goal>
124 </goals>
125 </execution>
126 </executions>
127 </plugin>
128 <plugin>
129 <groupId>org.apache.maven.plugins</groupId>
Ianfe9bf232014-06-24 20:14:38 -0700130 <artifactId>maven-failsafe-plugin</artifactId>
131 <version>2.8.1</version>
132 <executions>
133 <execution>
134 <id>it</id>
135 <phase>integration-test</phase>
136 <goals>
137 <goal>integration-test</goal>
138 </goals>
139 </execution>
140 </executions>
141 </plugin>
142 </plugins>
143 </build>
144 <dependencies>
145 <dependency>
Ianfe9bf232014-06-24 20:14:38 -0700146 <groupId>junit</groupId>
147 <artifactId>junit</artifactId>
148 </dependency>
149 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700150 <groupId>org.apache.hyracks</groupId>
Ianfe9bf232014-06-24 20:14:38 -0700151 <artifactId>texthelper</artifactId>
Ian Maxond4daeb42015-09-15 14:31:32 -0700152 <version>0.2.17-SNAPSHOT</version>
Ianfe9bf232014-06-24 20:14:38 -0700153 <scope>compile</scope>
154 </dependency>
155 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700156 <groupId>org.apache.hyracks</groupId>
Ianfe9bf232014-06-24 20:14:38 -0700157 <artifactId>hyracks-control-cc</artifactId>
Ian Maxond4daeb42015-09-15 14:31:32 -0700158 <version>0.2.17-SNAPSHOT</version>
Ianfe9bf232014-06-24 20:14:38 -0700159 <type>jar</type>
160 <scope>compile</scope>
161 </dependency>
162 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700163 <groupId>org.apache.hyracks</groupId>
Ianfe9bf232014-06-24 20:14:38 -0700164 <artifactId>hyracks-control-nc</artifactId>
Ian Maxond4daeb42015-09-15 14:31:32 -0700165 <version>0.2.17-SNAPSHOT</version>
Ianfe9bf232014-06-24 20:14:38 -0700166 <type>jar</type>
167 <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>textclient</artifactId>
Ian Maxond4daeb42015-09-15 14:31:32 -0700172 <version>0.2.17-SNAPSHOT</version>
Ianfe9bf232014-06-24 20:14:38 -0700173 <type>jar</type>
174 <scope>test</scope>
175 </dependency>
176 </dependencies>
177</project>