blob: 14ceabbf5b679d80ba5e41b6005256963fcc2bb0 [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>
130 <artifactId>maven-compiler-plugin</artifactId>
131 <version>2.0.2</version>
132 <configuration>
133 <source>1.6</source>
134 <target>1.6</target>
135 </configuration>
136 </plugin>
137 <plugin>
138 <groupId>org.apache.maven.plugins</groupId>
139 <artifactId>maven-failsafe-plugin</artifactId>
140 <version>2.8.1</version>
141 <executions>
142 <execution>
143 <id>it</id>
144 <phase>integration-test</phase>
145 <goals>
146 <goal>integration-test</goal>
147 </goals>
148 </execution>
149 </executions>
150 </plugin>
151 </plugins>
152 </build>
153 <dependencies>
154 <dependency>
155 <!-- Dependency management inherited from top-level hyracks -->
156 <groupId>junit</groupId>
157 <artifactId>junit</artifactId>
158 </dependency>
159 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700160 <groupId>org.apache.hyracks</groupId>
Ianfe9bf232014-06-24 20:14:38 -0700161 <artifactId>texthelper</artifactId>
Ian Maxond4daeb42015-09-15 14:31:32 -0700162 <version>0.2.17-SNAPSHOT</version>
Ianfe9bf232014-06-24 20:14:38 -0700163 <scope>compile</scope>
164 </dependency>
165 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700166 <groupId>org.apache.hyracks</groupId>
Ianfe9bf232014-06-24 20:14:38 -0700167 <artifactId>hyracks-control-cc</artifactId>
Ian Maxond4daeb42015-09-15 14:31:32 -0700168 <version>0.2.17-SNAPSHOT</version>
Ianfe9bf232014-06-24 20:14:38 -0700169 <type>jar</type>
170 <scope>compile</scope>
171 </dependency>
172 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700173 <groupId>org.apache.hyracks</groupId>
Ianfe9bf232014-06-24 20:14:38 -0700174 <artifactId>hyracks-control-nc</artifactId>
Ian Maxond4daeb42015-09-15 14:31:32 -0700175 <version>0.2.17-SNAPSHOT</version>
Ianfe9bf232014-06-24 20:14:38 -0700176 <type>jar</type>
177 <scope>compile</scope>
178 </dependency>
179 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700180 <groupId>org.apache.hyracks</groupId>
Ianfe9bf232014-06-24 20:14:38 -0700181 <artifactId>textclient</artifactId>
Ian Maxond4daeb42015-09-15 14:31:32 -0700182 <version>0.2.17-SNAPSHOT</version>
Ianfe9bf232014-06-24 20:14:38 -0700183 <type>jar</type>
184 <scope>test</scope>
185 </dependency>
186 </dependencies>
187</project>