blob: 6c192079562b94c96b434dbedcef2cdc8f645fd6 [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 Maxon2ce56312023-05-09 12:37:01 -070029 <version>0.3.8.2-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>
Michael Blowba358122016-10-13 19:56:03 -040039 <groupId>org.apache.maven.plugins</groupId>
40 <artifactId>maven-dependency-plugin</artifactId>
Michael Blowba358122016-10-13 19:56:03 -040041 <configuration>
Michael Blow4c7b5bf2017-03-06 21:55:58 -050042 <usedDependencies combine.children="append">
43 <usedDependency>org.apache.hyracks:hyracks-control-nc</usedDependency>
44 <usedDependency>org.apache.hyracks:hyracks-control-cc</usedDependency>
45 </usedDependencies>
Michael Blow84edbf62023-10-23 18:16:53 -040046 <ignoredNonTestScopedDependencies>
47 <ignoredNonTestScopedDependency>org.apache.hyracks:hyracks-ipc:*</ignoredNonTestScopedDependency>
48 <ignoredNonTestScopedDependency>org.apache.hyracks:hyracks-api:*</ignoredNonTestScopedDependency>
49 <ignoredNonTestScopedDependency>org.apache.logging.log4j:log4j-api:*</ignoredNonTestScopedDependency>
50 </ignoredNonTestScopedDependencies>
Michael Blowba358122016-10-13 19:56:03 -040051 </configuration>
52 <executions>
53 <execution>
54 <phase>process-test-classes</phase>
55 <goals>
56 <goal>analyze-only</goal>
57 </goals>
58 </execution>
59 </executions>
60 </plugin>
61 <plugin>
Ianfe9bf232014-06-24 20:14:38 -070062 <groupId>org.codehaus.mojo</groupId>
63 <artifactId>appassembler-maven-plugin</artifactId>
Ianfe9bf232014-06-24 20:14:38 -070064 <executions>
65 <execution>
66 <configuration>
67 <programs>
68 <program>
Ian Maxone915e8c2015-07-01 17:03:31 -070069 <mainClass>org.apache.hyracks.control.cc.CCDriver</mainClass>
Ianfe9bf232014-06-24 20:14:38 -070070 <name>hyrackscc</name>
71 </program>
72 <program>
Ian Maxone915e8c2015-07-01 17:03:31 -070073 <mainClass>org.apache.hyracks.control.nc.NCDriver</mainClass>
Ianfe9bf232014-06-24 20:14:38 -070074 <name>hyracksnc</name>
75 </program>
76 </programs>
77 <repositoryLayout>flat</repositoryLayout>
78 <repositoryName>lib</repositoryName>
79 </configuration>
80 <phase>package</phase>
81 <goals>
82 <goal>assemble</goal>
83 </goals>
84 </execution>
85 </executions>
86 </plugin>
87 <plugin>
88 <artifactId>maven-assembly-plugin</artifactId>
Ianfe9bf232014-06-24 20:14:38 -070089 <executions>
90 <execution>
91 <configuration>
92 <descriptors>
93 <descriptor>src/main/assembly/binary-assembly.xml</descriptor>
94 </descriptors>
95 </configuration>
96 <phase>package</phase>
97 <goals>
Michael Blow0aae1832017-10-29 11:59:47 -040098 <goal>single</goal>
Ianfe9bf232014-06-24 20:14:38 -070099 </goals>
100 </execution>
101 </executions>
102 </plugin>
103
104 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700105 <groupId>org.apache.maven.plugins</groupId>
106 <artifactId>maven-deploy-plugin</artifactId>
107 <configuration>
Ian Maxonbb5dc4c2016-02-02 18:16:30 -0800108 <skip>true</skip>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700109 </configuration>
110 </plugin>
Ianfe9bf232014-06-24 20:14:38 -0700111 </plugins>
112 </build>
Michael Blow98ddabc2016-06-16 21:02:29 -0400113 <profiles>
114 <profile>
115 <id>run-tests</id>
116 <activation>
117 <property>
118 <name>!skipTests</name>
119 </property>
120 </activation>
121 <build>
122 <plugins>
123 <plugin>
124 <groupId>org.apache.hyracks</groupId>
125 <artifactId>hyracks-virtualcluster-maven-plugin</artifactId>
Michael Blowf8a882d2016-08-02 01:28:34 -0400126 <version>${project.version}</version>
Michael Blow98ddabc2016-06-16 21:02:29 -0400127 <configuration>
128 <hyracksServerHome>${basedir}/target/hyracks-shutdown-test-${project.version}-binary-assembly</hyracksServerHome>
129 <jvmOptions>${jvm.extraargs}</jvmOptions>
130 </configuration>
131 <executions>
132 <execution>
133 <id>hyracks-cc-start</id>
134 <phase>pre-integration-test</phase>
135 <goals>
136 <goal>start-cc</goal>
137 </goals>
138 </execution>
139 <execution>
140 <id>hyracks-nc1-start</id>
141 <phase>pre-integration-test</phase>
142 <goals>
143 <goal>start-nc</goal>
144 </goals>
145 <configuration>
146 <nodeId>NC1</nodeId>
147 <dataIpAddress>127.0.0.1</dataIpAddress>
148 <ccHost>localhost</ccHost>
149 </configuration>
150 </execution>
151 <execution>
152 <id>hyracks-nc2-start</id>
153 <phase>pre-integration-test</phase>
154 <goals>
155 <goal>start-nc</goal>
156 </goals>
157 <configuration>
158 <nodeId>NC2</nodeId>
159 <dataIpAddress>127.0.0.1</dataIpAddress>
160 <ccHost>localhost</ccHost>
161 </configuration>
162 </execution>
163 <execution>
164 <id>stop-services</id>
165 <phase>post-integration-test</phase>
166 <goals>
167 <goal>stop-services</goal>
168 </goals>
169 </execution>
170 </executions>
171 </plugin>
172 <plugin>
173 <groupId>org.apache.maven.plugins</groupId>
174 <artifactId>maven-failsafe-plugin</artifactId>
Michael Blow98ddabc2016-06-16 21:02:29 -0400175 <executions>
176 <execution>
177 <id>it</id>
178 <phase>integration-test</phase>
179 <goals>
180 <goal>integration-test</goal>
181 </goals>
182 </execution>
183 </executions>
184 </plugin>
185 </plugins>
186 </build>
187 </profile>
188 </profiles>
Ianfe9bf232014-06-24 20:14:38 -0700189 <dependencies>
190 <dependency>
Ianfe9bf232014-06-24 20:14:38 -0700191 <groupId>junit</groupId>
192 <artifactId>junit</artifactId>
Michael Blow2da62dc2016-06-30 21:18:37 -0400193 <scope>test</scope>
Ianfe9bf232014-06-24 20:14:38 -0700194 </dependency>
195 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700196 <groupId>org.apache.hyracks</groupId>
Michael Blowba358122016-10-13 19:56:03 -0400197 <artifactId>hyracks-ipc</artifactId>
Michael Blowf8a882d2016-08-02 01:28:34 -0400198 <version>${project.version}</version>
Ianfe9bf232014-06-24 20:14:38 -0700199 </dependency>
200 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700201 <groupId>org.apache.hyracks</groupId>
Michael Blowba358122016-10-13 19:56:03 -0400202 <artifactId>hyracks-api</artifactId>
Michael Blowf8a882d2016-08-02 01:28:34 -0400203 <version>${project.version}</version>
Ianfe9bf232014-06-24 20:14:38 -0700204 <type>jar</type>
Ianfe9bf232014-06-24 20:14:38 -0700205 </dependency>
206 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700207 <groupId>org.apache.hyracks</groupId>
Ianfe9bf232014-06-24 20:14:38 -0700208 <artifactId>hyracks-control-nc</artifactId>
Michael Blowf8a882d2016-08-02 01:28:34 -0400209 <version>${project.version}</version>
Ianfe9bf232014-06-24 20:14:38 -0700210 </dependency>
211 <dependency>
Ian Maxone915e8c2015-07-01 17:03:31 -0700212 <groupId>org.apache.hyracks</groupId>
Michael Blowba358122016-10-13 19:56:03 -0400213 <artifactId>hyracks-control-cc</artifactId>
Michael Blowf8a882d2016-08-02 01:28:34 -0400214 <version>${project.version}</version>
Ianfe9bf232014-06-24 20:14:38 -0700215 </dependency>
Murtadha Hubailaf4018d2017-12-15 17:56:38 +0300216 <dependency>
217 <groupId>org.apache.logging.log4j</groupId>
218 <artifactId>log4j-api</artifactId>
219 </dependency>
Ianfe9bf232014-06-24 20:14:38 -0700220 </dependencies>
221</project>