Ian | fe9bf23 | 2014-06-24 20:14:38 -0700 | [diff] [blame] | 1 | <!-- |
Ian Maxon | d885779 | 2015-09-11 14:19:53 -0700 | [diff] [blame] | 2 | ! 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. |
Ian | fe9bf23 | 2014-06-24 20:14:38 -0700 | [diff] [blame] | 18 | !--> |
Ian Maxon | d885779 | 2015-09-11 14:19:53 -0700 | [diff] [blame] | 19 | |
Ian | fe9bf23 | 2014-06-24 20:14:38 -0700 | [diff] [blame] | 20 | <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 Maxon | e915e8c | 2015-07-01 17:03:31 -0700 | [diff] [blame] | 22 | <groupId>org.apache.hyracks.examples.text</groupId> |
Ian | fe9bf23 | 2014-06-24 20:14:38 -0700 | [diff] [blame] | 23 | <artifactId>hyracks-shutdown-test</artifactId> |
| 24 | <name>hyracks-shutdown-test</name> |
| 25 | |
| 26 | <parent> |
Ian Maxon | e915e8c | 2015-07-01 17:03:31 -0700 | [diff] [blame] | 27 | <groupId>org.apache.hyracks</groupId> |
Ian | fe9bf23 | 2014-06-24 20:14:38 -0700 | [diff] [blame] | 28 | <artifactId>hyracks-examples</artifactId> |
AsterixDB Jenkins | a968d53 | 2017-08-07 17:22:47 -0700 | [diff] [blame^] | 29 | <version>0.3.2</version> |
Ian | fe9bf23 | 2014-06-24 20:14:38 -0700 | [diff] [blame] | 30 | </parent> |
| 31 | |
Ian Maxon | 9e37c96 | 2015-11-25 07:38:37 -0800 | [diff] [blame] | 32 | <properties> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 33 | <root.dir>${basedir}/../../..</root.dir> |
Ian Maxon | 9e37c96 | 2015-11-25 07:38:37 -0800 | [diff] [blame] | 34 | </properties> |
| 35 | |
Ian | fe9bf23 | 2014-06-24 20:14:38 -0700 | [diff] [blame] | 36 | <build> |
| 37 | <plugins> |
| 38 | <plugin> |
Michael Blow | ba35812 | 2016-10-13 19:56:03 -0400 | [diff] [blame] | 39 | <groupId>org.apache.maven.plugins</groupId> |
| 40 | <artifactId>maven-dependency-plugin</artifactId> |
| 41 | <version>2.10</version> |
| 42 | <configuration> |
Michael Blow | 4c7b5bf | 2017-03-06 21:55:58 -0500 | [diff] [blame] | 43 | <usedDependencies combine.children="append"> |
| 44 | <usedDependency>org.apache.hyracks:hyracks-control-nc</usedDependency> |
| 45 | <usedDependency>org.apache.hyracks:hyracks-control-cc</usedDependency> |
| 46 | </usedDependencies> |
Michael Blow | ba35812 | 2016-10-13 19:56:03 -0400 | [diff] [blame] | 47 | </configuration> |
| 48 | <executions> |
| 49 | <execution> |
| 50 | <phase>process-test-classes</phase> |
| 51 | <goals> |
| 52 | <goal>analyze-only</goal> |
| 53 | </goals> |
| 54 | </execution> |
| 55 | </executions> |
| 56 | </plugin> |
| 57 | <plugin> |
Ian | fe9bf23 | 2014-06-24 20:14:38 -0700 | [diff] [blame] | 58 | <groupId>org.codehaus.mojo</groupId> |
| 59 | <artifactId>appassembler-maven-plugin</artifactId> |
Ian | fe9bf23 | 2014-06-24 20:14:38 -0700 | [diff] [blame] | 60 | <executions> |
| 61 | <execution> |
| 62 | <configuration> |
| 63 | <programs> |
| 64 | <program> |
Ian Maxon | e915e8c | 2015-07-01 17:03:31 -0700 | [diff] [blame] | 65 | <mainClass>org.apache.hyracks.control.cc.CCDriver</mainClass> |
Ian | fe9bf23 | 2014-06-24 20:14:38 -0700 | [diff] [blame] | 66 | <name>hyrackscc</name> |
| 67 | </program> |
| 68 | <program> |
Ian Maxon | e915e8c | 2015-07-01 17:03:31 -0700 | [diff] [blame] | 69 | <mainClass>org.apache.hyracks.control.nc.NCDriver</mainClass> |
Ian | fe9bf23 | 2014-06-24 20:14:38 -0700 | [diff] [blame] | 70 | <name>hyracksnc</name> |
| 71 | </program> |
| 72 | </programs> |
| 73 | <repositoryLayout>flat</repositoryLayout> |
| 74 | <repositoryName>lib</repositoryName> |
| 75 | </configuration> |
| 76 | <phase>package</phase> |
| 77 | <goals> |
| 78 | <goal>assemble</goal> |
| 79 | </goals> |
| 80 | </execution> |
| 81 | </executions> |
| 82 | </plugin> |
| 83 | <plugin> |
| 84 | <artifactId>maven-assembly-plugin</artifactId> |
| 85 | <version>2.2-beta-5</version> |
| 86 | <executions> |
| 87 | <execution> |
| 88 | <configuration> |
| 89 | <descriptors> |
| 90 | <descriptor>src/main/assembly/binary-assembly.xml</descriptor> |
| 91 | </descriptors> |
| 92 | </configuration> |
| 93 | <phase>package</phase> |
| 94 | <goals> |
| 95 | <goal>attached</goal> |
| 96 | </goals> |
| 97 | </execution> |
| 98 | </executions> |
| 99 | </plugin> |
| 100 | |
| 101 | <plugin> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 102 | <groupId>org.apache.maven.plugins</groupId> |
| 103 | <artifactId>maven-deploy-plugin</artifactId> |
| 104 | <configuration> |
Ian Maxon | bb5dc4c | 2016-02-02 18:16:30 -0800 | [diff] [blame] | 105 | <skip>true</skip> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 106 | </configuration> |
| 107 | </plugin> |
Ian | fe9bf23 | 2014-06-24 20:14:38 -0700 | [diff] [blame] | 108 | </plugins> |
| 109 | </build> |
Michael Blow | 98ddabc | 2016-06-16 21:02:29 -0400 | [diff] [blame] | 110 | <profiles> |
| 111 | <profile> |
| 112 | <id>run-tests</id> |
| 113 | <activation> |
| 114 | <property> |
| 115 | <name>!skipTests</name> |
| 116 | </property> |
| 117 | </activation> |
| 118 | <build> |
| 119 | <plugins> |
| 120 | <plugin> |
| 121 | <groupId>org.apache.hyracks</groupId> |
| 122 | <artifactId>hyracks-virtualcluster-maven-plugin</artifactId> |
Michael Blow | f8a882d | 2016-08-02 01:28:34 -0400 | [diff] [blame] | 123 | <version>${project.version}</version> |
Michael Blow | 98ddabc | 2016-06-16 21:02:29 -0400 | [diff] [blame] | 124 | <configuration> |
| 125 | <hyracksServerHome>${basedir}/target/hyracks-shutdown-test-${project.version}-binary-assembly</hyracksServerHome> |
| 126 | <jvmOptions>${jvm.extraargs}</jvmOptions> |
| 127 | </configuration> |
| 128 | <executions> |
| 129 | <execution> |
| 130 | <id>hyracks-cc-start</id> |
| 131 | <phase>pre-integration-test</phase> |
| 132 | <goals> |
| 133 | <goal>start-cc</goal> |
| 134 | </goals> |
| 135 | </execution> |
| 136 | <execution> |
| 137 | <id>hyracks-nc1-start</id> |
| 138 | <phase>pre-integration-test</phase> |
| 139 | <goals> |
| 140 | <goal>start-nc</goal> |
| 141 | </goals> |
| 142 | <configuration> |
| 143 | <nodeId>NC1</nodeId> |
| 144 | <dataIpAddress>127.0.0.1</dataIpAddress> |
| 145 | <ccHost>localhost</ccHost> |
| 146 | </configuration> |
| 147 | </execution> |
| 148 | <execution> |
| 149 | <id>hyracks-nc2-start</id> |
| 150 | <phase>pre-integration-test</phase> |
| 151 | <goals> |
| 152 | <goal>start-nc</goal> |
| 153 | </goals> |
| 154 | <configuration> |
| 155 | <nodeId>NC2</nodeId> |
| 156 | <dataIpAddress>127.0.0.1</dataIpAddress> |
| 157 | <ccHost>localhost</ccHost> |
| 158 | </configuration> |
| 159 | </execution> |
| 160 | <execution> |
| 161 | <id>stop-services</id> |
| 162 | <phase>post-integration-test</phase> |
| 163 | <goals> |
| 164 | <goal>stop-services</goal> |
| 165 | </goals> |
| 166 | </execution> |
| 167 | </executions> |
| 168 | </plugin> |
| 169 | <plugin> |
| 170 | <groupId>org.apache.maven.plugins</groupId> |
| 171 | <artifactId>maven-failsafe-plugin</artifactId> |
Michael Blow | 98ddabc | 2016-06-16 21:02:29 -0400 | [diff] [blame] | 172 | <executions> |
| 173 | <execution> |
| 174 | <id>it</id> |
| 175 | <phase>integration-test</phase> |
| 176 | <goals> |
| 177 | <goal>integration-test</goal> |
| 178 | </goals> |
| 179 | </execution> |
| 180 | </executions> |
| 181 | </plugin> |
| 182 | </plugins> |
| 183 | </build> |
| 184 | </profile> |
| 185 | </profiles> |
Ian | fe9bf23 | 2014-06-24 20:14:38 -0700 | [diff] [blame] | 186 | <dependencies> |
| 187 | <dependency> |
Ian | fe9bf23 | 2014-06-24 20:14:38 -0700 | [diff] [blame] | 188 | <groupId>junit</groupId> |
| 189 | <artifactId>junit</artifactId> |
Michael Blow | 2da62dc | 2016-06-30 21:18:37 -0400 | [diff] [blame] | 190 | <scope>test</scope> |
Ian | fe9bf23 | 2014-06-24 20:14:38 -0700 | [diff] [blame] | 191 | </dependency> |
| 192 | <dependency> |
Ian Maxon | e915e8c | 2015-07-01 17:03:31 -0700 | [diff] [blame] | 193 | <groupId>org.apache.hyracks</groupId> |
Michael Blow | ba35812 | 2016-10-13 19:56:03 -0400 | [diff] [blame] | 194 | <artifactId>hyracks-ipc</artifactId> |
Michael Blow | f8a882d | 2016-08-02 01:28:34 -0400 | [diff] [blame] | 195 | <version>${project.version}</version> |
Ian | fe9bf23 | 2014-06-24 20:14:38 -0700 | [diff] [blame] | 196 | </dependency> |
| 197 | <dependency> |
Ian Maxon | e915e8c | 2015-07-01 17:03:31 -0700 | [diff] [blame] | 198 | <groupId>org.apache.hyracks</groupId> |
Michael Blow | ba35812 | 2016-10-13 19:56:03 -0400 | [diff] [blame] | 199 | <artifactId>hyracks-api</artifactId> |
Michael Blow | f8a882d | 2016-08-02 01:28:34 -0400 | [diff] [blame] | 200 | <version>${project.version}</version> |
Ian | fe9bf23 | 2014-06-24 20:14:38 -0700 | [diff] [blame] | 201 | <type>jar</type> |
| 202 | <scope>compile</scope> |
| 203 | </dependency> |
| 204 | <dependency> |
Ian Maxon | e915e8c | 2015-07-01 17:03:31 -0700 | [diff] [blame] | 205 | <groupId>org.apache.hyracks</groupId> |
Ian | fe9bf23 | 2014-06-24 20:14:38 -0700 | [diff] [blame] | 206 | <artifactId>hyracks-control-nc</artifactId> |
Michael Blow | f8a882d | 2016-08-02 01:28:34 -0400 | [diff] [blame] | 207 | <version>${project.version}</version> |
Ian | fe9bf23 | 2014-06-24 20:14:38 -0700 | [diff] [blame] | 208 | </dependency> |
| 209 | <dependency> |
Ian Maxon | e915e8c | 2015-07-01 17:03:31 -0700 | [diff] [blame] | 210 | <groupId>org.apache.hyracks</groupId> |
Michael Blow | ba35812 | 2016-10-13 19:56:03 -0400 | [diff] [blame] | 211 | <artifactId>hyracks-control-cc</artifactId> |
Michael Blow | f8a882d | 2016-08-02 01:28:34 -0400 | [diff] [blame] | 212 | <version>${project.version}</version> |
Ian | fe9bf23 | 2014-06-24 20:14:38 -0700 | [diff] [blame] | 213 | </dependency> |
| 214 | </dependencies> |
| 215 | </project> |