blob: 4e3757c81599f58124ba4e6699c054732f7eff47 [file] [log] [blame]
Till Westmann276bbc22013-06-05 18:56:27 -07001<!--
Ian Maxond8857792015-09-11 14:19:53 -07002 ! 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 Westmann276bbc22013-06-05 18:56:27 -070018 !-->
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -080019<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
vinayakbe5add8a2012-10-06 19:00:14 +000021 <modelVersion>4.0.0</modelVersion>
Ian Maxone915e8c2015-07-01 17:03:31 -070022 <groupId>org.apache.hyracks</groupId>
Michael Blowc3dfd4b2017-01-17 17:19:49 -050023 <artifactId>apache-hyracks</artifactId>
Michael Blow23d990c2019-03-27 22:11:26 -040024 <version>0.3.4.2-SNAPSHOT</version>
vinayakbe5add8a2012-10-06 19:00:14 +000025 <packaging>pom</packaging>
buyingyi7f356c12012-10-07 00:23:17 +000026 <name>hyracks-ecosystem-full-stack</name>
Michael Blow38ca9622018-02-28 11:44:43 -050027 <url>${implementation.url}</url>
Michael Blowb4c1fb02016-05-09 15:41:00 -070028 <parent>
29 <groupId>org.apache</groupId>
30 <artifactId>apache</artifactId>
Michael Blowb99349d2016-11-08 19:38:02 -050031 <version>18</version>
Michael Blow380b0a22016-08-02 13:05:52 -040032 <relativePath />
Michael Blowb4c1fb02016-05-09 15:41:00 -070033 </parent>
Michael Blowb4c1fb02016-05-09 15:41:00 -070034 <licenses>
35 <license>
36 <name>Apache License, Version 2.0</name>
37 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
38 <distribution>repo</distribution>
39 <comments>A business-friendly OSS license</comments>
40 </license>
41 </licenses>
Ian Maxon4b228432017-01-16 13:35:16 -080042 <scm>
43 <connection>scm:git:https://github.com/apache/asterixdb</connection>
44 <developerConnection>scm:git:ssh://asterix-gerrit.ics.uci.edu:29418/asterixdb</developerConnection>
45 <url>https://github.com/apache/asterixdb</url>
Ian Maxona3435a32017-01-18 18:31:30 -080046 <tag>HEAD</tag>
Ian Maxon4b228432017-01-16 13:35:16 -080047 </scm>
Michael Blowb4c1fb02016-05-09 15:41:00 -070048 <properties>
Ian Maxon3bb92132019-02-12 22:20:25 -080049 <root.dir>${basedir}</root.dir>
Michael Blowb4c1fb02016-05-09 15:41:00 -070050 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Michael Blowdd920be2017-06-07 15:04:33 -040051 <file.encoding>UTF-8</file.encoding>
Michael Blowcedd9612018-07-25 13:25:02 -040052 <source.jdk.version>1.8</source.jdk.version>
Michael Blow2b057012017-12-07 22:20:39 -050053 <javac.xlint.value>all</javac.xlint.value>
Michael Blow380b0a22016-08-02 13:05:52 -040054 <jvm.extraargs />
Michael Blowb4c1fb02016-05-09 15:41:00 -070055 <sonar.jacoco.reportPath>${env.PWD}/target/jacoco-merged.exec</sonar.jacoco.reportPath>
Michael Blow4cd925c2018-01-20 17:15:38 -050056 <source-format.goal>format</source-format.goal>
Dmitry Lychagin249be532017-05-31 14:57:14 -070057 <source-format.skip>false</source-format.skip>
Ian Maxon3bb92132019-02-12 22:20:25 -080058 <maven.test.skip>false</maven.test.skip>
Michael Blowe30c9d32018-01-20 09:42:19 -050059 <skipTests>false</skipTests>
Michael Blowdd920be2017-06-07 15:04:33 -040060 <skip.surefire.tests>${skipTests}</skip.surefire.tests>
Michael Blow7626d162017-12-10 14:26:56 -050061 <skip.testResources>${maven.test.skip}</skip.testResources>
Michael Blow2530e392018-02-06 01:19:42 -050062 <testLog4jConfigFile>${root.dir}/src/test/resources/log4j2-hyracks-test.xml</testLog4jConfigFile>
Michael Blowb4c1fb02016-05-09 15:41:00 -070063 <!-- Definition of tests in various categories which may be excluded -->
Michael Blowb4c1fb02016-05-09 15:41:00 -070064 <hivesterix.perf.tests>**/hivesterix/perf/PerfTestSuite.java</hivesterix.perf.tests>
65 <global.test.includes>**/*TestSuite.java,**/*Test.java</global.test.includes>
Michael Blow64d49fb2018-02-11 15:43:47 -050066 <global.test.excludes>**/Abstract*.java,${hivesterix.perf.tests}</global.test.excludes>
Michael Blowe30c9d32018-01-20 09:42:19 -050067 <test.includes>${global.test.includes}</test.includes>
68 <test.excludes>${global.test.excludes}</test.excludes>
Michael Blowb4c1fb02016-05-09 15:41:00 -070069 <!-- Versions under dependencymanagement or used in many projects via properties -->
Michael Blow7311b032018-10-04 17:17:35 -040070 <hadoop.version>2.8.5</hadoop.version>
Michael Blowb4c1fb02016-05-09 15:41:00 -070071 <jacoco.version>0.7.6.201602180812</jacoco.version>
Michael Blow38ca9622018-02-28 11:44:43 -050072
Michael Blowcbfe8f92018-02-28 14:02:38 -050073 <implementation.title>Apache Hyracks and Algebricks - ${project.name}</implementation.title>
Michael Blow38ca9622018-02-28 11:44:43 -050074 <implementation.url>https://asterixdb.apache.org/</implementation.url>
75 <implementation.version>${project.version}</implementation.version>
76 <implementation.vendor>${project.organization.name}</implementation.vendor>
Michael Blowb4c1fb02016-05-09 15:41:00 -070077 </properties>
78 <dependencyManagement>
79 <dependencies>
80 <dependency>
Till Westmannea666c92017-02-22 22:25:15 -080081 <groupId>io.netty</groupId>
82 <artifactId>netty-all</artifactId>
Michael Blowb8df1c52019-11-08 14:15:42 -050083 <version>4.1.42.Final</version>
Till Westmannea666c92017-02-22 22:25:15 -080084 </dependency>
85 <dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -070086 <groupId>junit</groupId>
87 <artifactId>junit</artifactId>
Michael Blow599ef8f2017-01-12 11:02:53 -050088 <version>4.12</version>
Michael Blowb4c1fb02016-05-09 15:41:00 -070089 </dependency>
90 <dependency>
91 <groupId>org.apache.hadoop</groupId>
92 <artifactId>hadoop-yarn-client</artifactId>
93 <version>${hadoop.version}</version>
94 </dependency>
95 <dependency>
96 <groupId>org.apache.hadoop</groupId>
97 <artifactId>hadoop-client</artifactId>
98 <version>${hadoop.version}</version>
99 </dependency>
100 <dependency>
101 <groupId>org.apache.hadoop</groupId>
102 <artifactId>hadoop-common</artifactId>
103 <version>${hadoop.version}</version>
Michael Blowaebe2c52018-06-10 14:18:53 -0400104 <exclusions>
105 <exclusion>
106 <groupId>javax.servlet.jsp</groupId>
107 <artifactId>jsp-api</artifactId>
108 </exclusion>
109 <exclusion>
110 <groupId>javax.servlet</groupId>
111 <artifactId>servlet-api</artifactId>
112 </exclusion>
113 <exclusion>
114 <groupId>jdk.tools</groupId>
115 <artifactId>jdk.tools</artifactId>
116 </exclusion>
117 </exclusions>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700118 </dependency>
119 <dependency>
120 <groupId>org.apache.hadoop</groupId>
121 <artifactId>hadoop-hdfs</artifactId>
122 <version>${hadoop.version}</version>
123 </dependency>
124 <dependency>
125 <groupId>org.apache.hadoop</groupId>
126 <artifactId>hadoop-minicluster</artifactId>
127 <version>${hadoop.version}</version>
128 </dependency>
129 <dependency>
130 <groupId>org.apache.hadoop</groupId>
131 <artifactId>hadoop-mapreduce-client-core</artifactId>
132 <version>${hadoop.version}</version>
133 </dependency>
134 <dependency>
Michael Blowba358122016-10-13 19:56:03 -0400135 <groupId>org.apache.hadoop</groupId>
136 <artifactId>hadoop-hdfs</artifactId>
137 <version>${hadoop.version}</version>
138 <classifier>tests</classifier>
139 <scope>test</scope>
140 </dependency>
141 <dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700142 <groupId>commons-io</groupId>
143 <artifactId>commons-io</artifactId>
Michael Blow204b2952017-12-07 20:17:47 -0500144 <version>2.6</version>
145 </dependency>
146 <dependency>
Michael Blow6f75f052018-04-15 20:06:48 -0400147 <groupId>org.apache.commons</groupId>
148 <artifactId>commons-text</artifactId>
Michael Blowb8df1c52019-11-08 14:15:42 -0500149 <version>1.8</version>
Michael Blow6f75f052018-04-15 20:06:48 -0400150 </dependency>
151 <dependency>
Ian Maxond49bc6e2017-01-05 18:50:57 -0800152 <groupId>com.fasterxml.jackson.core</groupId>
153 <artifactId>jackson-databind</artifactId>
Michael Blowb8df1c52019-11-08 14:15:42 -0500154 <version>2.10.0</version>
Ian Maxond49bc6e2017-01-05 18:50:57 -0800155 </dependency>
156 <dependency>
157 <groupId>com.fasterxml.jackson.core</groupId>
158 <artifactId>jackson-core</artifactId>
Michael Blowb8df1c52019-11-08 14:15:42 -0500159 <version>2.10.0</version>
Ian Maxond49bc6e2017-01-05 18:50:57 -0800160 </dependency>
Michael Blow599ef8f2017-01-12 11:02:53 -0500161 <dependency>
Michael Blow204b2952017-12-07 20:17:47 -0500162 <groupId>com.fasterxml.jackson.core</groupId>
163 <artifactId>jackson-annotations</artifactId>
Michael Blowb8df1c52019-11-08 14:15:42 -0500164 <version>2.10.0</version>
Michael Blow204b2952017-12-07 20:17:47 -0500165 </dependency>
166 <dependency>
Michael Blow599ef8f2017-01-12 11:02:53 -0500167 <groupId>com.google.guava</groupId>
168 <artifactId>guava</artifactId>
Michael Blowb8df1c52019-11-08 14:15:42 -0500169 <version>28.1-jre</version>
Michael Blowe8e59d0e2019-09-26 19:28:12 -0400170 <exclusions>
171 <exclusion>
172 <groupId>com.google.code.findbugs</groupId>
173 <artifactId>jsr305</artifactId>
174 </exclusion>
175 <exclusion>
176 <groupId>com.google.guava</groupId>
177 <artifactId>listenablefuture</artifactId>
178 </exclusion>
179 <exclusion>
180 <groupId>org.checkerframework</groupId>
181 <artifactId>checker-qual</artifactId>
182 </exclusion>
183 <exclusion>
184 <groupId>com.google.j2objc</groupId>
185 <artifactId>j2objc-annotations</artifactId>
186 </exclusion>
187 <exclusion>
188 <groupId>org.codehaus.mojo</groupId>
189 <artifactId>animal-sniffer-annotations</artifactId>
190 </exclusion>
191 </exclusions>
Michael Blow599ef8f2017-01-12 11:02:53 -0500192 </dependency>
Michael Blow43b40b62017-01-14 17:03:12 -0500193 <dependency>
194 <groupId>org.apache.commons</groupId>
195 <artifactId>commons-lang3</artifactId>
Michael Blowb8df1c52019-11-08 14:15:42 -0500196 <version>3.9</version>
Michael Blow43b40b62017-01-14 17:03:12 -0500197 </dependency>
Michael Blow5e17af22017-02-02 10:00:44 -0500198 <dependency>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500199 <groupId>org.apache.commons</groupId>
200 <artifactId>commons-collections4</artifactId>
Michael Blowb8df1c52019-11-08 14:15:42 -0500201 <version>4.4</version>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500202 </dependency>
203 <dependency>
Till Westmann55dd6ff2017-02-19 20:18:51 -0800204 <groupId>org.apache.httpcomponents</groupId>
205 <artifactId>httpcore</artifactId>
Michael Blowb8df1c52019-11-08 14:15:42 -0500206 <version>4.4.12</version>
Till Westmann55dd6ff2017-02-19 20:18:51 -0800207 </dependency>
208 <dependency>
209 <groupId>org.apache.httpcomponents</groupId>
210 <artifactId>httpclient</artifactId>
Michael Blowb8df1c52019-11-08 14:15:42 -0500211 <version>4.5.10</version>
Till Westmann55dd6ff2017-02-19 20:18:51 -0800212 </dependency>
213 <dependency>
Michael Blow5e17af22017-02-02 10:00:44 -0500214 <groupId>org.apache.rat</groupId>
215 <artifactId>apache-rat-plugin</artifactId>
Michael Blow0f7e4872018-12-15 20:01:23 -0500216 <version>0.13</version>
Michael Blow5e17af22017-02-02 10:00:44 -0500217 </dependency>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500218 <dependency>
Dmitry Lychagin249be532017-05-31 14:57:14 -0700219 <groupId>net.revelc.code.formatter</groupId>
220 <artifactId>formatter-maven-plugin</artifactId>
221 <version>2.0.1</version>
222 </dependency>
223 <dependency>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500224 <groupId>args4j</groupId>
225 <artifactId>args4j</artifactId>
226 <version>2.33</version>
227 </dependency>
Murtadha Hubailaf4018d2017-12-15 17:56:38 +0300228 <dependency>
229 <groupId>org.apache.logging.log4j</groupId>
230 <artifactId>log4j-api</artifactId>
Michael Blowb8df1c52019-11-08 14:15:42 -0500231 <version>2.12.1</version>
Murtadha Hubailaf4018d2017-12-15 17:56:38 +0300232 </dependency>
233 <dependency>
234 <groupId>org.apache.logging.log4j</groupId>
235 <artifactId>log4j-core</artifactId>
Michael Blowb8df1c52019-11-08 14:15:42 -0500236 <version>2.12.1</version>
Murtadha Hubailaf4018d2017-12-15 17:56:38 +0300237 </dependency>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800238 <dependency>
239 <groupId>org.mockito</groupId>
240 <artifactId>mockito-all</artifactId>
241 <version>2.0.2-beta</version>
242 </dependency>
Michael Blow7311b032018-10-04 17:17:35 -0400243 <dependency>
244 <groupId>javax.xml.bind</groupId>
245 <artifactId>jaxb-api</artifactId>
246 <version>2.3.0</version>
247 </dependency>
Michael Blowb8df1c52019-11-08 14:15:42 -0500248 <dependency>
249 <groupId>org.apache.maven</groupId>
250 <artifactId>maven-project</artifactId>
251 <version>2.2.1</version>
252 </dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700253 </dependencies>
254 </dependencyManagement>
vinayakbe5add8a2012-10-06 19:00:14 +0000255 <build>
256 <plugins>
257 <plugin>
Michael Blowba358122016-10-13 19:56:03 -0400258 <groupId>org.apache.maven.plugins</groupId>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500259 <artifactId>maven-jar-plugin</artifactId>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500260 <configuration>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500261 <excludes combine.children="append">
Michael Blowc96bb1f2017-01-16 16:31:54 -0500262 <exclude>**/DEPENDENCIES</exclude>
263 </excludes>
Michael Blow38ca9622018-02-28 11:44:43 -0500264 <archive>
265 <manifest>
266 <addDefaultImplementationEntries>false</addDefaultImplementationEntries>
267 <addDefaultSpecificationEntries>false</addDefaultSpecificationEntries>
268 </manifest>
269 <manifestEntries>
270 <Implementation-Title>${implementation.title}</Implementation-Title>
271 <Implementation-URL>${implementation.url}</Implementation-URL>
272 <Implementation-Version>${implementation.version}</Implementation-Version>
273 <Implementation-Vendor>${implementation.vendor}</Implementation-Vendor>
274 </manifestEntries>
275 </archive>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500276 </configuration>
277 </plugin>
278 <plugin>
279 <groupId>org.apache.maven.plugins</groupId>
Michael Blowba358122016-10-13 19:56:03 -0400280 <artifactId>maven-dependency-plugin</artifactId>
Michael Blowba358122016-10-13 19:56:03 -0400281 <configuration>
282 <failOnWarning>true</failOnWarning>
283 <outputXML>true</outputXML>
284 </configuration>
285 <executions>
286 <execution>
287 <phase>process-test-classes</phase>
288 <goals>
289 <goal>analyze-only</goal>
290 </goals>
291 </execution>
292 </executions>
293 </plugin>
294 <plugin>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700295 <groupId>org.apache.rat</groupId>
296 <artifactId>apache-rat-plugin</artifactId>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700297 <executions>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700298 <execution>
299 <phase>validate</phase>
300 <goals>
301 <goal>check</goal>
302 </goals>
303 </execution>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700304 </executions>
305 <configuration>
Michael Blow5e17af22017-02-02 10:00:44 -0500306 <addDefaultLicenseMatchers>false</addDefaultLicenseMatchers>
307 <consoleOutput>true</consoleOutput>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700308 <licenses>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800309 <license implementation="org.apache.rat.analysis.license.ApacheSoftwareLicense20" />
Ian Maxon137fc3b2015-06-30 16:23:48 -0700310 </licenses>
311 <licenseFamilies>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800312 <licenseFamily implementation="org.apache.rat.license.Apache20LicenseFamily" />
Ian Maxon137fc3b2015-06-30 16:23:48 -0700313 </licenseFamilies>
Michael Blow5e17af22017-02-02 10:00:44 -0500314 <excludeSubProjects>true</excludeSubProjects>
Michael Blowe7aec9c2017-04-28 17:08:45 -0400315 <excludes combine.children="append">
316 <exclude>**/*.iml</exclude>
317 </excludes>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700318 </configuration>
319 </plugin>
320 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700321 <groupId>org.apache.maven.plugins</groupId>
322 <artifactId>maven-surefire-plugin</artifactId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700323 <configuration>
324 <failIfNoTests>false</failIfNoTests>
325 <forkCount>1</forkCount>
Chris Hilleryd2c1a8a2014-02-21 01:03:02 -0800326 <reuseForks>false</reuseForks>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800327 <argLine>-enableassertions -Xmx2048m -Dfile.encoding=UTF-8 -Xdebug
Murtadha Hubailc7eb0c52018-05-21 18:01:55 +0300328 -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n ${coverageArgLine}
Michael Blowb4c1fb02016-05-09 15:41:00 -0700329 </argLine>
Murtadha Hubail06ca2792018-01-16 00:12:27 +0300330 <systemPropertyVariables>
331 <log4j.configurationFile>${testLog4jConfigFile}</log4j.configurationFile>
332 </systemPropertyVariables>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700333 <includes>
Michael Blowe30c9d32018-01-20 09:42:19 -0500334 <include>${test.includes}</include>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700335 </includes>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500336 <excludes combine.children="append">
Michael Blowe30c9d32018-01-20 09:42:19 -0500337 <exclude>${test.excludes}</exclude>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800338 </excludes>
Michael Blowdd920be2017-06-07 15:04:33 -0400339 <skipTests>${skip.surefire.tests}</skipTests>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700340 </configuration>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700341 </plugin>
342 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700343 <groupId>org.apache.maven.plugins</groupId>
Murtadha Hubail06ca2792018-01-16 00:12:27 +0300344 <artifactId>maven-failsafe-plugin</artifactId>
345 <configuration>
346 <systemPropertyVariables>
347 <log4j.configurationFile>${testLog4jConfigFile}</log4j.configurationFile>
348 </systemPropertyVariables>
349 </configuration>
350 </plugin>
351 <plugin>
352 <groupId>org.apache.maven.plugins</groupId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700353 <artifactId>maven-compiler-plugin</artifactId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700354 <configuration>
Michael Blowcedd9612018-07-25 13:25:02 -0400355 <source>${source.jdk.version}</source>
356 <target>${target.jdk.version}</target>
Michael Blow2b057012017-12-07 22:20:39 -0500357 <compilerArgument>-Xlint:${javac.xlint.value}</compilerArgument>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700358 </configuration>
vinayakbe5add8a2012-10-06 19:00:14 +0000359 </plugin>
Ian Maxonb165aca2016-03-17 18:21:57 -0700360 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700361 <groupId>org.apache.maven.plugins</groupId>
362 <artifactId>maven-remote-resources-plugin</artifactId>
363 <executions>
364 <execution>
365 <goals>
366 <goal>process</goal>
367 </goals>
368 <configuration>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500369 <resourceBundles>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700370 <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700371 </resourceBundles>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500372 <properties>
373 <projectName>Apache Hyracks - ${project.name}</projectName>
374 </properties>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700375 </configuration>
376 </execution>
377 </executions>
Ian Maxon9e37c962015-11-25 07:38:37 -0800378 </plugin>
Michael Blowd1e2a992016-06-14 12:27:46 -0400379 <plugin>
380 <groupId>org.apache.maven.plugins</groupId>
381 <artifactId>maven-checkstyle-plugin</artifactId>
382 <version>2.17</version>
383 <executions>
384 <execution>
385 <id>verify-style</id>
386 <phase>process-classes</phase>
387 <goals>
388 <goal>check</goal>
389 </goals>
390 </execution>
391 </executions>
392 <configuration>
393 <logViolationsToConsole>true</logViolationsToConsole>
394 <checkstyleRules>
395 <module name="Checker">
396 <!-- Checks for whitespace -->
397 <!-- See http://checkstyle.sf.net/config_whitespace.html -->
Michael Blow380b0a22016-08-02 13:05:52 -0400398 <module name="FileTabCharacter" />
Michael Blowd1e2a992016-06-14 12:27:46 -0400399 </module>
400 </checkstyleRules>
Michael Blowd6cf6412016-06-30 02:44:35 -0400401 <includes>**/*.java,**/*.jj</includes>
402 <resourceIncludes>**/*.properties,**/*.xml,**/*.xsd,**/*.sh</resourceIncludes>
Michael Blowd1e2a992016-06-14 12:27:46 -0400403 <sourceDirectories>${project.build.sourceDirectory},${project.build.testSourceDirectory}</sourceDirectories>
404 </configuration>
405 </plugin>
Michael Blowf53c1c62016-06-17 16:51:59 -0400406 <plugin>
407 <groupId>org.apache.maven.plugins</groupId>
408 <artifactId>maven-enforcer-plugin</artifactId>
Michael Blow918c5b12017-10-30 14:51:13 -0400409 <version>3.0.0-M1</version>
Michael Blowf53c1c62016-06-17 16:51:59 -0400410 <executions>
411 <execution>
412 <id>enforce-versions</id>
413 <goals>
414 <goal>enforce</goal>
415 </goals>
416 <configuration>
417 <rules>
418 <requireMavenVersion>
419 <version>[3.3.9,)</version>
420 </requireMavenVersion>
421 </rules>
422 </configuration>
423 </execution>
424 </executions>
425 </plugin>
Michael Blow7626d162017-12-10 14:26:56 -0500426 <plugin>
427 <groupId>org.apache.maven.plugins</groupId>
428 <artifactId>maven-resources-plugin</artifactId>
429 <executions>
430 <execution>
431 <id>default-testResources</id>
432 <goals>
433 <goal>testResources</goal>
434 </goals>
435 <configuration>
436 <skip>${skip.testResources}</skip>
437 </configuration>
438 </execution>
439 </executions>
440 </plugin>
Michael Blowcb9ca972018-01-27 23:03:30 -0500441 <plugin>
442 <groupId>net.revelc.code.formatter</groupId>
443 <artifactId>formatter-maven-plugin</artifactId>
444 <executions>
445 <execution>
446 <goals>
447 <goal>${source-format.goal}</goal>
448 </goals>
449 </execution>
450 </executions>
451 <configuration>
452 <configFile>${root.dir}/AsterixCodeFormatProfile.xml</configFile>
453 <skipFormatting>${source-format.skip}</skipFormatting>
454 </configuration>
455 </plugin>
vinayakbe5add8a2012-10-06 19:00:14 +0000456 </plugins>
Yingyi Bud680e142016-03-18 16:41:46 -0700457 <pluginManagement>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700458 <plugins>
Michael Blow5e17af22017-02-02 10:00:44 -0500459 <plugin>
Till Westmann65da60c2017-02-22 13:17:49 -0800460 <groupId>org.apache.maven.plugins</groupId>
461 <artifactId>maven-compiler-plugin</artifactId>
Michael Blow7311b032018-10-04 17:17:35 -0400462 <version>3.8.0</version>
Till Westmann65da60c2017-02-22 13:17:49 -0800463 </plugin>
464 <plugin>
Michael Blow5e17af22017-02-02 10:00:44 -0500465 <groupId>org.apache.rat</groupId>
466 <artifactId>apache-rat-plugin</artifactId>
467 <version>0.12</version>
468 </plugin>
Dmitry Lychagin249be532017-05-31 14:57:14 -0700469 <plugin>
470 <groupId>net.revelc.code.formatter</groupId>
471 <artifactId>formatter-maven-plugin</artifactId>
472 <version>2.0.1</version>
473 </plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700474 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
475 <plugin>
476 <groupId>org.eclipse.m2e</groupId>
477 <artifactId>lifecycle-mapping</artifactId>
478 <version>1.0.0</version>
479 <configuration>
480 <lifecycleMappingMetadata>
481 <pluginExecutions>
482 <pluginExecution>
483 <pluginExecutionFilter>
484 <groupId>org.apache.rat</groupId>
485 <artifactId>apache-rat-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400486 <versionRange>[0.0,)</versionRange>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700487 <goals>
488 <goal>check</goal>
489 </goals>
490 </pluginExecutionFilter>
491 <action>
Michael Blow380b0a22016-08-02 13:05:52 -0400492 <ignore />
Michael Blowb4c1fb02016-05-09 15:41:00 -0700493 </action>
494 </pluginExecution>
Michael Blow8f2cf242016-06-30 01:45:39 -0400495 <pluginExecution>
496 <pluginExecutionFilter>
497 <groupId>org.apache.maven.plugins</groupId>
498 <artifactId>maven-checkstyle-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400499 <versionRange>[0.0,)</versionRange>
Michael Blow8f2cf242016-06-30 01:45:39 -0400500 <goals>
501 <goal>check</goal>
502 </goals>
503 </pluginExecutionFilter>
504 <action>
Michael Blow380b0a22016-08-02 13:05:52 -0400505 <ignore />
Michael Blow8f2cf242016-06-30 01:45:39 -0400506 </action>
507 </pluginExecution>
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700508 <pluginExecution>
509 <pluginExecutionFilter>
510 <groupId>org.apache.maven.plugins</groupId>
511 <artifactId>maven-dependency-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400512 <versionRange>[0.0,)</versionRange>
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700513 <goals>
514 <goal>analyze-only</goal>
515 </goals>
516 </pluginExecutionFilter>
517 <action>
Ian Maxondef643d2017-01-18 18:31:11 -0800518 <ignore />
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700519 </action>
520 </pluginExecution>
Taewoo Kima252d782018-01-30 13:29:07 -0800521 <pluginExecution>
522 <pluginExecutionFilter>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800523 <groupId>net.revelc.code.formatter</groupId>
524 <artifactId>formatter-maven-plugin</artifactId>
525 <versionRange>[2.0.1,)</versionRange>
526 <goals>
527 <goal>format</goal>
528 </goals>
529 </pluginExecutionFilter>
530 <action>
531 <ignore></ignore>
532 </action>
Taewoo Kima252d782018-01-30 13:29:07 -0800533 </pluginExecution>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700534 </pluginExecutions>
535 </lifecycleMappingMetadata>
536 </configuration>
537 </plugin>
Ian Maxon99fed932017-02-09 19:11:39 -0800538 <plugin>
Michael Blowa7fad192017-03-09 22:10:19 -0500539 <groupId>org.codehaus.mojo</groupId>
540 <artifactId>versions-maven-plugin</artifactId>
Michael Blow0aae1832017-10-29 11:59:47 -0400541 <version>2.5</version>
Ian Maxon99fed932017-02-09 19:11:39 -0800542 </plugin>
543 <plugin>
Michael Blowa7fad192017-03-09 22:10:19 -0500544 <groupId>org.apache.maven.plugins</groupId>
545 <artifactId>maven-scm-plugin</artifactId>
546 <version>1.9.5</version>
547 </plugin>
548 <plugin>
549 <groupId>org.codehaus.mojo</groupId>
550 <artifactId>appassembler-maven-plugin</artifactId>
551 <version>2.0.0</version>
Ian Maxon99fed932017-02-09 19:11:39 -0800552 </plugin>
Michael Blow10a74862017-05-23 16:55:39 -0400553 <plugin>
554 <groupId>org.apache.maven.plugins</groupId>
555 <artifactId>maven-surefire-plugin</artifactId>
Michael Blowaebe2c52018-06-10 14:18:53 -0400556 <version>2.21.0</version>
Michael Blow10a74862017-05-23 16:55:39 -0400557 </plugin>
558 <plugin>
559 <groupId>org.apache.maven.plugins</groupId>
560 <artifactId>maven-failsafe-plugin</artifactId>
Michael Blowaebe2c52018-06-10 14:18:53 -0400561 <version>2.21.0</version>
Michael Blow10a74862017-05-23 16:55:39 -0400562 </plugin>
Michael Blow09f958c2017-08-20 17:02:19 -0400563 <plugin>
564 <groupId>org.apache.hyracks</groupId>
565 <artifactId>license-automation-plugin</artifactId>
566 <version>${project.version}</version>
567 </plugin>
Michael Blow0aae1832017-10-29 11:59:47 -0400568 <plugin>
569 <groupId>org.apache.maven.plugins</groupId>
570 <artifactId>maven-assembly-plugin</artifactId>
571 <version>3.1.0</version>
572 </plugin>
573 <plugin>
574 <groupId>org.apache.maven.plugins</groupId>
575 <artifactId>maven-antrun-plugin</artifactId>
576 <version>1.8</version>
577 </plugin>
578 <plugin>
579 <groupId>org.apache.maven.plugins</groupId>
580 <artifactId>maven-clean-plugin</artifactId>
581 <version>3.0.0</version>
582 </plugin>
583 <plugin>
584 <groupId>org.apache.maven.plugins</groupId>
585 <artifactId>maven-jar-plugin</artifactId>
586 <version>3.0.2</version>
587 </plugin>
588 <plugin>
589 <groupId>org.codehaus.mojo</groupId>
590 <artifactId>build-helper-maven-plugin</artifactId>
591 <version>3.0.0</version>
592 </plugin>
593 <plugin>
594 <groupId>org.apache.maven.plugins</groupId>
595 <artifactId>maven-dependency-plugin</artifactId>
Michael Blowcedd9612018-07-25 13:25:02 -0400596 <version>3.1.1</version>
Michael Blow0aae1832017-10-29 11:59:47 -0400597 </plugin>
Michael Blow918c5b12017-10-30 14:51:13 -0400598 <plugin>
599 <groupId>org.apache.maven.doxia</groupId>
600 <artifactId>doxia-maven-plugin</artifactId>
601 <version>1.1.4</version>
602 </plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700603 </plugins>
604 </pluginManagement>
vinayakbe5add8a2012-10-06 19:00:14 +0000605 </build>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800606 <profiles>
607 <profile>
Michael Blow916dce42017-05-23 13:19:12 -0400608 <id>skip-assembly</id>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700609 <activation>
610 <file>
Michael Blow916dce42017-05-23 13:19:12 -0400611 <missing>src/main/assembly/source.xml</missing>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700612 </file>
613 </activation>
Michael Blow916dce42017-05-23 13:19:12 -0400614 <properties>
615 <skip.assembly>true</skip.assembly>
616 </properties>
617 </profile>
618 <profile>
619 <id>release</id>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700620 <build>
621 <plugins>
622 <plugin>
623 <groupId>org.apache.maven.plugins</groupId>
Michael Blow38ca9622018-02-28 11:44:43 -0500624 <artifactId>maven-jar-plugin</artifactId>
625 <configuration>
626 <archive>
627 <manifest>
628 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
629 <addDefaultSpecificationEntries>false</addDefaultSpecificationEntries>
630 </manifest>
631 </archive>
632 </configuration>
633 </plugin>
634 <plugin>
635 <groupId>org.apache.maven.plugins</groupId>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700636 <artifactId>maven-assembly-plugin</artifactId>
637 <!-- We override the configuration plugin to override the descriptor to use for building
638 the source release zip. Specifically, we would like to control the inclusions/exclusions.
639 For example, we exclude the KEYS file from the zip -->
640 <executions>
641 <execution>
642 <!-- Use this id to match the id mentioned in the assembly plugin configuration in
643 the apache parent POM under the apache-release profile -->
644 <id>source-release-assembly</id>
645 <phase>package</phase>
646 <goals>
647 <goal>single</goal>
648 </goals>
649 <!-- combine.self should be override to replace the configuration in the parent POM -->
650 <configuration combine.self="override">
651 <descriptors>
652 <descriptor>src/main/assembly/source.xml</descriptor>
653 </descriptors>
Michael Blow916dce42017-05-23 13:19:12 -0400654 <skipAssembly>${skip.assembly}</skipAssembly>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700655 </configuration>
656 </execution>
657 </executions>
658 </plugin>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700659 <plugin>
660 <groupId>org.apache.maven.plugins</groupId>
Ian Maxon99fed932017-02-09 19:11:39 -0800661 <artifactId>maven-gpg-plugin</artifactId>
662 <version>1.6</version>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700663 <executions>
664 <execution>
Ian Maxon99fed932017-02-09 19:11:39 -0800665 <id>sign-artifacts</id>
666 <phase>verify</phase>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700667 <goals>
Ian Maxon99fed932017-02-09 19:11:39 -0800668 <goal>sign</goal>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700669 </goals>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700670 </execution>
671 </executions>
672 </plugin>
673 </plugins>
674 </build>
675 </profile>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700676 <profile>
Michael Blow7c15c132016-05-04 22:06:34 -0400677 <id>coverage</id>
678 <activation>
679 <property>
680 <name>coverage</name>
681 </property>
682 </activation>
683 <build>
684 <plugins>
685 <plugin>
686 <groupId>org.jacoco</groupId>
687 <artifactId>jacoco-maven-plugin</artifactId>
688 <version>${jacoco.version}</version>
689 <executions>
690 <execution>
691 <id>default-prepare-agent</id>
692 <goals>
693 <goal>prepare-agent</goal>
694 </goals>
695 <configuration>
696 <propertyName>coverageArgLine</propertyName>
697 </configuration>
698 </execution>
699 <execution>
700 <id>default-prepare-agent-integration</id>
701 <goals>
702 <goal>prepare-agent-integration</goal>
703 </goals>
704 <configuration>
705 <propertyName>coverageArgLine</propertyName>
706 </configuration>
707 </execution>
708 </executions>
709 </plugin>
710 </plugins>
711 </build>
712 <properties>
Michael Blow380b0a22016-08-02 13:05:52 -0400713 <coverage />
Michael Blow7c15c132016-05-04 22:06:34 -0400714 </properties>
715 </profile>
716 <profile>
717 <id>no-coverage</id>
718 <activation>
719 <property>
720 <name>!coverage</name>
721 </property>
722 </activation>
723 <properties>
Michael Blow380b0a22016-08-02 13:05:52 -0400724 <coverageArgLine />
Michael Blow7c15c132016-05-04 22:06:34 -0400725 </properties>
726 </profile>
727 <profile>
Michael Blow64d49fb2018-02-11 15:43:47 -0500728 <id>integration-tests-only</id>
729 <properties>
730 <test.includes/>
731 <failIfNoTests>false</failIfNoTests>
732 </properties>
733 </profile>
Michael Blowcedd9612018-07-25 13:25:02 -0400734 <profile>
735 <id>java8</id>
736 <activation>
737 <jdk>1.8</jdk>
738 </activation>
739 <properties>
740 <target.jdk.version>8</target.jdk.version>
741 </properties>
742 </profile>
743 <profile>
744 <id>java9</id>
745 <activation>
746 <jdk>9</jdk>
747 </activation>
748 <properties>
749 <target.jdk.version>9</target.jdk.version>
750 </properties>
751 </profile>
752 <profile>
753 <id>java10</id>
754 <activation>
755 <jdk>10</jdk>
756 </activation>
757 <properties>
758 <target.jdk.version>10</target.jdk.version>
759 </properties>
760 </profile>
761 <profile>
762 <id>java11</id>
763 <activation>
764 <jdk>11</jdk>
765 </activation>
766 <properties>
Michael Blow7311b032018-10-04 17:17:35 -0400767 <!-- several plugins do not yet support Java 11 classes (maven-plugin-plugin, maven-dependency-plugin) -->
768 <target.jdk.version>10</target.jdk.version>
Michael Blowcedd9612018-07-25 13:25:02 -0400769 </properties>
770 </profile>
771 <profile>
772 <id>java8-bootclasspath</id>
773 <activation>
774 <property>
775 <name>java8-bootclasspath</name>
776 </property>
777 </activation>
778 <properties>
779 <target.jdk.version>8</target.jdk.version>
780 </properties>
781 <build>
782 <plugins>
783 <plugin>
784 <groupId>org.apache.maven.plugins</groupId>
785 <artifactId>maven-compiler-plugin</artifactId>
786 <configuration>
787 <compilerArgs combine.children="append">
788 <arg>-bootclasspath</arg>
789 <arg>${java8-bootclasspath}</arg>
790 </compilerArgs>
791 </configuration>
792 </plugin>
793 </plugins>
794 </build>
795 </profile>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800796 </profiles>
vinayakbe5add8a2012-10-06 19:00:14 +0000797 <modules>
798 <module>hyracks</module>
vinayakb36016dc2012-10-09 06:10:12 +0000799 <module>algebricks</module>
Michael Blow43b40b62017-01-14 17:03:12 -0500800 <module>hyracks-fullstack-license</module>
vinayakbe5add8a2012-10-06 19:00:14 +0000801 </modules>
Michael Blowbd7ba452018-10-31 15:08:26 -0400802</project>