blob: d8168ef24531b490aa60ad4ecc09d5374ccc685e [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 Blow2d5bd952020-06-13 12:51:06 -040072 <log4j.version>2.13.3</log4j.version>
Michael Blow38ca9622018-02-28 11:44:43 -050073
Michael Blowcbfe8f92018-02-28 14:02:38 -050074 <implementation.title>Apache Hyracks and Algebricks - ${project.name}</implementation.title>
Michael Blow38ca9622018-02-28 11:44:43 -050075 <implementation.url>https://asterixdb.apache.org/</implementation.url>
76 <implementation.version>${project.version}</implementation.version>
77 <implementation.vendor>${project.organization.name}</implementation.vendor>
Michael Blowb4c1fb02016-05-09 15:41:00 -070078 </properties>
79 <dependencyManagement>
80 <dependencies>
81 <dependency>
Till Westmannea666c92017-02-22 22:25:15 -080082 <groupId>io.netty</groupId>
83 <artifactId>netty-all</artifactId>
Michael Blow4bf70482020-04-08 12:58:40 -040084 <version>4.1.48.Final</version>
Till Westmannea666c92017-02-22 22:25:15 -080085 </dependency>
86 <dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -070087 <groupId>junit</groupId>
88 <artifactId>junit</artifactId>
Michael Blow9868a032020-03-05 21:16:35 -050089 <version>4.13</version>
Michael Blowb4c1fb02016-05-09 15:41:00 -070090 </dependency>
91 <dependency>
92 <groupId>org.apache.hadoop</groupId>
93 <artifactId>hadoop-yarn-client</artifactId>
94 <version>${hadoop.version}</version>
95 </dependency>
96 <dependency>
97 <groupId>org.apache.hadoop</groupId>
98 <artifactId>hadoop-client</artifactId>
99 <version>${hadoop.version}</version>
100 </dependency>
101 <dependency>
102 <groupId>org.apache.hadoop</groupId>
103 <artifactId>hadoop-common</artifactId>
104 <version>${hadoop.version}</version>
Michael Blowaebe2c52018-06-10 14:18:53 -0400105 <exclusions>
106 <exclusion>
107 <groupId>javax.servlet.jsp</groupId>
108 <artifactId>jsp-api</artifactId>
109 </exclusion>
110 <exclusion>
111 <groupId>javax.servlet</groupId>
112 <artifactId>servlet-api</artifactId>
113 </exclusion>
114 <exclusion>
115 <groupId>jdk.tools</groupId>
116 <artifactId>jdk.tools</artifactId>
117 </exclusion>
118 </exclusions>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700119 </dependency>
120 <dependency>
121 <groupId>org.apache.hadoop</groupId>
122 <artifactId>hadoop-hdfs</artifactId>
123 <version>${hadoop.version}</version>
124 </dependency>
125 <dependency>
126 <groupId>org.apache.hadoop</groupId>
127 <artifactId>hadoop-minicluster</artifactId>
128 <version>${hadoop.version}</version>
129 </dependency>
130 <dependency>
131 <groupId>org.apache.hadoop</groupId>
132 <artifactId>hadoop-mapreduce-client-core</artifactId>
133 <version>${hadoop.version}</version>
134 </dependency>
135 <dependency>
Michael Blowba358122016-10-13 19:56:03 -0400136 <groupId>org.apache.hadoop</groupId>
137 <artifactId>hadoop-hdfs</artifactId>
138 <version>${hadoop.version}</version>
139 <classifier>tests</classifier>
140 <scope>test</scope>
141 </dependency>
142 <dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700143 <groupId>commons-io</groupId>
144 <artifactId>commons-io</artifactId>
Michael Blow204b2952017-12-07 20:17:47 -0500145 <version>2.6</version>
146 </dependency>
147 <dependency>
Michael Blow6f75f052018-04-15 20:06:48 -0400148 <groupId>org.apache.commons</groupId>
149 <artifactId>commons-text</artifactId>
Michael Blowb8df1c52019-11-08 14:15:42 -0500150 <version>1.8</version>
Michael Blow6f75f052018-04-15 20:06:48 -0400151 </dependency>
152 <dependency>
Ian Maxond49bc6e2017-01-05 18:50:57 -0800153 <groupId>com.fasterxml.jackson.core</groupId>
154 <artifactId>jackson-databind</artifactId>
Michael Blow9868a032020-03-05 21:16:35 -0500155 <version>2.10.3</version>
Ian Maxond49bc6e2017-01-05 18:50:57 -0800156 </dependency>
157 <dependency>
158 <groupId>com.fasterxml.jackson.core</groupId>
159 <artifactId>jackson-core</artifactId>
Michael Blow9868a032020-03-05 21:16:35 -0500160 <version>2.10.3</version>
Ian Maxond49bc6e2017-01-05 18:50:57 -0800161 </dependency>
Michael Blow599ef8f2017-01-12 11:02:53 -0500162 <dependency>
Michael Blow204b2952017-12-07 20:17:47 -0500163 <groupId>com.fasterxml.jackson.core</groupId>
164 <artifactId>jackson-annotations</artifactId>
Michael Blow9868a032020-03-05 21:16:35 -0500165 <version>2.10.3</version>
Michael Blow204b2952017-12-07 20:17:47 -0500166 </dependency>
167 <dependency>
Michael Blow599ef8f2017-01-12 11:02:53 -0500168 <groupId>com.google.guava</groupId>
169 <artifactId>guava</artifactId>
Michael Blow9868a032020-03-05 21:16:35 -0500170 <version>28.2-jre</version>
Michael Blowe8e59d0e2019-09-26 19:28:12 -0400171 <exclusions>
172 <exclusion>
173 <groupId>com.google.code.findbugs</groupId>
174 <artifactId>jsr305</artifactId>
175 </exclusion>
176 <exclusion>
177 <groupId>com.google.guava</groupId>
178 <artifactId>listenablefuture</artifactId>
179 </exclusion>
180 <exclusion>
181 <groupId>org.checkerframework</groupId>
182 <artifactId>checker-qual</artifactId>
183 </exclusion>
184 <exclusion>
185 <groupId>com.google.j2objc</groupId>
186 <artifactId>j2objc-annotations</artifactId>
187 </exclusion>
188 <exclusion>
189 <groupId>org.codehaus.mojo</groupId>
190 <artifactId>animal-sniffer-annotations</artifactId>
191 </exclusion>
192 </exclusions>
Michael Blow599ef8f2017-01-12 11:02:53 -0500193 </dependency>
Michael Blow43b40b62017-01-14 17:03:12 -0500194 <dependency>
195 <groupId>org.apache.commons</groupId>
196 <artifactId>commons-lang3</artifactId>
Michael Blowb8df1c52019-11-08 14:15:42 -0500197 <version>3.9</version>
Michael Blow43b40b62017-01-14 17:03:12 -0500198 </dependency>
Michael Blow5e17af22017-02-02 10:00:44 -0500199 <dependency>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500200 <groupId>org.apache.commons</groupId>
201 <artifactId>commons-collections4</artifactId>
Michael Blowb8df1c52019-11-08 14:15:42 -0500202 <version>4.4</version>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500203 </dependency>
204 <dependency>
Till Westmann55dd6ff2017-02-19 20:18:51 -0800205 <groupId>org.apache.httpcomponents</groupId>
206 <artifactId>httpcore</artifactId>
Michael Blow9868a032020-03-05 21:16:35 -0500207 <version>4.4.13</version>
Till Westmann55dd6ff2017-02-19 20:18:51 -0800208 </dependency>
209 <dependency>
210 <groupId>org.apache.httpcomponents</groupId>
211 <artifactId>httpclient</artifactId>
Michael Blow9868a032020-03-05 21:16:35 -0500212 <version>4.5.11</version>
Till Westmann55dd6ff2017-02-19 20:18:51 -0800213 </dependency>
214 <dependency>
Michael Blow5e17af22017-02-02 10:00:44 -0500215 <groupId>org.apache.rat</groupId>
216 <artifactId>apache-rat-plugin</artifactId>
Michael Blow0f7e4872018-12-15 20:01:23 -0500217 <version>0.13</version>
Michael Blow5e17af22017-02-02 10:00:44 -0500218 </dependency>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500219 <dependency>
Dmitry Lychagin249be532017-05-31 14:57:14 -0700220 <groupId>net.revelc.code.formatter</groupId>
221 <artifactId>formatter-maven-plugin</artifactId>
222 <version>2.0.1</version>
223 </dependency>
224 <dependency>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500225 <groupId>args4j</groupId>
226 <artifactId>args4j</artifactId>
227 <version>2.33</version>
228 </dependency>
Murtadha Hubailaf4018d2017-12-15 17:56:38 +0300229 <dependency>
230 <groupId>org.apache.logging.log4j</groupId>
231 <artifactId>log4j-api</artifactId>
Michael Blow2d5bd952020-06-13 12:51:06 -0400232 <version>${log4j.version}</version>
Murtadha Hubailaf4018d2017-12-15 17:56:38 +0300233 </dependency>
234 <dependency>
235 <groupId>org.apache.logging.log4j</groupId>
236 <artifactId>log4j-core</artifactId>
Michael Blow2d5bd952020-06-13 12:51:06 -0400237 <version>${log4j.version}</version>
238 </dependency>
239 <dependency>
240 <groupId>org.apache.logging.log4j</groupId>
241 <artifactId>log4j-jul</artifactId>
242 <version>${log4j.version}</version>
Murtadha Hubailaf4018d2017-12-15 17:56:38 +0300243 </dependency>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800244 <dependency>
245 <groupId>org.mockito</groupId>
246 <artifactId>mockito-all</artifactId>
247 <version>2.0.2-beta</version>
248 </dependency>
Michael Blow7311b032018-10-04 17:17:35 -0400249 <dependency>
250 <groupId>javax.xml.bind</groupId>
251 <artifactId>jaxb-api</artifactId>
252 <version>2.3.0</version>
253 </dependency>
Michael Blowb8df1c52019-11-08 14:15:42 -0500254 <dependency>
255 <groupId>org.apache.maven</groupId>
256 <artifactId>maven-project</artifactId>
257 <version>2.2.1</version>
258 </dependency>
Michael Blow9868a032020-03-05 21:16:35 -0500259 <dependency>
260 <groupId>org.apache.maven</groupId>
261 <artifactId>maven-model</artifactId>
262 <version>3.6.3</version>
263 </dependency>
264 <dependency>
265 <groupId>org.apache.maven</groupId>
266 <artifactId>maven-artifact</artifactId>
267 <version>3.6.3</version>
268 </dependency>
269 <dependency>
270 <groupId>org.apache.maven</groupId>
271 <artifactId>maven-compat</artifactId>
272 <version>3.6.3</version>
273 </dependency>
274 <dependency>
275 <groupId>org.apache.maven</groupId>
276 <artifactId>maven-core</artifactId>
277 <version>3.6.3</version>
278 </dependency>
279 <dependency>
280 <groupId>org.apache.maven</groupId>
281 <artifactId>maven-plugin-api</artifactId>
282 <version>3.6.3</version>
283 </dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700284 </dependencies>
285 </dependencyManagement>
vinayakbe5add8a2012-10-06 19:00:14 +0000286 <build>
287 <plugins>
288 <plugin>
Michael Blowba358122016-10-13 19:56:03 -0400289 <groupId>org.apache.maven.plugins</groupId>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500290 <artifactId>maven-jar-plugin</artifactId>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500291 <configuration>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500292 <excludes combine.children="append">
Michael Blowc96bb1f2017-01-16 16:31:54 -0500293 <exclude>**/DEPENDENCIES</exclude>
294 </excludes>
Michael Blow38ca9622018-02-28 11:44:43 -0500295 <archive>
296 <manifest>
297 <addDefaultImplementationEntries>false</addDefaultImplementationEntries>
298 <addDefaultSpecificationEntries>false</addDefaultSpecificationEntries>
299 </manifest>
300 <manifestEntries>
301 <Implementation-Title>${implementation.title}</Implementation-Title>
302 <Implementation-URL>${implementation.url}</Implementation-URL>
303 <Implementation-Version>${implementation.version}</Implementation-Version>
304 <Implementation-Vendor>${implementation.vendor}</Implementation-Vendor>
305 </manifestEntries>
306 </archive>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500307 </configuration>
308 </plugin>
309 <plugin>
310 <groupId>org.apache.maven.plugins</groupId>
Michael Blowba358122016-10-13 19:56:03 -0400311 <artifactId>maven-dependency-plugin</artifactId>
Michael Blowba358122016-10-13 19:56:03 -0400312 <configuration>
313 <failOnWarning>true</failOnWarning>
314 <outputXML>true</outputXML>
315 </configuration>
316 <executions>
317 <execution>
318 <phase>process-test-classes</phase>
319 <goals>
320 <goal>analyze-only</goal>
321 </goals>
322 </execution>
323 </executions>
324 </plugin>
325 <plugin>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700326 <groupId>org.apache.rat</groupId>
327 <artifactId>apache-rat-plugin</artifactId>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700328 <executions>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700329 <execution>
330 <phase>validate</phase>
331 <goals>
332 <goal>check</goal>
333 </goals>
334 </execution>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700335 </executions>
336 <configuration>
Michael Blow5e17af22017-02-02 10:00:44 -0500337 <addDefaultLicenseMatchers>false</addDefaultLicenseMatchers>
338 <consoleOutput>true</consoleOutput>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700339 <licenses>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800340 <license implementation="org.apache.rat.analysis.license.ApacheSoftwareLicense20" />
Ian Maxon137fc3b2015-06-30 16:23:48 -0700341 </licenses>
342 <licenseFamilies>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800343 <licenseFamily implementation="org.apache.rat.license.Apache20LicenseFamily" />
Ian Maxon137fc3b2015-06-30 16:23:48 -0700344 </licenseFamilies>
Michael Blow5e17af22017-02-02 10:00:44 -0500345 <excludeSubProjects>true</excludeSubProjects>
Michael Blowe7aec9c2017-04-28 17:08:45 -0400346 <excludes combine.children="append">
347 <exclude>**/*.iml</exclude>
348 </excludes>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700349 </configuration>
350 </plugin>
351 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700352 <groupId>org.apache.maven.plugins</groupId>
353 <artifactId>maven-surefire-plugin</artifactId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700354 <configuration>
355 <failIfNoTests>false</failIfNoTests>
356 <forkCount>1</forkCount>
Chris Hilleryd2c1a8a2014-02-21 01:03:02 -0800357 <reuseForks>false</reuseForks>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800358 <argLine>-enableassertions -Xmx2048m -Dfile.encoding=UTF-8 -Xdebug
Murtadha Hubailc7eb0c52018-05-21 18:01:55 +0300359 -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n ${coverageArgLine}
Michael Blowb4c1fb02016-05-09 15:41:00 -0700360 </argLine>
Murtadha Hubail06ca2792018-01-16 00:12:27 +0300361 <systemPropertyVariables>
362 <log4j.configurationFile>${testLog4jConfigFile}</log4j.configurationFile>
363 </systemPropertyVariables>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700364 <includes>
Michael Blowe30c9d32018-01-20 09:42:19 -0500365 <include>${test.includes}</include>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700366 </includes>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500367 <excludes combine.children="append">
Michael Blowe30c9d32018-01-20 09:42:19 -0500368 <exclude>${test.excludes}</exclude>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800369 </excludes>
Michael Blowdd920be2017-06-07 15:04:33 -0400370 <skipTests>${skip.surefire.tests}</skipTests>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700371 </configuration>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700372 </plugin>
373 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700374 <groupId>org.apache.maven.plugins</groupId>
Murtadha Hubail06ca2792018-01-16 00:12:27 +0300375 <artifactId>maven-failsafe-plugin</artifactId>
376 <configuration>
377 <systemPropertyVariables>
378 <log4j.configurationFile>${testLog4jConfigFile}</log4j.configurationFile>
379 </systemPropertyVariables>
380 </configuration>
381 </plugin>
382 <plugin>
383 <groupId>org.apache.maven.plugins</groupId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700384 <artifactId>maven-compiler-plugin</artifactId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700385 <configuration>
Michael Blowcedd9612018-07-25 13:25:02 -0400386 <source>${source.jdk.version}</source>
387 <target>${target.jdk.version}</target>
Michael Blow2b057012017-12-07 22:20:39 -0500388 <compilerArgument>-Xlint:${javac.xlint.value}</compilerArgument>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700389 </configuration>
vinayakbe5add8a2012-10-06 19:00:14 +0000390 </plugin>
Ian Maxonb165aca2016-03-17 18:21:57 -0700391 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700392 <groupId>org.apache.maven.plugins</groupId>
393 <artifactId>maven-remote-resources-plugin</artifactId>
394 <executions>
395 <execution>
396 <goals>
397 <goal>process</goal>
398 </goals>
399 <configuration>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500400 <resourceBundles>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700401 <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700402 </resourceBundles>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500403 <properties>
404 <projectName>Apache Hyracks - ${project.name}</projectName>
405 </properties>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700406 </configuration>
407 </execution>
408 </executions>
Ian Maxon9e37c962015-11-25 07:38:37 -0800409 </plugin>
Michael Blowd1e2a992016-06-14 12:27:46 -0400410 <plugin>
411 <groupId>org.apache.maven.plugins</groupId>
412 <artifactId>maven-checkstyle-plugin</artifactId>
413 <version>2.17</version>
414 <executions>
415 <execution>
416 <id>verify-style</id>
417 <phase>process-classes</phase>
418 <goals>
419 <goal>check</goal>
420 </goals>
421 </execution>
422 </executions>
423 <configuration>
424 <logViolationsToConsole>true</logViolationsToConsole>
425 <checkstyleRules>
426 <module name="Checker">
427 <!-- Checks for whitespace -->
428 <!-- See http://checkstyle.sf.net/config_whitespace.html -->
Michael Blow380b0a22016-08-02 13:05:52 -0400429 <module name="FileTabCharacter" />
Michael Blowd1e2a992016-06-14 12:27:46 -0400430 </module>
431 </checkstyleRules>
Michael Blowd6cf6412016-06-30 02:44:35 -0400432 <includes>**/*.java,**/*.jj</includes>
433 <resourceIncludes>**/*.properties,**/*.xml,**/*.xsd,**/*.sh</resourceIncludes>
Michael Blowd1e2a992016-06-14 12:27:46 -0400434 <sourceDirectories>${project.build.sourceDirectory},${project.build.testSourceDirectory}</sourceDirectories>
435 </configuration>
436 </plugin>
Michael Blowf53c1c62016-06-17 16:51:59 -0400437 <plugin>
438 <groupId>org.apache.maven.plugins</groupId>
439 <artifactId>maven-enforcer-plugin</artifactId>
Michael Blow918c5b12017-10-30 14:51:13 -0400440 <version>3.0.0-M1</version>
Michael Blowf53c1c62016-06-17 16:51:59 -0400441 <executions>
442 <execution>
443 <id>enforce-versions</id>
444 <goals>
445 <goal>enforce</goal>
446 </goals>
447 <configuration>
448 <rules>
449 <requireMavenVersion>
450 <version>[3.3.9,)</version>
451 </requireMavenVersion>
452 </rules>
453 </configuration>
454 </execution>
455 </executions>
456 </plugin>
Michael Blow7626d162017-12-10 14:26:56 -0500457 <plugin>
458 <groupId>org.apache.maven.plugins</groupId>
459 <artifactId>maven-resources-plugin</artifactId>
460 <executions>
461 <execution>
462 <id>default-testResources</id>
463 <goals>
464 <goal>testResources</goal>
465 </goals>
466 <configuration>
467 <skip>${skip.testResources}</skip>
468 </configuration>
469 </execution>
470 </executions>
471 </plugin>
Michael Blowcb9ca972018-01-27 23:03:30 -0500472 <plugin>
473 <groupId>net.revelc.code.formatter</groupId>
474 <artifactId>formatter-maven-plugin</artifactId>
475 <executions>
476 <execution>
477 <goals>
478 <goal>${source-format.goal}</goal>
479 </goals>
480 </execution>
481 </executions>
482 <configuration>
483 <configFile>${root.dir}/AsterixCodeFormatProfile.xml</configFile>
484 <skipFormatting>${source-format.skip}</skipFormatting>
485 </configuration>
486 </plugin>
vinayakbe5add8a2012-10-06 19:00:14 +0000487 </plugins>
Yingyi Bud680e142016-03-18 16:41:46 -0700488 <pluginManagement>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700489 <plugins>
Michael Blow5e17af22017-02-02 10:00:44 -0500490 <plugin>
Till Westmann65da60c2017-02-22 13:17:49 -0800491 <groupId>org.apache.maven.plugins</groupId>
492 <artifactId>maven-compiler-plugin</artifactId>
Michael Blow7311b032018-10-04 17:17:35 -0400493 <version>3.8.0</version>
Till Westmann65da60c2017-02-22 13:17:49 -0800494 </plugin>
495 <plugin>
Michael Blow5e17af22017-02-02 10:00:44 -0500496 <groupId>org.apache.rat</groupId>
497 <artifactId>apache-rat-plugin</artifactId>
498 <version>0.12</version>
499 </plugin>
Dmitry Lychagin249be532017-05-31 14:57:14 -0700500 <plugin>
501 <groupId>net.revelc.code.formatter</groupId>
502 <artifactId>formatter-maven-plugin</artifactId>
503 <version>2.0.1</version>
504 </plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700505 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
506 <plugin>
507 <groupId>org.eclipse.m2e</groupId>
508 <artifactId>lifecycle-mapping</artifactId>
509 <version>1.0.0</version>
510 <configuration>
511 <lifecycleMappingMetadata>
512 <pluginExecutions>
513 <pluginExecution>
514 <pluginExecutionFilter>
515 <groupId>org.apache.rat</groupId>
516 <artifactId>apache-rat-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400517 <versionRange>[0.0,)</versionRange>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700518 <goals>
519 <goal>check</goal>
520 </goals>
521 </pluginExecutionFilter>
522 <action>
Michael Blow380b0a22016-08-02 13:05:52 -0400523 <ignore />
Michael Blowb4c1fb02016-05-09 15:41:00 -0700524 </action>
525 </pluginExecution>
Michael Blow8f2cf242016-06-30 01:45:39 -0400526 <pluginExecution>
527 <pluginExecutionFilter>
528 <groupId>org.apache.maven.plugins</groupId>
529 <artifactId>maven-checkstyle-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400530 <versionRange>[0.0,)</versionRange>
Michael Blow8f2cf242016-06-30 01:45:39 -0400531 <goals>
532 <goal>check</goal>
533 </goals>
534 </pluginExecutionFilter>
535 <action>
Michael Blow380b0a22016-08-02 13:05:52 -0400536 <ignore />
Michael Blow8f2cf242016-06-30 01:45:39 -0400537 </action>
538 </pluginExecution>
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700539 <pluginExecution>
540 <pluginExecutionFilter>
541 <groupId>org.apache.maven.plugins</groupId>
542 <artifactId>maven-dependency-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400543 <versionRange>[0.0,)</versionRange>
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700544 <goals>
545 <goal>analyze-only</goal>
546 </goals>
547 </pluginExecutionFilter>
548 <action>
Ian Maxondef643d2017-01-18 18:31:11 -0800549 <ignore />
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700550 </action>
551 </pluginExecution>
Taewoo Kima252d782018-01-30 13:29:07 -0800552 <pluginExecution>
553 <pluginExecutionFilter>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800554 <groupId>net.revelc.code.formatter</groupId>
555 <artifactId>formatter-maven-plugin</artifactId>
556 <versionRange>[2.0.1,)</versionRange>
557 <goals>
558 <goal>format</goal>
559 </goals>
560 </pluginExecutionFilter>
561 <action>
562 <ignore></ignore>
563 </action>
Taewoo Kima252d782018-01-30 13:29:07 -0800564 </pluginExecution>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700565 </pluginExecutions>
566 </lifecycleMappingMetadata>
567 </configuration>
568 </plugin>
Ian Maxon99fed932017-02-09 19:11:39 -0800569 <plugin>
Michael Blowa7fad192017-03-09 22:10:19 -0500570 <groupId>org.codehaus.mojo</groupId>
571 <artifactId>versions-maven-plugin</artifactId>
Michael Blow0aae1832017-10-29 11:59:47 -0400572 <version>2.5</version>
Ian Maxon99fed932017-02-09 19:11:39 -0800573 </plugin>
574 <plugin>
Michael Blowa7fad192017-03-09 22:10:19 -0500575 <groupId>org.apache.maven.plugins</groupId>
576 <artifactId>maven-scm-plugin</artifactId>
577 <version>1.9.5</version>
578 </plugin>
579 <plugin>
580 <groupId>org.codehaus.mojo</groupId>
581 <artifactId>appassembler-maven-plugin</artifactId>
582 <version>2.0.0</version>
Ian Maxon99fed932017-02-09 19:11:39 -0800583 </plugin>
Michael Blow10a74862017-05-23 16:55:39 -0400584 <plugin>
585 <groupId>org.apache.maven.plugins</groupId>
586 <artifactId>maven-surefire-plugin</artifactId>
Michael Blowaebe2c52018-06-10 14:18:53 -0400587 <version>2.21.0</version>
Michael Blow10a74862017-05-23 16:55:39 -0400588 </plugin>
589 <plugin>
590 <groupId>org.apache.maven.plugins</groupId>
591 <artifactId>maven-failsafe-plugin</artifactId>
Michael Blowaebe2c52018-06-10 14:18:53 -0400592 <version>2.21.0</version>
Michael Blow10a74862017-05-23 16:55:39 -0400593 </plugin>
Michael Blow09f958c2017-08-20 17:02:19 -0400594 <plugin>
595 <groupId>org.apache.hyracks</groupId>
596 <artifactId>license-automation-plugin</artifactId>
597 <version>${project.version}</version>
598 </plugin>
Michael Blow0aae1832017-10-29 11:59:47 -0400599 <plugin>
600 <groupId>org.apache.maven.plugins</groupId>
601 <artifactId>maven-assembly-plugin</artifactId>
602 <version>3.1.0</version>
603 </plugin>
604 <plugin>
605 <groupId>org.apache.maven.plugins</groupId>
606 <artifactId>maven-antrun-plugin</artifactId>
607 <version>1.8</version>
608 </plugin>
609 <plugin>
610 <groupId>org.apache.maven.plugins</groupId>
611 <artifactId>maven-clean-plugin</artifactId>
612 <version>3.0.0</version>
613 </plugin>
614 <plugin>
615 <groupId>org.apache.maven.plugins</groupId>
616 <artifactId>maven-jar-plugin</artifactId>
617 <version>3.0.2</version>
618 </plugin>
619 <plugin>
620 <groupId>org.codehaus.mojo</groupId>
621 <artifactId>build-helper-maven-plugin</artifactId>
622 <version>3.0.0</version>
623 </plugin>
624 <plugin>
625 <groupId>org.apache.maven.plugins</groupId>
626 <artifactId>maven-dependency-plugin</artifactId>
Michael Blowcedd9612018-07-25 13:25:02 -0400627 <version>3.1.1</version>
Michael Blow0aae1832017-10-29 11:59:47 -0400628 </plugin>
Michael Blow918c5b12017-10-30 14:51:13 -0400629 <plugin>
630 <groupId>org.apache.maven.doxia</groupId>
631 <artifactId>doxia-maven-plugin</artifactId>
632 <version>1.1.4</version>
633 </plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700634 </plugins>
635 </pluginManagement>
vinayakbe5add8a2012-10-06 19:00:14 +0000636 </build>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800637 <profiles>
638 <profile>
Michael Blow916dce42017-05-23 13:19:12 -0400639 <id>skip-assembly</id>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700640 <activation>
641 <file>
Michael Blow916dce42017-05-23 13:19:12 -0400642 <missing>src/main/assembly/source.xml</missing>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700643 </file>
644 </activation>
Michael Blow916dce42017-05-23 13:19:12 -0400645 <properties>
646 <skip.assembly>true</skip.assembly>
647 </properties>
648 </profile>
649 <profile>
650 <id>release</id>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700651 <build>
652 <plugins>
653 <plugin>
654 <groupId>org.apache.maven.plugins</groupId>
Michael Blow38ca9622018-02-28 11:44:43 -0500655 <artifactId>maven-jar-plugin</artifactId>
656 <configuration>
657 <archive>
658 <manifest>
659 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
660 <addDefaultSpecificationEntries>false</addDefaultSpecificationEntries>
661 </manifest>
662 </archive>
663 </configuration>
664 </plugin>
665 <plugin>
666 <groupId>org.apache.maven.plugins</groupId>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700667 <artifactId>maven-assembly-plugin</artifactId>
668 <!-- We override the configuration plugin to override the descriptor to use for building
669 the source release zip. Specifically, we would like to control the inclusions/exclusions.
670 For example, we exclude the KEYS file from the zip -->
671 <executions>
672 <execution>
673 <!-- Use this id to match the id mentioned in the assembly plugin configuration in
674 the apache parent POM under the apache-release profile -->
675 <id>source-release-assembly</id>
676 <phase>package</phase>
677 <goals>
678 <goal>single</goal>
679 </goals>
680 <!-- combine.self should be override to replace the configuration in the parent POM -->
681 <configuration combine.self="override">
682 <descriptors>
683 <descriptor>src/main/assembly/source.xml</descriptor>
684 </descriptors>
Michael Blow916dce42017-05-23 13:19:12 -0400685 <skipAssembly>${skip.assembly}</skipAssembly>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700686 </configuration>
687 </execution>
688 </executions>
689 </plugin>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700690 <plugin>
691 <groupId>org.apache.maven.plugins</groupId>
Ian Maxon99fed932017-02-09 19:11:39 -0800692 <artifactId>maven-gpg-plugin</artifactId>
693 <version>1.6</version>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700694 <executions>
695 <execution>
Ian Maxon99fed932017-02-09 19:11:39 -0800696 <id>sign-artifacts</id>
697 <phase>verify</phase>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700698 <goals>
Ian Maxon99fed932017-02-09 19:11:39 -0800699 <goal>sign</goal>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700700 </goals>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700701 </execution>
702 </executions>
703 </plugin>
704 </plugins>
705 </build>
706 </profile>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700707 <profile>
Michael Blow7c15c132016-05-04 22:06:34 -0400708 <id>coverage</id>
709 <activation>
710 <property>
711 <name>coverage</name>
712 </property>
713 </activation>
714 <build>
715 <plugins>
716 <plugin>
717 <groupId>org.jacoco</groupId>
718 <artifactId>jacoco-maven-plugin</artifactId>
719 <version>${jacoco.version}</version>
720 <executions>
721 <execution>
722 <id>default-prepare-agent</id>
723 <goals>
724 <goal>prepare-agent</goal>
725 </goals>
726 <configuration>
727 <propertyName>coverageArgLine</propertyName>
728 </configuration>
729 </execution>
730 <execution>
731 <id>default-prepare-agent-integration</id>
732 <goals>
733 <goal>prepare-agent-integration</goal>
734 </goals>
735 <configuration>
736 <propertyName>coverageArgLine</propertyName>
737 </configuration>
738 </execution>
739 </executions>
740 </plugin>
741 </plugins>
742 </build>
743 <properties>
Michael Blow380b0a22016-08-02 13:05:52 -0400744 <coverage />
Michael Blow7c15c132016-05-04 22:06:34 -0400745 </properties>
746 </profile>
747 <profile>
748 <id>no-coverage</id>
749 <activation>
750 <property>
751 <name>!coverage</name>
752 </property>
753 </activation>
754 <properties>
Michael Blow380b0a22016-08-02 13:05:52 -0400755 <coverageArgLine />
Michael Blow7c15c132016-05-04 22:06:34 -0400756 </properties>
757 </profile>
758 <profile>
Michael Blow64d49fb2018-02-11 15:43:47 -0500759 <id>integration-tests-only</id>
760 <properties>
761 <test.includes/>
762 <failIfNoTests>false</failIfNoTests>
763 </properties>
764 </profile>
Michael Blowcedd9612018-07-25 13:25:02 -0400765 <profile>
766 <id>java8</id>
767 <activation>
768 <jdk>1.8</jdk>
769 </activation>
770 <properties>
771 <target.jdk.version>8</target.jdk.version>
772 </properties>
773 </profile>
774 <profile>
775 <id>java9</id>
776 <activation>
777 <jdk>9</jdk>
778 </activation>
779 <properties>
780 <target.jdk.version>9</target.jdk.version>
781 </properties>
782 </profile>
783 <profile>
784 <id>java10</id>
785 <activation>
786 <jdk>10</jdk>
787 </activation>
788 <properties>
789 <target.jdk.version>10</target.jdk.version>
790 </properties>
791 </profile>
792 <profile>
793 <id>java11</id>
794 <activation>
795 <jdk>11</jdk>
796 </activation>
797 <properties>
Michael Blow7311b032018-10-04 17:17:35 -0400798 <!-- several plugins do not yet support Java 11 classes (maven-plugin-plugin, maven-dependency-plugin) -->
799 <target.jdk.version>10</target.jdk.version>
Michael Blowcedd9612018-07-25 13:25:02 -0400800 </properties>
801 </profile>
802 <profile>
803 <id>java8-bootclasspath</id>
804 <activation>
805 <property>
806 <name>java8-bootclasspath</name>
807 </property>
808 </activation>
809 <properties>
810 <target.jdk.version>8</target.jdk.version>
811 </properties>
812 <build>
813 <plugins>
814 <plugin>
815 <groupId>org.apache.maven.plugins</groupId>
816 <artifactId>maven-compiler-plugin</artifactId>
817 <configuration>
818 <compilerArgs combine.children="append">
819 <arg>-bootclasspath</arg>
820 <arg>${java8-bootclasspath}</arg>
821 </compilerArgs>
822 </configuration>
823 </plugin>
824 </plugins>
825 </build>
826 </profile>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800827 </profiles>
vinayakbe5add8a2012-10-06 19:00:14 +0000828 <modules>
829 <module>hyracks</module>
vinayakb36016dc2012-10-09 06:10:12 +0000830 <module>algebricks</module>
Michael Blow43b40b62017-01-14 17:03:12 -0500831 <module>hyracks-fullstack-license</module>
vinayakbe5add8a2012-10-06 19:00:14 +0000832 </modules>
Michael Blowbd7ba452018-10-31 15:08:26 -0400833</project>