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