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 | !--> |
vinayakb | e5add8a | 2012-10-06 19:00:14 +0000 | [diff] [blame] | 19 | |
| 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</groupId> |
Michael Blow | c3dfd4b | 2017-01-17 17:19:49 -0500 | [diff] [blame] | 23 | <artifactId>apache-hyracks</artifactId> |
AsterixDB Jenkins | 92a9a65 | 2017-08-07 17:23:07 -0700 | [diff] [blame] | 24 | <version>0.3.3-SNAPSHOT</version> |
vinayakb | e5add8a | 2012-10-06 19:00:14 +0000 | [diff] [blame] | 25 | <packaging>pom</packaging> |
buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 26 | <name>hyracks-ecosystem-full-stack</name> |
Michael Blow | c96bb1f | 2017-01-16 16:31:54 -0500 | [diff] [blame] | 27 | <url>https://asterixdb.apache.org/</url> |
Ian Maxon | c482127 | 2015-08-21 16:08:01 -0700 | [diff] [blame] | 28 | |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 29 | <parent> |
| 30 | <groupId>org.apache</groupId> |
| 31 | <artifactId>apache</artifactId> |
Michael Blow | b99349d | 2016-11-08 19:38:02 -0500 | [diff] [blame] | 32 | <version>18</version> |
Michael Blow | 380b0a2 | 2016-08-02 13:05:52 -0400 | [diff] [blame] | 33 | <relativePath /> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 34 | </parent> |
Ian Maxon | c482127 | 2015-08-21 16:08:01 -0700 | [diff] [blame] | 35 | |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 36 | <licenses> |
| 37 | <license> |
| 38 | <name>Apache License, Version 2.0</name> |
| 39 | <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| 40 | <distribution>repo</distribution> |
| 41 | <comments>A business-friendly OSS license</comments> |
| 42 | </license> |
| 43 | </licenses> |
vinayakb | e5add8a | 2012-10-06 19:00:14 +0000 | [diff] [blame] | 44 | |
Ian Maxon | 4b22843 | 2017-01-16 13:35:16 -0800 | [diff] [blame] | 45 | <scm> |
| 46 | <connection>scm:git:https://github.com/apache/asterixdb</connection> |
| 47 | <developerConnection>scm:git:ssh://asterix-gerrit.ics.uci.edu:29418/asterixdb</developerConnection> |
| 48 | <url>https://github.com/apache/asterixdb</url> |
Ian Maxon | a3435a3 | 2017-01-18 18:31:30 -0800 | [diff] [blame] | 49 | <tag>HEAD</tag> |
Ian Maxon | 4b22843 | 2017-01-16 13:35:16 -0800 | [diff] [blame] | 50 | </scm> |
| 51 | |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 52 | <properties> |
| 53 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
Michael Blow | dd920be | 2017-06-07 15:04:33 -0400 | [diff] [blame] | 54 | <file.encoding>UTF-8</file.encoding> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 55 | <jdk.version>1.8</jdk.version> |
Michael Blow | 2b05701 | 2017-12-07 22:20:39 -0500 | [diff] [blame] | 56 | <javac.xlint.value>all</javac.xlint.value> |
Michael Blow | 380b0a2 | 2016-08-02 13:05:52 -0400 | [diff] [blame] | 57 | <jvm.extraargs /> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 58 | <sonar.jacoco.reportPath>${env.PWD}/target/jacoco-merged.exec</sonar.jacoco.reportPath> |
Dmitry Lychagin | 249be53 | 2017-05-31 14:57:14 -0700 | [diff] [blame] | 59 | <source-format.skip>false</source-format.skip> |
Michael Blow | dd920be | 2017-06-07 15:04:33 -0400 | [diff] [blame] | 60 | <skip.surefire.tests>${skipTests}</skip.surefire.tests> |
Michael Blow | 7626d16 | 2017-12-10 14:26:56 -0500 | [diff] [blame] | 61 | <skip.testResources>${maven.test.skip}</skip.testResources> |
Michael Blow | 7c15c13 | 2016-05-04 22:06:34 -0400 | [diff] [blame] | 62 | |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 63 | <!-- Definition of tests in various categories which may be excluded --> |
| 64 | <hanging.pregelix.tests>**/pregelix/**/FailureRecovery*.java</hanging.pregelix.tests> |
| 65 | <hivesterix.perf.tests>**/hivesterix/perf/PerfTestSuite.java</hivesterix.perf.tests> |
| 66 | <global.test.includes>**/*TestSuite.java,**/*Test.java</global.test.includes> |
| 67 | <global.test.excludes>**/Abstract*.java,${hanging.pregelix.tests},${hivesterix.perf.tests} |
| 68 | </global.test.excludes> |
| 69 | <!-- Versions under dependencymanagement or used in many projects via properties --> |
| 70 | <hadoop.version>2.2.0</hadoop.version> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 71 | <jacoco.version>0.7.6.201602180812</jacoco.version> |
| 72 | </properties> |
| 73 | <dependencyManagement> |
| 74 | <dependencies> |
| 75 | <dependency> |
Till Westmann | ea666c9 | 2017-02-22 22:25:15 -0800 | [diff] [blame] | 76 | <groupId>io.netty</groupId> |
| 77 | <artifactId>netty-all</artifactId> |
| 78 | <version>4.1.6.Final</version> |
| 79 | </dependency> |
| 80 | <dependency> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 81 | <groupId>junit</groupId> |
| 82 | <artifactId>junit</artifactId> |
Michael Blow | 599ef8f | 2017-01-12 11:02:53 -0500 | [diff] [blame] | 83 | <version>4.12</version> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 84 | </dependency> |
| 85 | <dependency> |
| 86 | <groupId>org.apache.hadoop</groupId> |
| 87 | <artifactId>hadoop-yarn-client</artifactId> |
| 88 | <version>${hadoop.version}</version> |
| 89 | </dependency> |
| 90 | <dependency> |
| 91 | <groupId>org.apache.hadoop</groupId> |
| 92 | <artifactId>hadoop-client</artifactId> |
| 93 | <version>${hadoop.version}</version> |
| 94 | </dependency> |
| 95 | <dependency> |
| 96 | <groupId>org.apache.hadoop</groupId> |
| 97 | <artifactId>hadoop-common</artifactId> |
| 98 | <version>${hadoop.version}</version> |
| 99 | </dependency> |
| 100 | <dependency> |
| 101 | <groupId>org.apache.hadoop</groupId> |
| 102 | <artifactId>hadoop-hdfs</artifactId> |
| 103 | <version>${hadoop.version}</version> |
| 104 | </dependency> |
| 105 | <dependency> |
| 106 | <groupId>org.apache.hadoop</groupId> |
| 107 | <artifactId>hadoop-minicluster</artifactId> |
| 108 | <version>${hadoop.version}</version> |
| 109 | </dependency> |
| 110 | <dependency> |
| 111 | <groupId>org.apache.hadoop</groupId> |
| 112 | <artifactId>hadoop-mapreduce-client-core</artifactId> |
| 113 | <version>${hadoop.version}</version> |
| 114 | </dependency> |
| 115 | <dependency> |
Michael Blow | ba35812 | 2016-10-13 19:56:03 -0400 | [diff] [blame] | 116 | <groupId>org.apache.hadoop</groupId> |
| 117 | <artifactId>hadoop-hdfs</artifactId> |
| 118 | <version>${hadoop.version}</version> |
| 119 | <classifier>tests</classifier> |
| 120 | <scope>test</scope> |
| 121 | </dependency> |
| 122 | <dependency> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 123 | <groupId>commons-io</groupId> |
| 124 | <artifactId>commons-io</artifactId> |
Michael Blow | 204b295 | 2017-12-07 20:17:47 -0500 | [diff] [blame] | 125 | <version>2.6</version> |
| 126 | </dependency> |
| 127 | <dependency> |
| 128 | <groupId>commons-lang</groupId> |
| 129 | <artifactId>commons-lang</artifactId> |
| 130 | <version>2.6</version> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 131 | </dependency> |
Ian Maxon | d49bc6e | 2017-01-05 18:50:57 -0800 | [diff] [blame] | 132 | <dependency> |
| 133 | <groupId>com.fasterxml.jackson.core</groupId> |
| 134 | <artifactId>jackson-databind</artifactId> |
| 135 | <version>2.8.4</version> |
| 136 | </dependency> |
| 137 | <dependency> |
| 138 | <groupId>com.fasterxml.jackson.core</groupId> |
| 139 | <artifactId>jackson-core</artifactId> |
| 140 | <version>2.8.4</version> |
| 141 | </dependency> |
Michael Blow | 599ef8f | 2017-01-12 11:02:53 -0500 | [diff] [blame] | 142 | <dependency> |
Michael Blow | 204b295 | 2017-12-07 20:17:47 -0500 | [diff] [blame] | 143 | <groupId>com.fasterxml.jackson.core</groupId> |
| 144 | <artifactId>jackson-annotations</artifactId> |
| 145 | <version>2.8.4</version> |
| 146 | </dependency> |
| 147 | <dependency> |
Michael Blow | 599ef8f | 2017-01-12 11:02:53 -0500 | [diff] [blame] | 148 | <groupId>com.google.guava</groupId> |
| 149 | <artifactId>guava</artifactId> |
| 150 | <version>18.0</version> |
| 151 | </dependency> |
Michael Blow | 43b40b6 | 2017-01-14 17:03:12 -0500 | [diff] [blame] | 152 | <dependency> |
| 153 | <groupId>org.apache.commons</groupId> |
| 154 | <artifactId>commons-lang3</artifactId> |
Michael Blow | 204b295 | 2017-12-07 20:17:47 -0500 | [diff] [blame] | 155 | <version>3.7</version> |
Michael Blow | 43b40b6 | 2017-01-14 17:03:12 -0500 | [diff] [blame] | 156 | </dependency> |
Michael Blow | 5e17af2 | 2017-02-02 10:00:44 -0500 | [diff] [blame] | 157 | <dependency> |
Michael Blow | 4c7b5bf | 2017-03-06 21:55:58 -0500 | [diff] [blame] | 158 | <groupId>org.apache.commons</groupId> |
| 159 | <artifactId>commons-collections4</artifactId> |
| 160 | <version>4.1</version> |
| 161 | </dependency> |
| 162 | <dependency> |
Till Westmann | 55dd6ff | 2017-02-19 20:18:51 -0800 | [diff] [blame] | 163 | <groupId>org.apache.httpcomponents</groupId> |
| 164 | <artifactId>httpcore</artifactId> |
| 165 | <version>4.4.5</version> |
| 166 | </dependency> |
| 167 | <dependency> |
| 168 | <groupId>org.apache.httpcomponents</groupId> |
| 169 | <artifactId>httpclient</artifactId> |
| 170 | <version>4.5.2</version> |
| 171 | </dependency> |
| 172 | <dependency> |
Michael Blow | 5e17af2 | 2017-02-02 10:00:44 -0500 | [diff] [blame] | 173 | <groupId>org.apache.rat</groupId> |
| 174 | <artifactId>apache-rat-plugin</artifactId> |
| 175 | <version>0.12</version> |
| 176 | </dependency> |
Michael Blow | 4c7b5bf | 2017-03-06 21:55:58 -0500 | [diff] [blame] | 177 | <dependency> |
Dmitry Lychagin | 249be53 | 2017-05-31 14:57:14 -0700 | [diff] [blame] | 178 | <groupId>net.revelc.code.formatter</groupId> |
| 179 | <artifactId>formatter-maven-plugin</artifactId> |
| 180 | <version>2.0.1</version> |
| 181 | </dependency> |
| 182 | <dependency> |
Michael Blow | 4c7b5bf | 2017-03-06 21:55:58 -0500 | [diff] [blame] | 183 | <groupId>args4j</groupId> |
| 184 | <artifactId>args4j</artifactId> |
| 185 | <version>2.33</version> |
| 186 | </dependency> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 187 | </dependencies> |
| 188 | </dependencyManagement> |
Chris Hillery | 4fc647c | 2014-02-13 14:49:58 -0800 | [diff] [blame] | 189 | |
vinayakb | e5add8a | 2012-10-06 19:00:14 +0000 | [diff] [blame] | 190 | <build> |
| 191 | <plugins> |
| 192 | <plugin> |
Michael Blow | ba35812 | 2016-10-13 19:56:03 -0400 | [diff] [blame] | 193 | <groupId>org.apache.maven.plugins</groupId> |
Michael Blow | c96bb1f | 2017-01-16 16:31:54 -0500 | [diff] [blame] | 194 | <artifactId>maven-jar-plugin</artifactId> |
Michael Blow | c96bb1f | 2017-01-16 16:31:54 -0500 | [diff] [blame] | 195 | <configuration> |
Michael Blow | 4c7b5bf | 2017-03-06 21:55:58 -0500 | [diff] [blame] | 196 | <excludes combine.children="append"> |
Michael Blow | c96bb1f | 2017-01-16 16:31:54 -0500 | [diff] [blame] | 197 | <exclude>**/DEPENDENCIES</exclude> |
| 198 | </excludes> |
| 199 | </configuration> |
| 200 | </plugin> |
| 201 | <plugin> |
| 202 | <groupId>org.apache.maven.plugins</groupId> |
Michael Blow | ba35812 | 2016-10-13 19:56:03 -0400 | [diff] [blame] | 203 | <artifactId>maven-dependency-plugin</artifactId> |
Michael Blow | ba35812 | 2016-10-13 19:56:03 -0400 | [diff] [blame] | 204 | <configuration> |
| 205 | <failOnWarning>true</failOnWarning> |
| 206 | <outputXML>true</outputXML> |
| 207 | </configuration> |
| 208 | <executions> |
| 209 | <execution> |
| 210 | <phase>process-test-classes</phase> |
| 211 | <goals> |
| 212 | <goal>analyze-only</goal> |
| 213 | </goals> |
| 214 | </execution> |
| 215 | </executions> |
| 216 | </plugin> |
| 217 | <plugin> |
Ian Maxon | 137fc3b | 2015-06-30 16:23:48 -0700 | [diff] [blame] | 218 | <groupId>org.apache.rat</groupId> |
| 219 | <artifactId>apache-rat-plugin</artifactId> |
Ian Maxon | 137fc3b | 2015-06-30 16:23:48 -0700 | [diff] [blame] | 220 | <executions> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 221 | <execution> |
| 222 | <phase>validate</phase> |
| 223 | <goals> |
| 224 | <goal>check</goal> |
| 225 | </goals> |
| 226 | </execution> |
Ian Maxon | 137fc3b | 2015-06-30 16:23:48 -0700 | [diff] [blame] | 227 | </executions> |
| 228 | <configuration> |
Michael Blow | 5e17af2 | 2017-02-02 10:00:44 -0500 | [diff] [blame] | 229 | <addDefaultLicenseMatchers>false</addDefaultLicenseMatchers> |
| 230 | <consoleOutput>true</consoleOutput> |
Ian Maxon | 137fc3b | 2015-06-30 16:23:48 -0700 | [diff] [blame] | 231 | <licenses> |
Michael Blow | 5e17af2 | 2017-02-02 10:00:44 -0500 | [diff] [blame] | 232 | <license implementation="org.apache.rat.analysis.license.ApacheSoftwareLicense20"/> |
Ian Maxon | 137fc3b | 2015-06-30 16:23:48 -0700 | [diff] [blame] | 233 | </licenses> |
| 234 | <licenseFamilies> |
Michael Blow | 5e17af2 | 2017-02-02 10:00:44 -0500 | [diff] [blame] | 235 | <licenseFamily implementation="org.apache.rat.license.Apache20LicenseFamily"/> |
Ian Maxon | 137fc3b | 2015-06-30 16:23:48 -0700 | [diff] [blame] | 236 | </licenseFamilies> |
Michael Blow | 5e17af2 | 2017-02-02 10:00:44 -0500 | [diff] [blame] | 237 | <excludeSubProjects>true</excludeSubProjects> |
Michael Blow | e7aec9c | 2017-04-28 17:08:45 -0400 | [diff] [blame] | 238 | <excludes combine.children="append"> |
| 239 | <exclude>**/*.iml</exclude> |
| 240 | </excludes> |
Ian Maxon | 137fc3b | 2015-06-30 16:23:48 -0700 | [diff] [blame] | 241 | </configuration> |
| 242 | </plugin> |
| 243 | <plugin> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 244 | <groupId>org.apache.maven.plugins</groupId> |
| 245 | <artifactId>maven-surefire-plugin</artifactId> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 246 | <configuration> |
| 247 | <failIfNoTests>false</failIfNoTests> |
| 248 | <forkCount>1</forkCount> |
Chris Hillery | d2c1a8a | 2014-02-21 01:03:02 -0800 | [diff] [blame] | 249 | <reuseForks>false</reuseForks> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 250 | <argLine>-enableassertions -Xmx2048m |
| 251 | -Dfile.encoding=UTF-8 |
| 252 | -Djava.util.logging.config.file=${user.home}/logging.properties |
| 253 | -Xdebug |
| 254 | -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n |
| 255 | ${coverageArgLine} |
| 256 | </argLine> |
| 257 | <includes> |
| 258 | <include>${global.test.includes},${test.includes}</include> |
| 259 | </includes> |
Michael Blow | 4c7b5bf | 2017-03-06 21:55:58 -0500 | [diff] [blame] | 260 | <excludes combine.children="append"> |
Chris Hillery | c48cc42 | 2014-03-21 22:47:23 -0700 | [diff] [blame] | 261 | <exclude>${global.test.excludes},${test.excludes}</exclude> |
Chris Hillery | c9d8f92 | 2014-03-06 01:44:19 -0800 | [diff] [blame] | 262 | </excludes> |
Michael Blow | dd920be | 2017-06-07 15:04:33 -0400 | [diff] [blame] | 263 | <skipTests>${skip.surefire.tests}</skipTests> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 264 | </configuration> |
Ian Maxon | 5ae0df8 | 2015-10-14 10:45:19 -0700 | [diff] [blame] | 265 | </plugin> |
| 266 | <plugin> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 267 | <groupId>org.apache.maven.plugins</groupId> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 268 | <artifactId>maven-compiler-plugin</artifactId> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 269 | <configuration> |
| 270 | <source>${jdk.version}</source> |
| 271 | <target>${jdk.version}</target> |
Michael Blow | 2b05701 | 2017-12-07 22:20:39 -0500 | [diff] [blame] | 272 | <compilerArgument>-Xlint:${javac.xlint.value}</compilerArgument> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 273 | </configuration> |
vinayakb | e5add8a | 2012-10-06 19:00:14 +0000 | [diff] [blame] | 274 | </plugin> |
Ian Maxon | b165aca | 2016-03-17 18:21:57 -0700 | [diff] [blame] | 275 | <plugin> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 276 | <groupId>org.apache.maven.plugins</groupId> |
| 277 | <artifactId>maven-remote-resources-plugin</artifactId> |
| 278 | <executions> |
| 279 | <execution> |
| 280 | <goals> |
| 281 | <goal>process</goal> |
| 282 | </goals> |
| 283 | <configuration> |
Michael Blow | c96bb1f | 2017-01-16 16:31:54 -0500 | [diff] [blame] | 284 | <resourceBundles> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 285 | <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 286 | </resourceBundles> |
Michael Blow | c96bb1f | 2017-01-16 16:31:54 -0500 | [diff] [blame] | 287 | <properties> |
| 288 | <projectName>Apache Hyracks - ${project.name}</projectName> |
| 289 | </properties> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 290 | </configuration> |
| 291 | </execution> |
| 292 | </executions> |
Ian Maxon | 9e37c96 | 2015-11-25 07:38:37 -0800 | [diff] [blame] | 293 | </plugin> |
Michael Blow | d1e2a99 | 2016-06-14 12:27:46 -0400 | [diff] [blame] | 294 | <plugin> |
| 295 | <groupId>org.apache.maven.plugins</groupId> |
| 296 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 297 | <version>2.17</version> |
| 298 | <executions> |
| 299 | <execution> |
| 300 | <id>verify-style</id> |
| 301 | <phase>process-classes</phase> |
| 302 | <goals> |
| 303 | <goal>check</goal> |
| 304 | </goals> |
| 305 | </execution> |
| 306 | </executions> |
| 307 | <configuration> |
| 308 | <logViolationsToConsole>true</logViolationsToConsole> |
| 309 | <checkstyleRules> |
| 310 | <module name="Checker"> |
| 311 | <!-- Checks for whitespace --> |
| 312 | <!-- See http://checkstyle.sf.net/config_whitespace.html --> |
Michael Blow | 380b0a2 | 2016-08-02 13:05:52 -0400 | [diff] [blame] | 313 | <module name="FileTabCharacter" /> |
Michael Blow | d1e2a99 | 2016-06-14 12:27:46 -0400 | [diff] [blame] | 314 | </module> |
| 315 | </checkstyleRules> |
Michael Blow | d6cf641 | 2016-06-30 02:44:35 -0400 | [diff] [blame] | 316 | <includes>**/*.java,**/*.jj</includes> |
| 317 | <resourceIncludes>**/*.properties,**/*.xml,**/*.xsd,**/*.sh</resourceIncludes> |
Michael Blow | d1e2a99 | 2016-06-14 12:27:46 -0400 | [diff] [blame] | 318 | <sourceDirectories>${project.build.sourceDirectory},${project.build.testSourceDirectory}</sourceDirectories> |
| 319 | </configuration> |
| 320 | </plugin> |
Michael Blow | f53c1c6 | 2016-06-17 16:51:59 -0400 | [diff] [blame] | 321 | <plugin> |
| 322 | <groupId>org.apache.maven.plugins</groupId> |
| 323 | <artifactId>maven-enforcer-plugin</artifactId> |
Michael Blow | 918c5b1 | 2017-10-30 14:51:13 -0400 | [diff] [blame] | 324 | <version>3.0.0-M1</version> |
Michael Blow | f53c1c6 | 2016-06-17 16:51:59 -0400 | [diff] [blame] | 325 | <executions> |
| 326 | <execution> |
| 327 | <id>enforce-versions</id> |
| 328 | <goals> |
| 329 | <goal>enforce</goal> |
| 330 | </goals> |
| 331 | <configuration> |
| 332 | <rules> |
| 333 | <requireMavenVersion> |
| 334 | <version>[3.3.9,)</version> |
| 335 | </requireMavenVersion> |
| 336 | </rules> |
| 337 | </configuration> |
| 338 | </execution> |
| 339 | </executions> |
| 340 | </plugin> |
Michael Blow | 7626d16 | 2017-12-10 14:26:56 -0500 | [diff] [blame] | 341 | <plugin> |
| 342 | <groupId>org.apache.maven.plugins</groupId> |
| 343 | <artifactId>maven-resources-plugin</artifactId> |
| 344 | <executions> |
| 345 | <execution> |
| 346 | <id>default-testResources</id> |
| 347 | <goals> |
| 348 | <goal>testResources</goal> |
| 349 | </goals> |
| 350 | <configuration> |
| 351 | <skip>${skip.testResources}</skip> |
| 352 | </configuration> |
| 353 | </execution> |
| 354 | </executions> |
| 355 | </plugin> |
vinayakb | e5add8a | 2012-10-06 19:00:14 +0000 | [diff] [blame] | 356 | </plugins> |
Yingyi Bu | d680e14 | 2016-03-18 16:41:46 -0700 | [diff] [blame] | 357 | <pluginManagement> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 358 | <plugins> |
Michael Blow | 5e17af2 | 2017-02-02 10:00:44 -0500 | [diff] [blame] | 359 | <plugin> |
Till Westmann | 65da60c | 2017-02-22 13:17:49 -0800 | [diff] [blame] | 360 | <groupId>org.apache.maven.plugins</groupId> |
| 361 | <artifactId>maven-compiler-plugin</artifactId> |
Michael Blow | 0aae183 | 2017-10-29 11:59:47 -0400 | [diff] [blame] | 362 | <version>3.7.0</version> |
Till Westmann | 65da60c | 2017-02-22 13:17:49 -0800 | [diff] [blame] | 363 | </plugin> |
| 364 | <plugin> |
Michael Blow | 5e17af2 | 2017-02-02 10:00:44 -0500 | [diff] [blame] | 365 | <groupId>org.apache.rat</groupId> |
| 366 | <artifactId>apache-rat-plugin</artifactId> |
| 367 | <version>0.12</version> |
| 368 | </plugin> |
Dmitry Lychagin | 249be53 | 2017-05-31 14:57:14 -0700 | [diff] [blame] | 369 | <plugin> |
| 370 | <groupId>net.revelc.code.formatter</groupId> |
| 371 | <artifactId>formatter-maven-plugin</artifactId> |
| 372 | <version>2.0.1</version> |
| 373 | </plugin> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 374 | <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.--> |
| 375 | <plugin> |
| 376 | <groupId>org.eclipse.m2e</groupId> |
| 377 | <artifactId>lifecycle-mapping</artifactId> |
| 378 | <version>1.0.0</version> |
| 379 | <configuration> |
| 380 | <lifecycleMappingMetadata> |
| 381 | <pluginExecutions> |
| 382 | <pluginExecution> |
| 383 | <pluginExecutionFilter> |
| 384 | <groupId>org.apache.rat</groupId> |
| 385 | <artifactId>apache-rat-plugin</artifactId> |
Michael Blow | 09f958c | 2017-08-20 17:02:19 -0400 | [diff] [blame] | 386 | <versionRange>[0.0,)</versionRange> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 387 | <goals> |
| 388 | <goal>check</goal> |
| 389 | </goals> |
| 390 | </pluginExecutionFilter> |
| 391 | <action> |
Michael Blow | 380b0a2 | 2016-08-02 13:05:52 -0400 | [diff] [blame] | 392 | <ignore /> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 393 | </action> |
| 394 | </pluginExecution> |
Michael Blow | 8f2cf24 | 2016-06-30 01:45:39 -0400 | [diff] [blame] | 395 | <pluginExecution> |
| 396 | <pluginExecutionFilter> |
| 397 | <groupId>org.apache.maven.plugins</groupId> |
| 398 | <artifactId>maven-checkstyle-plugin</artifactId> |
Michael Blow | 09f958c | 2017-08-20 17:02:19 -0400 | [diff] [blame] | 399 | <versionRange>[0.0,)</versionRange> |
Michael Blow | 8f2cf24 | 2016-06-30 01:45:39 -0400 | [diff] [blame] | 400 | <goals> |
| 401 | <goal>check</goal> |
| 402 | </goals> |
| 403 | </pluginExecutionFilter> |
| 404 | <action> |
Michael Blow | 380b0a2 | 2016-08-02 13:05:52 -0400 | [diff] [blame] | 405 | <ignore /> |
Michael Blow | 8f2cf24 | 2016-06-30 01:45:39 -0400 | [diff] [blame] | 406 | </action> |
| 407 | </pluginExecution> |
Taewoo Kim | 6ae219d | 2016-10-19 17:32:35 -0700 | [diff] [blame] | 408 | <pluginExecution> |
| 409 | <pluginExecutionFilter> |
| 410 | <groupId>org.apache.maven.plugins</groupId> |
| 411 | <artifactId>maven-dependency-plugin</artifactId> |
Michael Blow | 09f958c | 2017-08-20 17:02:19 -0400 | [diff] [blame] | 412 | <versionRange>[0.0,)</versionRange> |
Taewoo Kim | 6ae219d | 2016-10-19 17:32:35 -0700 | [diff] [blame] | 413 | <goals> |
| 414 | <goal>analyze-only</goal> |
| 415 | </goals> |
| 416 | </pluginExecutionFilter> |
| 417 | <action> |
Ian Maxon | def643d | 2017-01-18 18:31:11 -0800 | [diff] [blame] | 418 | <ignore /> |
Taewoo Kim | 6ae219d | 2016-10-19 17:32:35 -0700 | [diff] [blame] | 419 | </action> |
| 420 | </pluginExecution> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 421 | </pluginExecutions> |
| 422 | </lifecycleMappingMetadata> |
| 423 | </configuration> |
| 424 | </plugin> |
Ian Maxon | 99fed93 | 2017-02-09 19:11:39 -0800 | [diff] [blame] | 425 | <plugin> |
Michael Blow | a7fad19 | 2017-03-09 22:10:19 -0500 | [diff] [blame] | 426 | <groupId>org.codehaus.mojo</groupId> |
| 427 | <artifactId>versions-maven-plugin</artifactId> |
Michael Blow | 0aae183 | 2017-10-29 11:59:47 -0400 | [diff] [blame] | 428 | <version>2.5</version> |
Ian Maxon | 99fed93 | 2017-02-09 19:11:39 -0800 | [diff] [blame] | 429 | </plugin> |
| 430 | <plugin> |
Michael Blow | a7fad19 | 2017-03-09 22:10:19 -0500 | [diff] [blame] | 431 | <groupId>org.apache.maven.plugins</groupId> |
| 432 | <artifactId>maven-scm-plugin</artifactId> |
| 433 | <version>1.9.5</version> |
| 434 | </plugin> |
| 435 | <plugin> |
| 436 | <groupId>org.codehaus.mojo</groupId> |
| 437 | <artifactId>appassembler-maven-plugin</artifactId> |
| 438 | <version>2.0.0</version> |
Ian Maxon | 99fed93 | 2017-02-09 19:11:39 -0800 | [diff] [blame] | 439 | </plugin> |
Michael Blow | 10a7486 | 2017-05-23 16:55:39 -0400 | [diff] [blame] | 440 | <plugin> |
| 441 | <groupId>org.apache.maven.plugins</groupId> |
| 442 | <artifactId>maven-surefire-plugin</artifactId> |
Michael Blow | 0aae183 | 2017-10-29 11:59:47 -0400 | [diff] [blame] | 443 | <version>2.20.1</version> |
Michael Blow | 10a7486 | 2017-05-23 16:55:39 -0400 | [diff] [blame] | 444 | </plugin> |
| 445 | <plugin> |
| 446 | <groupId>org.apache.maven.plugins</groupId> |
| 447 | <artifactId>maven-failsafe-plugin</artifactId> |
Michael Blow | 0aae183 | 2017-10-29 11:59:47 -0400 | [diff] [blame] | 448 | <version>2.20.1</version> |
Michael Blow | 10a7486 | 2017-05-23 16:55:39 -0400 | [diff] [blame] | 449 | </plugin> |
Michael Blow | 09f958c | 2017-08-20 17:02:19 -0400 | [diff] [blame] | 450 | <plugin> |
| 451 | <groupId>org.apache.hyracks</groupId> |
| 452 | <artifactId>license-automation-plugin</artifactId> |
| 453 | <version>${project.version}</version> |
| 454 | </plugin> |
Michael Blow | 0aae183 | 2017-10-29 11:59:47 -0400 | [diff] [blame] | 455 | <plugin> |
| 456 | <groupId>org.apache.maven.plugins</groupId> |
| 457 | <artifactId>maven-assembly-plugin</artifactId> |
| 458 | <version>3.1.0</version> |
| 459 | </plugin> |
| 460 | <plugin> |
| 461 | <groupId>org.apache.maven.plugins</groupId> |
| 462 | <artifactId>maven-antrun-plugin</artifactId> |
| 463 | <version>1.8</version> |
| 464 | </plugin> |
| 465 | <plugin> |
| 466 | <groupId>org.apache.maven.plugins</groupId> |
| 467 | <artifactId>maven-clean-plugin</artifactId> |
| 468 | <version>3.0.0</version> |
| 469 | </plugin> |
| 470 | <plugin> |
| 471 | <groupId>org.apache.maven.plugins</groupId> |
| 472 | <artifactId>maven-jar-plugin</artifactId> |
| 473 | <version>3.0.2</version> |
| 474 | </plugin> |
| 475 | <plugin> |
| 476 | <groupId>org.codehaus.mojo</groupId> |
| 477 | <artifactId>build-helper-maven-plugin</artifactId> |
| 478 | <version>3.0.0</version> |
| 479 | </plugin> |
| 480 | <plugin> |
| 481 | <groupId>org.apache.maven.plugins</groupId> |
| 482 | <artifactId>maven-dependency-plugin</artifactId> |
| 483 | <version>3.0.2</version> |
| 484 | </plugin> |
Michael Blow | 918c5b1 | 2017-10-30 14:51:13 -0400 | [diff] [blame] | 485 | <plugin> |
| 486 | <groupId>org.apache.maven.doxia</groupId> |
| 487 | <artifactId>doxia-maven-plugin</artifactId> |
| 488 | <version>1.1.4</version> |
| 489 | </plugin> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 490 | </plugins> |
| 491 | </pluginManagement> |
vinayakb | e5add8a | 2012-10-06 19:00:14 +0000 | [diff] [blame] | 492 | </build> |
| 493 | |
Chris Hillery | c9d8f92 | 2014-03-06 01:44:19 -0800 | [diff] [blame] | 494 | <profiles> |
| 495 | <profile> |
| 496 | <id>hanging-pregelix-tests</id> |
| 497 | <properties> |
Michael Blow | 380b0a2 | 2016-08-02 13:05:52 -0400 | [diff] [blame] | 498 | <hanging.pregelix.tests /> |
Chris Hillery | c9d8f92 | 2014-03-06 01:44:19 -0800 | [diff] [blame] | 499 | </properties> |
| 500 | </profile> |
Chris Hillery | 1fda6bc | 2015-10-02 17:18:11 -0700 | [diff] [blame] | 501 | <profile> |
Dmitry Lychagin | 249be53 | 2017-05-31 14:57:14 -0700 | [diff] [blame] | 502 | <id>source-format</id> |
| 503 | <activation> |
| 504 | <activeByDefault>false</activeByDefault> |
| 505 | </activation> |
| 506 | <properties> |
| 507 | <source-format.goal>format</source-format.goal> |
| 508 | </properties> |
| 509 | <build> |
| 510 | <plugins> |
| 511 | <plugin> |
| 512 | <groupId>net.revelc.code.formatter</groupId> |
| 513 | <artifactId>formatter-maven-plugin</artifactId> |
| 514 | <executions> |
| 515 | <execution> |
| 516 | <goals> |
| 517 | <goal>${source-format.goal}</goal> |
| 518 | </goals> |
| 519 | </execution> |
| 520 | </executions> |
| 521 | <configuration> |
| 522 | <configFile>${root.dir}/AsterixCodeFormatProfile.xml</configFile> |
| 523 | <skipFormatting>${source-format.skip}</skipFormatting> |
| 524 | </configuration> |
| 525 | </plugin> |
| 526 | </plugins> |
| 527 | </build> |
| 528 | </profile> |
| 529 | <profile> |
Michael Blow | 916dce4 | 2017-05-23 13:19:12 -0400 | [diff] [blame] | 530 | <id>skip-assembly</id> |
Ian Maxon | 4c9260c | 2017-04-01 10:12:36 -0700 | [diff] [blame] | 531 | <activation> |
| 532 | <file> |
Michael Blow | 916dce4 | 2017-05-23 13:19:12 -0400 | [diff] [blame] | 533 | <missing>src/main/assembly/source.xml</missing> |
Ian Maxon | 4c9260c | 2017-04-01 10:12:36 -0700 | [diff] [blame] | 534 | </file> |
| 535 | </activation> |
Michael Blow | 916dce4 | 2017-05-23 13:19:12 -0400 | [diff] [blame] | 536 | <properties> |
| 537 | <skip.assembly>true</skip.assembly> |
| 538 | </properties> |
| 539 | </profile> |
| 540 | <profile> |
| 541 | <id>release</id> |
Ian Maxon | 4c9260c | 2017-04-01 10:12:36 -0700 | [diff] [blame] | 542 | <build> |
| 543 | <plugins> |
| 544 | <plugin> |
| 545 | <groupId>org.apache.maven.plugins</groupId> |
| 546 | <artifactId>maven-assembly-plugin</artifactId> |
| 547 | <!-- We override the configuration plugin to override the descriptor to use for building |
| 548 | the source release zip. Specifically, we would like to control the inclusions/exclusions. |
| 549 | For example, we exclude the KEYS file from the zip --> |
| 550 | <executions> |
| 551 | <execution> |
| 552 | <!-- Use this id to match the id mentioned in the assembly plugin configuration in |
| 553 | the apache parent POM under the apache-release profile --> |
| 554 | <id>source-release-assembly</id> |
| 555 | <phase>package</phase> |
| 556 | <goals> |
| 557 | <goal>single</goal> |
| 558 | </goals> |
| 559 | <!-- combine.self should be override to replace the configuration in the parent POM --> |
| 560 | <configuration combine.self="override"> |
| 561 | <descriptors> |
| 562 | <descriptor>src/main/assembly/source.xml</descriptor> |
| 563 | </descriptors> |
Michael Blow | 916dce4 | 2017-05-23 13:19:12 -0400 | [diff] [blame] | 564 | <skipAssembly>${skip.assembly}</skipAssembly> |
Ian Maxon | 4c9260c | 2017-04-01 10:12:36 -0700 | [diff] [blame] | 565 | </configuration> |
| 566 | </execution> |
| 567 | </executions> |
| 568 | </plugin> |
Chris Hillery | 1fda6bc | 2015-10-02 17:18:11 -0700 | [diff] [blame] | 569 | <plugin> |
| 570 | <groupId>org.apache.maven.plugins</groupId> |
Ian Maxon | 99fed93 | 2017-02-09 19:11:39 -0800 | [diff] [blame] | 571 | <artifactId>maven-gpg-plugin</artifactId> |
| 572 | <version>1.6</version> |
Chris Hillery | 1fda6bc | 2015-10-02 17:18:11 -0700 | [diff] [blame] | 573 | <executions> |
| 574 | <execution> |
Ian Maxon | 99fed93 | 2017-02-09 19:11:39 -0800 | [diff] [blame] | 575 | <id>sign-artifacts</id> |
| 576 | <phase>verify</phase> |
Chris Hillery | 1fda6bc | 2015-10-02 17:18:11 -0700 | [diff] [blame] | 577 | <goals> |
Ian Maxon | 99fed93 | 2017-02-09 19:11:39 -0800 | [diff] [blame] | 578 | <goal>sign</goal> |
Chris Hillery | 1fda6bc | 2015-10-02 17:18:11 -0700 | [diff] [blame] | 579 | </goals> |
Chris Hillery | 1fda6bc | 2015-10-02 17:18:11 -0700 | [diff] [blame] | 580 | </execution> |
| 581 | </executions> |
| 582 | </plugin> |
| 583 | </plugins> |
| 584 | </build> |
| 585 | </profile> |
Ian Maxon | 5ae0df8 | 2015-10-14 10:45:19 -0700 | [diff] [blame] | 586 | <profile> |
Michael Blow | 7c15c13 | 2016-05-04 22:06:34 -0400 | [diff] [blame] | 587 | <id>coverage</id> |
| 588 | <activation> |
| 589 | <property> |
| 590 | <name>coverage</name> |
| 591 | </property> |
| 592 | </activation> |
| 593 | <build> |
| 594 | <plugins> |
| 595 | <plugin> |
| 596 | <groupId>org.jacoco</groupId> |
| 597 | <artifactId>jacoco-maven-plugin</artifactId> |
| 598 | <version>${jacoco.version}</version> |
| 599 | <executions> |
| 600 | <execution> |
| 601 | <id>default-prepare-agent</id> |
| 602 | <goals> |
| 603 | <goal>prepare-agent</goal> |
| 604 | </goals> |
| 605 | <configuration> |
| 606 | <propertyName>coverageArgLine</propertyName> |
| 607 | </configuration> |
| 608 | </execution> |
| 609 | <execution> |
| 610 | <id>default-prepare-agent-integration</id> |
| 611 | <goals> |
| 612 | <goal>prepare-agent-integration</goal> |
| 613 | </goals> |
| 614 | <configuration> |
| 615 | <propertyName>coverageArgLine</propertyName> |
| 616 | </configuration> |
| 617 | </execution> |
| 618 | </executions> |
| 619 | </plugin> |
| 620 | </plugins> |
| 621 | </build> |
| 622 | <properties> |
Michael Blow | 380b0a2 | 2016-08-02 13:05:52 -0400 | [diff] [blame] | 623 | <coverage /> |
Michael Blow | 7c15c13 | 2016-05-04 22:06:34 -0400 | [diff] [blame] | 624 | </properties> |
| 625 | </profile> |
| 626 | <profile> |
| 627 | <id>no-coverage</id> |
| 628 | <activation> |
| 629 | <property> |
| 630 | <name>!coverage</name> |
| 631 | </property> |
| 632 | </activation> |
| 633 | <properties> |
Michael Blow | 380b0a2 | 2016-08-02 13:05:52 -0400 | [diff] [blame] | 634 | <coverageArgLine /> |
Michael Blow | 7c15c13 | 2016-05-04 22:06:34 -0400 | [diff] [blame] | 635 | </properties> |
| 636 | </profile> |
| 637 | <profile> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 638 | <id>java8</id> |
| 639 | <activation> |
| 640 | <jdk>1.8</jdk> |
| 641 | </activation> |
| 642 | <properties> |
| 643 | <jdk.version>1.8</jdk.version> |
| 644 | </properties> |
Ian Maxon | 5ae0df8 | 2015-10-14 10:45:19 -0700 | [diff] [blame] | 645 | </profile> |
Chris Hillery | c9d8f92 | 2014-03-06 01:44:19 -0800 | [diff] [blame] | 646 | </profiles> |
| 647 | |
vinayakb | e5add8a | 2012-10-06 19:00:14 +0000 | [diff] [blame] | 648 | <modules> |
| 649 | <module>hyracks</module> |
vinayakb | 36016dc | 2012-10-09 06:10:12 +0000 | [diff] [blame] | 650 | <module>algebricks</module> |
Michael Blow | 43b40b6 | 2017-01-14 17:03:12 -0500 | [diff] [blame] | 651 | <module>hyracks-fullstack-license</module> |
vinayakb | e5add8a | 2012-10-06 19:00:14 +0000 | [diff] [blame] | 652 | </modules> |
Michael Blow | 4c7b5bf | 2017-03-06 21:55:58 -0500 | [diff] [blame] | 653 | |
vinayakb | e5add8a | 2012-10-06 19:00:14 +0000 | [diff] [blame] | 654 | </project> |