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