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> |
Ian Maxon | 14be946 | 2016-02-10 14:55:42 -0800 | [diff] [blame] | 29 | <version>0.2.18-SNAPSHOT</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> |
| 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 Maxon | e915e8c | 2015-07-01 17:03:31 -0700 | [diff] [blame] | 47 | <mainClass>org.apache.hyracks.control.cc.CCDriver</mainClass> |
Ian | fe9bf23 | 2014-06-24 20:14:38 -0700 | [diff] [blame] | 48 | <name>hyrackscc</name> |
| 49 | </program> |
| 50 | <program> |
Ian Maxon | e915e8c | 2015-07-01 17:03:31 -0700 | [diff] [blame] | 51 | <mainClass>org.apache.hyracks.control.nc.NCDriver</mainClass> |
Ian | fe9bf23 | 2014-06-24 20:14:38 -0700 | [diff] [blame] | 52 | <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> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 84 | <groupId>org.apache.maven.plugins</groupId> |
| 85 | <artifactId>maven-deploy-plugin</artifactId> |
| 86 | <configuration> |
Ian Maxon | bb5dc4c | 2016-02-02 18:16:30 -0800 | [diff] [blame] | 87 | <skip>true</skip> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 88 | </configuration> |
| 89 | </plugin> |
Ian | fe9bf23 | 2014-06-24 20:14:38 -0700 | [diff] [blame] | 90 | </plugins> |
| 91 | </build> |
Michael Blow | 98ddabc | 2016-06-16 21:02:29 -0400 | [diff] [blame] | 92 | <profiles> |
| 93 | <profile> |
| 94 | <id>run-tests</id> |
| 95 | <activation> |
| 96 | <property> |
| 97 | <name>!skipTests</name> |
| 98 | </property> |
| 99 | </activation> |
| 100 | <build> |
| 101 | <plugins> |
| 102 | <plugin> |
| 103 | <groupId>org.apache.hyracks</groupId> |
| 104 | <artifactId>hyracks-virtualcluster-maven-plugin</artifactId> |
Michael Blow | f8a882d | 2016-08-02 01:28:34 -0400 | [diff] [blame] | 105 | <version>${project.version}</version> |
Michael Blow | 98ddabc | 2016-06-16 21:02:29 -0400 | [diff] [blame] | 106 | <configuration> |
| 107 | <hyracksServerHome>${basedir}/target/hyracks-shutdown-test-${project.version}-binary-assembly</hyracksServerHome> |
| 108 | <jvmOptions>${jvm.extraargs}</jvmOptions> |
| 109 | </configuration> |
| 110 | <executions> |
| 111 | <execution> |
| 112 | <id>hyracks-cc-start</id> |
| 113 | <phase>pre-integration-test</phase> |
| 114 | <goals> |
| 115 | <goal>start-cc</goal> |
| 116 | </goals> |
| 117 | </execution> |
| 118 | <execution> |
| 119 | <id>hyracks-nc1-start</id> |
| 120 | <phase>pre-integration-test</phase> |
| 121 | <goals> |
| 122 | <goal>start-nc</goal> |
| 123 | </goals> |
| 124 | <configuration> |
| 125 | <nodeId>NC1</nodeId> |
| 126 | <dataIpAddress>127.0.0.1</dataIpAddress> |
| 127 | <ccHost>localhost</ccHost> |
| 128 | </configuration> |
| 129 | </execution> |
| 130 | <execution> |
| 131 | <id>hyracks-nc2-start</id> |
| 132 | <phase>pre-integration-test</phase> |
| 133 | <goals> |
| 134 | <goal>start-nc</goal> |
| 135 | </goals> |
| 136 | <configuration> |
| 137 | <nodeId>NC2</nodeId> |
| 138 | <dataIpAddress>127.0.0.1</dataIpAddress> |
| 139 | <ccHost>localhost</ccHost> |
| 140 | </configuration> |
| 141 | </execution> |
| 142 | <execution> |
| 143 | <id>stop-services</id> |
| 144 | <phase>post-integration-test</phase> |
| 145 | <goals> |
| 146 | <goal>stop-services</goal> |
| 147 | </goals> |
| 148 | </execution> |
| 149 | </executions> |
| 150 | </plugin> |
| 151 | <plugin> |
| 152 | <groupId>org.apache.maven.plugins</groupId> |
| 153 | <artifactId>maven-failsafe-plugin</artifactId> |
| 154 | <version>2.8.1</version> |
| 155 | <executions> |
| 156 | <execution> |
| 157 | <id>it</id> |
| 158 | <phase>integration-test</phase> |
| 159 | <goals> |
| 160 | <goal>integration-test</goal> |
| 161 | </goals> |
| 162 | </execution> |
| 163 | </executions> |
| 164 | </plugin> |
| 165 | </plugins> |
| 166 | </build> |
| 167 | </profile> |
| 168 | </profiles> |
Ian | fe9bf23 | 2014-06-24 20:14:38 -0700 | [diff] [blame] | 169 | <dependencies> |
| 170 | <dependency> |
Ian | fe9bf23 | 2014-06-24 20:14:38 -0700 | [diff] [blame] | 171 | <groupId>junit</groupId> |
| 172 | <artifactId>junit</artifactId> |
Michael Blow | 2da62dc | 2016-06-30 21:18:37 -0400 | [diff] [blame] | 173 | <scope>test</scope> |
Ian | fe9bf23 | 2014-06-24 20:14:38 -0700 | [diff] [blame] | 174 | </dependency> |
| 175 | <dependency> |
Ian Maxon | e915e8c | 2015-07-01 17:03:31 -0700 | [diff] [blame] | 176 | <groupId>org.apache.hyracks</groupId> |
Ian | fe9bf23 | 2014-06-24 20:14:38 -0700 | [diff] [blame] | 177 | <artifactId>texthelper</artifactId> |
Michael Blow | f8a882d | 2016-08-02 01:28:34 -0400 | [diff] [blame] | 178 | <version>${project.version}</version> |
Ian | fe9bf23 | 2014-06-24 20:14:38 -0700 | [diff] [blame] | 179 | <scope>compile</scope> |
| 180 | </dependency> |
| 181 | <dependency> |
Ian Maxon | e915e8c | 2015-07-01 17:03:31 -0700 | [diff] [blame] | 182 | <groupId>org.apache.hyracks</groupId> |
Ian | fe9bf23 | 2014-06-24 20:14:38 -0700 | [diff] [blame] | 183 | <artifactId>hyracks-control-cc</artifactId> |
Michael Blow | f8a882d | 2016-08-02 01:28:34 -0400 | [diff] [blame] | 184 | <version>${project.version}</version> |
Ian | fe9bf23 | 2014-06-24 20:14:38 -0700 | [diff] [blame] | 185 | <type>jar</type> |
| 186 | <scope>compile</scope> |
| 187 | </dependency> |
| 188 | <dependency> |
Ian Maxon | e915e8c | 2015-07-01 17:03:31 -0700 | [diff] [blame] | 189 | <groupId>org.apache.hyracks</groupId> |
Ian | fe9bf23 | 2014-06-24 20:14:38 -0700 | [diff] [blame] | 190 | <artifactId>hyracks-control-nc</artifactId> |
Michael Blow | f8a882d | 2016-08-02 01:28:34 -0400 | [diff] [blame] | 191 | <version>${project.version}</version> |
Ian | fe9bf23 | 2014-06-24 20:14:38 -0700 | [diff] [blame] | 192 | <type>jar</type> |
| 193 | <scope>compile</scope> |
| 194 | </dependency> |
| 195 | <dependency> |
Ian Maxon | e915e8c | 2015-07-01 17:03:31 -0700 | [diff] [blame] | 196 | <groupId>org.apache.hyracks</groupId> |
Ian | fe9bf23 | 2014-06-24 20:14:38 -0700 | [diff] [blame] | 197 | <artifactId>textclient</artifactId> |
Michael Blow | f8a882d | 2016-08-02 01:28:34 -0400 | [diff] [blame] | 198 | <version>${project.version}</version> |
Ian | fe9bf23 | 2014-06-24 20:14:38 -0700 | [diff] [blame] | 199 | <type>jar</type> |
| 200 | <scope>test</scope> |
| 201 | </dependency> |
| 202 | </dependencies> |
| 203 | </project> |