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