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> |
| 183 | <version>3.0.0</version> |
| 184 | <configuration> |
Michael Blow | 4c7b5bf | 2017-03-06 21:55:58 -0500 | [diff] [blame] | 185 | <excludes combine.children="append"> |
Michael Blow | c96bb1f | 2017-01-16 16:31:54 -0500 | [diff] [blame] | 186 | <exclude>**/DEPENDENCIES</exclude> |
| 187 | </excludes> |
| 188 | </configuration> |
| 189 | </plugin> |
| 190 | <plugin> |
| 191 | <groupId>org.apache.maven.plugins</groupId> |
Michael Blow | ba35812 | 2016-10-13 19:56:03 -0400 | [diff] [blame] | 192 | <artifactId>maven-dependency-plugin</artifactId> |
| 193 | <version>2.10</version> |
| 194 | <configuration> |
| 195 | <failOnWarning>true</failOnWarning> |
| 196 | <outputXML>true</outputXML> |
Michael Blow | 4c7b5bf | 2017-03-06 21:55:58 -0500 | [diff] [blame] | 197 | <usedDependencies> |
| 198 | <usedDependency>org.slf4j:slf4j-simple</usedDependency> |
| 199 | </usedDependencies> |
Michael Blow | ba35812 | 2016-10-13 19:56:03 -0400 | [diff] [blame] | 200 | </configuration> |
| 201 | <executions> |
| 202 | <execution> |
| 203 | <phase>process-test-classes</phase> |
| 204 | <goals> |
| 205 | <goal>analyze-only</goal> |
| 206 | </goals> |
| 207 | </execution> |
| 208 | </executions> |
| 209 | </plugin> |
| 210 | <plugin> |
Chris Hillery | 4fc647c | 2014-02-13 14:49:58 -0800 | [diff] [blame] | 211 | <groupId>org.codehaus.mojo</groupId> |
| 212 | <artifactId>versions-maven-plugin</artifactId> |
| 213 | <version>1.2</version> |
| 214 | </plugin> |
| 215 | <plugin> |
Ian Maxon | 137fc3b | 2015-06-30 16:23:48 -0700 | [diff] [blame] | 216 | <groupId>org.apache.rat</groupId> |
| 217 | <artifactId>apache-rat-plugin</artifactId> |
Ian Maxon | 137fc3b | 2015-06-30 16:23:48 -0700 | [diff] [blame] | 218 | <executions> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 219 | <execution> |
| 220 | <phase>validate</phase> |
| 221 | <goals> |
| 222 | <goal>check</goal> |
| 223 | </goals> |
| 224 | </execution> |
Ian Maxon | 137fc3b | 2015-06-30 16:23:48 -0700 | [diff] [blame] | 225 | </executions> |
| 226 | <configuration> |
Michael Blow | 5e17af2 | 2017-02-02 10:00:44 -0500 | [diff] [blame] | 227 | <addDefaultLicenseMatchers>false</addDefaultLicenseMatchers> |
| 228 | <consoleOutput>true</consoleOutput> |
Ian Maxon | 137fc3b | 2015-06-30 16:23:48 -0700 | [diff] [blame] | 229 | <licenses> |
Michael Blow | 5e17af2 | 2017-02-02 10:00:44 -0500 | [diff] [blame] | 230 | <license implementation="org.apache.rat.analysis.license.ApacheSoftwareLicense20"/> |
Ian Maxon | 137fc3b | 2015-06-30 16:23:48 -0700 | [diff] [blame] | 231 | </licenses> |
| 232 | <licenseFamilies> |
Michael Blow | 5e17af2 | 2017-02-02 10:00:44 -0500 | [diff] [blame] | 233 | <licenseFamily implementation="org.apache.rat.license.Apache20LicenseFamily"/> |
Ian Maxon | 137fc3b | 2015-06-30 16:23:48 -0700 | [diff] [blame] | 234 | </licenseFamilies> |
Michael Blow | 5e17af2 | 2017-02-02 10:00:44 -0500 | [diff] [blame] | 235 | <excludeSubProjects>true</excludeSubProjects> |
Michael Blow | e7aec9c | 2017-04-28 17:08:45 -0400 | [diff] [blame] | 236 | <excludes combine.children="append"> |
| 237 | <exclude>**/*.iml</exclude> |
| 238 | </excludes> |
Ian Maxon | 137fc3b | 2015-06-30 16:23:48 -0700 | [diff] [blame] | 239 | </configuration> |
| 240 | </plugin> |
| 241 | <plugin> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 242 | <groupId>org.apache.maven.plugins</groupId> |
| 243 | <artifactId>maven-surefire-plugin</artifactId> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 244 | <configuration> |
| 245 | <failIfNoTests>false</failIfNoTests> |
| 246 | <forkCount>1</forkCount> |
Chris Hillery | d2c1a8a | 2014-02-21 01:03:02 -0800 | [diff] [blame] | 247 | <reuseForks>false</reuseForks> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 248 | <argLine>-enableassertions -Xmx2048m |
| 249 | -Dfile.encoding=UTF-8 |
| 250 | -Djava.util.logging.config.file=${user.home}/logging.properties |
| 251 | -Xdebug |
| 252 | -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n |
| 253 | ${coverageArgLine} |
| 254 | </argLine> |
| 255 | <includes> |
| 256 | <include>${global.test.includes},${test.includes}</include> |
| 257 | </includes> |
Michael Blow | 4c7b5bf | 2017-03-06 21:55:58 -0500 | [diff] [blame] | 258 | <excludes combine.children="append"> |
Chris Hillery | c48cc42 | 2014-03-21 22:47:23 -0700 | [diff] [blame] | 259 | <exclude>${global.test.excludes},${test.excludes}</exclude> |
Chris Hillery | c9d8f92 | 2014-03-06 01:44:19 -0800 | [diff] [blame] | 260 | </excludes> |
Michael Blow | dd920be | 2017-06-07 15:04:33 -0400 | [diff] [blame] | 261 | <skipTests>${skip.surefire.tests}</skipTests> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 262 | </configuration> |
Ian Maxon | 5ae0df8 | 2015-10-14 10:45:19 -0700 | [diff] [blame] | 263 | </plugin> |
| 264 | <plugin> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 265 | <groupId>org.apache.maven.plugins</groupId> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 266 | <artifactId>maven-compiler-plugin</artifactId> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 267 | <configuration> |
| 268 | <source>${jdk.version}</source> |
| 269 | <target>${jdk.version}</target> |
| 270 | <compilerArgument>-Xlint:all</compilerArgument> |
| 271 | </configuration> |
vinayakb | e5add8a | 2012-10-06 19:00:14 +0000 | [diff] [blame] | 272 | </plugin> |
Ian Maxon | b165aca | 2016-03-17 18:21:57 -0700 | [diff] [blame] | 273 | <plugin> |
Ian Maxon | 9e37c96 | 2015-11-25 07:38:37 -0800 | [diff] [blame] | 274 | <artifactId>maven-resources-plugin</artifactId> |
| 275 | <version>2.7</version> |
| 276 | <executions> |
| 277 | <execution> |
| 278 | <id>copy-resources</id> |
| 279 | <phase>validate</phase> |
| 280 | <goals> |
| 281 | <goal>copy-resources</goal> |
| 282 | </goals> |
| 283 | <configuration> |
| 284 | <outputDirectory>target</outputDirectory> |
| 285 | <resources> |
| 286 | <resource> |
| 287 | <directory>${root.dir}/src/main/appended-resources</directory> |
| 288 | <!-- <filtering>true</filtering> --> |
| 289 | </resource> |
| 290 | </resources> |
| 291 | </configuration> |
| 292 | </execution> |
| 293 | </executions> |
| 294 | </plugin> |
| 295 | <plugin> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 296 | <groupId>org.apache.maven.plugins</groupId> |
| 297 | <artifactId>maven-remote-resources-plugin</artifactId> |
| 298 | <executions> |
| 299 | <execution> |
| 300 | <goals> |
| 301 | <goal>process</goal> |
| 302 | </goals> |
| 303 | <configuration> |
Michael Blow | c96bb1f | 2017-01-16 16:31:54 -0500 | [diff] [blame] | 304 | <resourceBundles> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 305 | <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 306 | </resourceBundles> |
Michael Blow | c96bb1f | 2017-01-16 16:31:54 -0500 | [diff] [blame] | 307 | <properties> |
| 308 | <projectName>Apache Hyracks - ${project.name}</projectName> |
| 309 | </properties> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 310 | </configuration> |
| 311 | </execution> |
| 312 | </executions> |
Ian Maxon | 9e37c96 | 2015-11-25 07:38:37 -0800 | [diff] [blame] | 313 | </plugin> |
Michael Blow | d1e2a99 | 2016-06-14 12:27:46 -0400 | [diff] [blame] | 314 | <plugin> |
| 315 | <groupId>org.apache.maven.plugins</groupId> |
| 316 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 317 | <version>2.17</version> |
| 318 | <executions> |
| 319 | <execution> |
| 320 | <id>verify-style</id> |
| 321 | <phase>process-classes</phase> |
| 322 | <goals> |
| 323 | <goal>check</goal> |
| 324 | </goals> |
| 325 | </execution> |
| 326 | </executions> |
| 327 | <configuration> |
| 328 | <logViolationsToConsole>true</logViolationsToConsole> |
| 329 | <checkstyleRules> |
| 330 | <module name="Checker"> |
| 331 | <!-- Checks for whitespace --> |
| 332 | <!-- See http://checkstyle.sf.net/config_whitespace.html --> |
Michael Blow | 380b0a2 | 2016-08-02 13:05:52 -0400 | [diff] [blame] | 333 | <module name="FileTabCharacter" /> |
Michael Blow | d1e2a99 | 2016-06-14 12:27:46 -0400 | [diff] [blame] | 334 | </module> |
| 335 | </checkstyleRules> |
Michael Blow | d6cf641 | 2016-06-30 02:44:35 -0400 | [diff] [blame] | 336 | <includes>**/*.java,**/*.jj</includes> |
| 337 | <resourceIncludes>**/*.properties,**/*.xml,**/*.xsd,**/*.sh</resourceIncludes> |
Michael Blow | d1e2a99 | 2016-06-14 12:27:46 -0400 | [diff] [blame] | 338 | <sourceDirectories>${project.build.sourceDirectory},${project.build.testSourceDirectory}</sourceDirectories> |
| 339 | </configuration> |
| 340 | </plugin> |
Michael Blow | f53c1c6 | 2016-06-17 16:51:59 -0400 | [diff] [blame] | 341 | <plugin> |
| 342 | <groupId>org.apache.maven.plugins</groupId> |
| 343 | <artifactId>maven-enforcer-plugin</artifactId> |
| 344 | <version>1.4.1</version> |
| 345 | <executions> |
| 346 | <execution> |
| 347 | <id>enforce-versions</id> |
| 348 | <goals> |
| 349 | <goal>enforce</goal> |
| 350 | </goals> |
| 351 | <configuration> |
| 352 | <rules> |
| 353 | <requireMavenVersion> |
| 354 | <version>[3.3.9,)</version> |
| 355 | </requireMavenVersion> |
| 356 | </rules> |
| 357 | </configuration> |
| 358 | </execution> |
| 359 | </executions> |
| 360 | </plugin> |
vinayakb | e5add8a | 2012-10-06 19:00:14 +0000 | [diff] [blame] | 361 | </plugins> |
Yingyi Bu | d680e14 | 2016-03-18 16:41:46 -0700 | [diff] [blame] | 362 | <pluginManagement> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 363 | <plugins> |
Michael Blow | 5e17af2 | 2017-02-02 10:00:44 -0500 | [diff] [blame] | 364 | <plugin> |
Till Westmann | 65da60c | 2017-02-22 13:17:49 -0800 | [diff] [blame] | 365 | <groupId>org.apache.maven.plugins</groupId> |
| 366 | <artifactId>maven-compiler-plugin</artifactId> |
| 367 | <version>3.6.1</version> |
| 368 | </plugin> |
| 369 | <plugin> |
Michael Blow | 5e17af2 | 2017-02-02 10:00:44 -0500 | [diff] [blame] | 370 | <groupId>org.apache.rat</groupId> |
| 371 | <artifactId>apache-rat-plugin</artifactId> |
| 372 | <version>0.12</version> |
| 373 | </plugin> |
Dmitry Lychagin | 249be53 | 2017-05-31 14:57:14 -0700 | [diff] [blame] | 374 | <plugin> |
| 375 | <groupId>net.revelc.code.formatter</groupId> |
| 376 | <artifactId>formatter-maven-plugin</artifactId> |
| 377 | <version>2.0.1</version> |
| 378 | </plugin> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 379 | <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.--> |
| 380 | <plugin> |
| 381 | <groupId>org.eclipse.m2e</groupId> |
| 382 | <artifactId>lifecycle-mapping</artifactId> |
| 383 | <version>1.0.0</version> |
| 384 | <configuration> |
| 385 | <lifecycleMappingMetadata> |
| 386 | <pluginExecutions> |
| 387 | <pluginExecution> |
| 388 | <pluginExecutionFilter> |
| 389 | <groupId>org.apache.rat</groupId> |
| 390 | <artifactId>apache-rat-plugin</artifactId> |
Michael Blow | 09f958c | 2017-08-20 17:02:19 -0400 | [diff] [blame] | 391 | <versionRange>[0.0,)</versionRange> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 392 | <goals> |
| 393 | <goal>check</goal> |
| 394 | </goals> |
| 395 | </pluginExecutionFilter> |
| 396 | <action> |
Michael Blow | 380b0a2 | 2016-08-02 13:05:52 -0400 | [diff] [blame] | 397 | <ignore /> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 398 | </action> |
| 399 | </pluginExecution> |
Michael Blow | 8f2cf24 | 2016-06-30 01:45:39 -0400 | [diff] [blame] | 400 | <pluginExecution> |
| 401 | <pluginExecutionFilter> |
| 402 | <groupId>org.apache.maven.plugins</groupId> |
| 403 | <artifactId>maven-checkstyle-plugin</artifactId> |
Michael Blow | 09f958c | 2017-08-20 17:02:19 -0400 | [diff] [blame] | 404 | <versionRange>[0.0,)</versionRange> |
Michael Blow | 8f2cf24 | 2016-06-30 01:45:39 -0400 | [diff] [blame] | 405 | <goals> |
| 406 | <goal>check</goal> |
| 407 | </goals> |
| 408 | </pluginExecutionFilter> |
| 409 | <action> |
Michael Blow | 380b0a2 | 2016-08-02 13:05:52 -0400 | [diff] [blame] | 410 | <ignore /> |
Michael Blow | 8f2cf24 | 2016-06-30 01:45:39 -0400 | [diff] [blame] | 411 | </action> |
| 412 | </pluginExecution> |
Taewoo Kim | 6ae219d | 2016-10-19 17:32:35 -0700 | [diff] [blame] | 413 | <pluginExecution> |
| 414 | <pluginExecutionFilter> |
| 415 | <groupId>org.apache.maven.plugins</groupId> |
| 416 | <artifactId>maven-dependency-plugin</artifactId> |
Michael Blow | 09f958c | 2017-08-20 17:02:19 -0400 | [diff] [blame] | 417 | <versionRange>[0.0,)</versionRange> |
Taewoo Kim | 6ae219d | 2016-10-19 17:32:35 -0700 | [diff] [blame] | 418 | <goals> |
| 419 | <goal>analyze-only</goal> |
| 420 | </goals> |
| 421 | </pluginExecutionFilter> |
| 422 | <action> |
Ian Maxon | def643d | 2017-01-18 18:31:11 -0800 | [diff] [blame] | 423 | <ignore /> |
Taewoo Kim | 6ae219d | 2016-10-19 17:32:35 -0700 | [diff] [blame] | 424 | </action> |
| 425 | </pluginExecution> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 426 | </pluginExecutions> |
| 427 | </lifecycleMappingMetadata> |
| 428 | </configuration> |
| 429 | </plugin> |
Ian Maxon | 99fed93 | 2017-02-09 19:11:39 -0800 | [diff] [blame] | 430 | <plugin> |
Michael Blow | a7fad19 | 2017-03-09 22:10:19 -0500 | [diff] [blame] | 431 | <groupId>org.codehaus.mojo</groupId> |
| 432 | <artifactId>versions-maven-plugin</artifactId> |
| 433 | <version>2.1</version> |
Ian Maxon | 99fed93 | 2017-02-09 19:11:39 -0800 | [diff] [blame] | 434 | </plugin> |
| 435 | <plugin> |
Michael Blow | a7fad19 | 2017-03-09 22:10:19 -0500 | [diff] [blame] | 436 | <groupId>org.apache.maven.plugins</groupId> |
| 437 | <artifactId>maven-scm-plugin</artifactId> |
| 438 | <version>1.9.5</version> |
| 439 | </plugin> |
| 440 | <plugin> |
| 441 | <groupId>org.codehaus.mojo</groupId> |
| 442 | <artifactId>appassembler-maven-plugin</artifactId> |
| 443 | <version>2.0.0</version> |
Ian Maxon | 99fed93 | 2017-02-09 19:11:39 -0800 | [diff] [blame] | 444 | </plugin> |
Michael Blow | 10a7486 | 2017-05-23 16:55:39 -0400 | [diff] [blame] | 445 | <plugin> |
| 446 | <groupId>org.apache.maven.plugins</groupId> |
| 447 | <artifactId>maven-surefire-plugin</artifactId> |
| 448 | <version>2.20</version> |
| 449 | </plugin> |
| 450 | <plugin> |
| 451 | <groupId>org.apache.maven.plugins</groupId> |
| 452 | <artifactId>maven-failsafe-plugin</artifactId> |
| 453 | <version>2.20</version> |
| 454 | </plugin> |
Michael Blow | 09f958c | 2017-08-20 17:02:19 -0400 | [diff] [blame] | 455 | <plugin> |
| 456 | <groupId>org.apache.hyracks</groupId> |
| 457 | <artifactId>license-automation-plugin</artifactId> |
| 458 | <version>${project.version}</version> |
| 459 | </plugin> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 460 | </plugins> |
| 461 | </pluginManagement> |
vinayakb | e5add8a | 2012-10-06 19:00:14 +0000 | [diff] [blame] | 462 | </build> |
| 463 | |
Chris Hillery | c9d8f92 | 2014-03-06 01:44:19 -0800 | [diff] [blame] | 464 | <profiles> |
| 465 | <profile> |
| 466 | <id>hanging-pregelix-tests</id> |
| 467 | <properties> |
Michael Blow | 380b0a2 | 2016-08-02 13:05:52 -0400 | [diff] [blame] | 468 | <hanging.pregelix.tests /> |
Chris Hillery | c9d8f92 | 2014-03-06 01:44:19 -0800 | [diff] [blame] | 469 | </properties> |
| 470 | </profile> |
Chris Hillery | 1fda6bc | 2015-10-02 17:18:11 -0700 | [diff] [blame] | 471 | <profile> |
Dmitry Lychagin | 249be53 | 2017-05-31 14:57:14 -0700 | [diff] [blame] | 472 | <id>source-format</id> |
| 473 | <activation> |
| 474 | <activeByDefault>false</activeByDefault> |
| 475 | </activation> |
| 476 | <properties> |
| 477 | <source-format.goal>format</source-format.goal> |
| 478 | </properties> |
| 479 | <build> |
| 480 | <plugins> |
| 481 | <plugin> |
| 482 | <groupId>net.revelc.code.formatter</groupId> |
| 483 | <artifactId>formatter-maven-plugin</artifactId> |
| 484 | <executions> |
| 485 | <execution> |
| 486 | <goals> |
| 487 | <goal>${source-format.goal}</goal> |
| 488 | </goals> |
| 489 | </execution> |
| 490 | </executions> |
| 491 | <configuration> |
| 492 | <configFile>${root.dir}/AsterixCodeFormatProfile.xml</configFile> |
| 493 | <skipFormatting>${source-format.skip}</skipFormatting> |
| 494 | </configuration> |
| 495 | </plugin> |
| 496 | </plugins> |
| 497 | </build> |
| 498 | </profile> |
| 499 | <profile> |
Michael Blow | 916dce4 | 2017-05-23 13:19:12 -0400 | [diff] [blame] | 500 | <id>skip-assembly</id> |
Ian Maxon | 4c9260c | 2017-04-01 10:12:36 -0700 | [diff] [blame] | 501 | <activation> |
| 502 | <file> |
Michael Blow | 916dce4 | 2017-05-23 13:19:12 -0400 | [diff] [blame] | 503 | <missing>src/main/assembly/source.xml</missing> |
Ian Maxon | 4c9260c | 2017-04-01 10:12:36 -0700 | [diff] [blame] | 504 | </file> |
| 505 | </activation> |
Michael Blow | 916dce4 | 2017-05-23 13:19:12 -0400 | [diff] [blame] | 506 | <properties> |
| 507 | <skip.assembly>true</skip.assembly> |
| 508 | </properties> |
| 509 | </profile> |
| 510 | <profile> |
| 511 | <id>release</id> |
Ian Maxon | 4c9260c | 2017-04-01 10:12:36 -0700 | [diff] [blame] | 512 | <build> |
| 513 | <plugins> |
| 514 | <plugin> |
| 515 | <groupId>org.apache.maven.plugins</groupId> |
| 516 | <artifactId>maven-assembly-plugin</artifactId> |
| 517 | <!-- We override the configuration plugin to override the descriptor to use for building |
| 518 | the source release zip. Specifically, we would like to control the inclusions/exclusions. |
| 519 | For example, we exclude the KEYS file from the zip --> |
| 520 | <executions> |
| 521 | <execution> |
| 522 | <!-- Use this id to match the id mentioned in the assembly plugin configuration in |
| 523 | the apache parent POM under the apache-release profile --> |
| 524 | <id>source-release-assembly</id> |
| 525 | <phase>package</phase> |
| 526 | <goals> |
| 527 | <goal>single</goal> |
| 528 | </goals> |
| 529 | <!-- combine.self should be override to replace the configuration in the parent POM --> |
| 530 | <configuration combine.self="override"> |
| 531 | <descriptors> |
| 532 | <descriptor>src/main/assembly/source.xml</descriptor> |
| 533 | </descriptors> |
Michael Blow | 916dce4 | 2017-05-23 13:19:12 -0400 | [diff] [blame] | 534 | <skipAssembly>${skip.assembly}</skipAssembly> |
Ian Maxon | 4c9260c | 2017-04-01 10:12:36 -0700 | [diff] [blame] | 535 | </configuration> |
| 536 | </execution> |
| 537 | </executions> |
| 538 | </plugin> |
Chris Hillery | 1fda6bc | 2015-10-02 17:18:11 -0700 | [diff] [blame] | 539 | <plugin> |
| 540 | <groupId>org.apache.maven.plugins</groupId> |
Ian Maxon | 99fed93 | 2017-02-09 19:11:39 -0800 | [diff] [blame] | 541 | <artifactId>maven-gpg-plugin</artifactId> |
| 542 | <version>1.6</version> |
Chris Hillery | 1fda6bc | 2015-10-02 17:18:11 -0700 | [diff] [blame] | 543 | <executions> |
| 544 | <execution> |
Ian Maxon | 99fed93 | 2017-02-09 19:11:39 -0800 | [diff] [blame] | 545 | <id>sign-artifacts</id> |
| 546 | <phase>verify</phase> |
Chris Hillery | 1fda6bc | 2015-10-02 17:18:11 -0700 | [diff] [blame] | 547 | <goals> |
Ian Maxon | 99fed93 | 2017-02-09 19:11:39 -0800 | [diff] [blame] | 548 | <goal>sign</goal> |
Chris Hillery | 1fda6bc | 2015-10-02 17:18:11 -0700 | [diff] [blame] | 549 | </goals> |
Chris Hillery | 1fda6bc | 2015-10-02 17:18:11 -0700 | [diff] [blame] | 550 | </execution> |
| 551 | </executions> |
| 552 | </plugin> |
| 553 | </plugins> |
| 554 | </build> |
| 555 | </profile> |
Ian Maxon | 5ae0df8 | 2015-10-14 10:45:19 -0700 | [diff] [blame] | 556 | <profile> |
Michael Blow | 7c15c13 | 2016-05-04 22:06:34 -0400 | [diff] [blame] | 557 | <id>coverage</id> |
| 558 | <activation> |
| 559 | <property> |
| 560 | <name>coverage</name> |
| 561 | </property> |
| 562 | </activation> |
| 563 | <build> |
| 564 | <plugins> |
| 565 | <plugin> |
| 566 | <groupId>org.jacoco</groupId> |
| 567 | <artifactId>jacoco-maven-plugin</artifactId> |
| 568 | <version>${jacoco.version}</version> |
| 569 | <executions> |
| 570 | <execution> |
| 571 | <id>default-prepare-agent</id> |
| 572 | <goals> |
| 573 | <goal>prepare-agent</goal> |
| 574 | </goals> |
| 575 | <configuration> |
| 576 | <propertyName>coverageArgLine</propertyName> |
| 577 | </configuration> |
| 578 | </execution> |
| 579 | <execution> |
| 580 | <id>default-prepare-agent-integration</id> |
| 581 | <goals> |
| 582 | <goal>prepare-agent-integration</goal> |
| 583 | </goals> |
| 584 | <configuration> |
| 585 | <propertyName>coverageArgLine</propertyName> |
| 586 | </configuration> |
| 587 | </execution> |
| 588 | </executions> |
| 589 | </plugin> |
| 590 | </plugins> |
| 591 | </build> |
| 592 | <properties> |
Michael Blow | 380b0a2 | 2016-08-02 13:05:52 -0400 | [diff] [blame] | 593 | <coverage /> |
Michael Blow | 7c15c13 | 2016-05-04 22:06:34 -0400 | [diff] [blame] | 594 | </properties> |
| 595 | </profile> |
| 596 | <profile> |
| 597 | <id>no-coverage</id> |
| 598 | <activation> |
| 599 | <property> |
| 600 | <name>!coverage</name> |
| 601 | </property> |
| 602 | </activation> |
| 603 | <properties> |
Michael Blow | 380b0a2 | 2016-08-02 13:05:52 -0400 | [diff] [blame] | 604 | <coverageArgLine /> |
Michael Blow | 7c15c13 | 2016-05-04 22:06:34 -0400 | [diff] [blame] | 605 | </properties> |
| 606 | </profile> |
| 607 | <profile> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 608 | <id>java8</id> |
| 609 | <activation> |
| 610 | <jdk>1.8</jdk> |
| 611 | </activation> |
| 612 | <properties> |
| 613 | <jdk.version>1.8</jdk.version> |
| 614 | </properties> |
Ian Maxon | 5ae0df8 | 2015-10-14 10:45:19 -0700 | [diff] [blame] | 615 | </profile> |
Chris Hillery | c9d8f92 | 2014-03-06 01:44:19 -0800 | [diff] [blame] | 616 | </profiles> |
| 617 | |
vinayakb | e5add8a | 2012-10-06 19:00:14 +0000 | [diff] [blame] | 618 | <modules> |
| 619 | <module>hyracks</module> |
vinayakb | 36016dc | 2012-10-09 06:10:12 +0000 | [diff] [blame] | 620 | <module>algebricks</module> |
Michael Blow | 43b40b6 | 2017-01-14 17:03:12 -0500 | [diff] [blame] | 621 | <module>hyracks-fullstack-license</module> |
vinayakb | e5add8a | 2012-10-06 19:00:14 +0000 | [diff] [blame] | 622 | </modules> |
Michael Blow | 4c7b5bf | 2017-03-06 21:55:58 -0500 | [diff] [blame] | 623 | |
| 624 | <dependencies> |
| 625 | <dependency> |
| 626 | <groupId>org.slf4j</groupId> |
| 627 | <artifactId>slf4j-simple</artifactId> |
| 628 | <version>1.7.22</version> |
| 629 | <scope>test</scope> |
| 630 | </dependency> |
| 631 | </dependencies> |
| 632 | |
vinayakb | e5add8a | 2012-10-06 19:00:14 +0000 | [diff] [blame] | 633 | </project> |