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