blob: aa989bed91922a0b61f13d0af8b2a35fc5bfd721 [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 Blow4bf70482020-04-08 12:58:40 -040083 <version>4.1.48.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 Blow9868a032020-03-05 21:16:35 -050088 <version>4.13</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 Blow9868a032020-03-05 21:16:35 -0500154 <version>2.10.3</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 Blow9868a032020-03-05 21:16:35 -0500159 <version>2.10.3</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 Blow9868a032020-03-05 21:16:35 -0500164 <version>2.10.3</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 Blow9868a032020-03-05 21:16:35 -0500169 <version>28.2-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 Blow9868a032020-03-05 21:16:35 -0500206 <version>4.4.13</version>
Till Westmann55dd6ff2017-02-19 20:18:51 -0800207 </dependency>
208 <dependency>
209 <groupId>org.apache.httpcomponents</groupId>
210 <artifactId>httpclient</artifactId>
Michael Blow9868a032020-03-05 21:16:35 -0500211 <version>4.5.11</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 Blow9868a032020-03-05 21:16:35 -0500231 <version>2.13.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 Blow9868a032020-03-05 21:16:35 -0500236 <version>2.13.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 Blow9868a032020-03-05 21:16:35 -0500253 <dependency>
254 <groupId>org.apache.maven</groupId>
255 <artifactId>maven-model</artifactId>
256 <version>3.6.3</version>
257 </dependency>
258 <dependency>
259 <groupId>org.apache.maven</groupId>
260 <artifactId>maven-artifact</artifactId>
261 <version>3.6.3</version>
262 </dependency>
263 <dependency>
264 <groupId>org.apache.maven</groupId>
265 <artifactId>maven-compat</artifactId>
266 <version>3.6.3</version>
267 </dependency>
268 <dependency>
269 <groupId>org.apache.maven</groupId>
270 <artifactId>maven-core</artifactId>
271 <version>3.6.3</version>
272 </dependency>
273 <dependency>
274 <groupId>org.apache.maven</groupId>
275 <artifactId>maven-plugin-api</artifactId>
276 <version>3.6.3</version>
277 </dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700278 </dependencies>
279 </dependencyManagement>
vinayakbe5add8a2012-10-06 19:00:14 +0000280 <build>
281 <plugins>
282 <plugin>
Michael Blowba358122016-10-13 19:56:03 -0400283 <groupId>org.apache.maven.plugins</groupId>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500284 <artifactId>maven-jar-plugin</artifactId>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500285 <configuration>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500286 <excludes combine.children="append">
Michael Blowc96bb1f2017-01-16 16:31:54 -0500287 <exclude>**/DEPENDENCIES</exclude>
288 </excludes>
Michael Blow38ca9622018-02-28 11:44:43 -0500289 <archive>
290 <manifest>
291 <addDefaultImplementationEntries>false</addDefaultImplementationEntries>
292 <addDefaultSpecificationEntries>false</addDefaultSpecificationEntries>
293 </manifest>
294 <manifestEntries>
295 <Implementation-Title>${implementation.title}</Implementation-Title>
296 <Implementation-URL>${implementation.url}</Implementation-URL>
297 <Implementation-Version>${implementation.version}</Implementation-Version>
298 <Implementation-Vendor>${implementation.vendor}</Implementation-Vendor>
299 </manifestEntries>
300 </archive>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500301 </configuration>
302 </plugin>
303 <plugin>
304 <groupId>org.apache.maven.plugins</groupId>
Michael Blowba358122016-10-13 19:56:03 -0400305 <artifactId>maven-dependency-plugin</artifactId>
Michael Blowba358122016-10-13 19:56:03 -0400306 <configuration>
307 <failOnWarning>true</failOnWarning>
308 <outputXML>true</outputXML>
309 </configuration>
310 <executions>
311 <execution>
312 <phase>process-test-classes</phase>
313 <goals>
314 <goal>analyze-only</goal>
315 </goals>
316 </execution>
317 </executions>
318 </plugin>
319 <plugin>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700320 <groupId>org.apache.rat</groupId>
321 <artifactId>apache-rat-plugin</artifactId>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700322 <executions>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700323 <execution>
324 <phase>validate</phase>
325 <goals>
326 <goal>check</goal>
327 </goals>
328 </execution>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700329 </executions>
330 <configuration>
Michael Blow5e17af22017-02-02 10:00:44 -0500331 <addDefaultLicenseMatchers>false</addDefaultLicenseMatchers>
332 <consoleOutput>true</consoleOutput>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700333 <licenses>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800334 <license implementation="org.apache.rat.analysis.license.ApacheSoftwareLicense20" />
Ian Maxon137fc3b2015-06-30 16:23:48 -0700335 </licenses>
336 <licenseFamilies>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800337 <licenseFamily implementation="org.apache.rat.license.Apache20LicenseFamily" />
Ian Maxon137fc3b2015-06-30 16:23:48 -0700338 </licenseFamilies>
Michael Blow5e17af22017-02-02 10:00:44 -0500339 <excludeSubProjects>true</excludeSubProjects>
Michael Blowe7aec9c2017-04-28 17:08:45 -0400340 <excludes combine.children="append">
341 <exclude>**/*.iml</exclude>
342 </excludes>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700343 </configuration>
344 </plugin>
345 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700346 <groupId>org.apache.maven.plugins</groupId>
347 <artifactId>maven-surefire-plugin</artifactId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700348 <configuration>
349 <failIfNoTests>false</failIfNoTests>
350 <forkCount>1</forkCount>
Chris Hilleryd2c1a8a2014-02-21 01:03:02 -0800351 <reuseForks>false</reuseForks>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800352 <argLine>-enableassertions -Xmx2048m -Dfile.encoding=UTF-8 -Xdebug
Murtadha Hubailc7eb0c52018-05-21 18:01:55 +0300353 -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n ${coverageArgLine}
Michael Blowb4c1fb02016-05-09 15:41:00 -0700354 </argLine>
Murtadha Hubail06ca2792018-01-16 00:12:27 +0300355 <systemPropertyVariables>
356 <log4j.configurationFile>${testLog4jConfigFile}</log4j.configurationFile>
357 </systemPropertyVariables>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700358 <includes>
Michael Blowe30c9d32018-01-20 09:42:19 -0500359 <include>${test.includes}</include>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700360 </includes>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500361 <excludes combine.children="append">
Michael Blowe30c9d32018-01-20 09:42:19 -0500362 <exclude>${test.excludes}</exclude>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800363 </excludes>
Michael Blowdd920be2017-06-07 15:04:33 -0400364 <skipTests>${skip.surefire.tests}</skipTests>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700365 </configuration>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700366 </plugin>
367 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700368 <groupId>org.apache.maven.plugins</groupId>
Murtadha Hubail06ca2792018-01-16 00:12:27 +0300369 <artifactId>maven-failsafe-plugin</artifactId>
370 <configuration>
371 <systemPropertyVariables>
372 <log4j.configurationFile>${testLog4jConfigFile}</log4j.configurationFile>
373 </systemPropertyVariables>
374 </configuration>
375 </plugin>
376 <plugin>
377 <groupId>org.apache.maven.plugins</groupId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700378 <artifactId>maven-compiler-plugin</artifactId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700379 <configuration>
Michael Blowcedd9612018-07-25 13:25:02 -0400380 <source>${source.jdk.version}</source>
381 <target>${target.jdk.version}</target>
Michael Blow2b057012017-12-07 22:20:39 -0500382 <compilerArgument>-Xlint:${javac.xlint.value}</compilerArgument>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700383 </configuration>
vinayakbe5add8a2012-10-06 19:00:14 +0000384 </plugin>
Ian Maxonb165aca2016-03-17 18:21:57 -0700385 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700386 <groupId>org.apache.maven.plugins</groupId>
387 <artifactId>maven-remote-resources-plugin</artifactId>
388 <executions>
389 <execution>
390 <goals>
391 <goal>process</goal>
392 </goals>
393 <configuration>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500394 <resourceBundles>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700395 <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700396 </resourceBundles>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500397 <properties>
398 <projectName>Apache Hyracks - ${project.name}</projectName>
399 </properties>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700400 </configuration>
401 </execution>
402 </executions>
Ian Maxon9e37c962015-11-25 07:38:37 -0800403 </plugin>
Michael Blowd1e2a992016-06-14 12:27:46 -0400404 <plugin>
405 <groupId>org.apache.maven.plugins</groupId>
406 <artifactId>maven-checkstyle-plugin</artifactId>
407 <version>2.17</version>
408 <executions>
409 <execution>
410 <id>verify-style</id>
411 <phase>process-classes</phase>
412 <goals>
413 <goal>check</goal>
414 </goals>
415 </execution>
416 </executions>
417 <configuration>
418 <logViolationsToConsole>true</logViolationsToConsole>
419 <checkstyleRules>
420 <module name="Checker">
421 <!-- Checks for whitespace -->
422 <!-- See http://checkstyle.sf.net/config_whitespace.html -->
Michael Blow380b0a22016-08-02 13:05:52 -0400423 <module name="FileTabCharacter" />
Michael Blowd1e2a992016-06-14 12:27:46 -0400424 </module>
425 </checkstyleRules>
Michael Blowd6cf6412016-06-30 02:44:35 -0400426 <includes>**/*.java,**/*.jj</includes>
427 <resourceIncludes>**/*.properties,**/*.xml,**/*.xsd,**/*.sh</resourceIncludes>
Michael Blowd1e2a992016-06-14 12:27:46 -0400428 <sourceDirectories>${project.build.sourceDirectory},${project.build.testSourceDirectory}</sourceDirectories>
429 </configuration>
430 </plugin>
Michael Blowf53c1c62016-06-17 16:51:59 -0400431 <plugin>
432 <groupId>org.apache.maven.plugins</groupId>
433 <artifactId>maven-enforcer-plugin</artifactId>
Michael Blow918c5b12017-10-30 14:51:13 -0400434 <version>3.0.0-M1</version>
Michael Blowf53c1c62016-06-17 16:51:59 -0400435 <executions>
436 <execution>
437 <id>enforce-versions</id>
438 <goals>
439 <goal>enforce</goal>
440 </goals>
441 <configuration>
442 <rules>
443 <requireMavenVersion>
444 <version>[3.3.9,)</version>
445 </requireMavenVersion>
446 </rules>
447 </configuration>
448 </execution>
449 </executions>
450 </plugin>
Michael Blow7626d162017-12-10 14:26:56 -0500451 <plugin>
452 <groupId>org.apache.maven.plugins</groupId>
453 <artifactId>maven-resources-plugin</artifactId>
454 <executions>
455 <execution>
456 <id>default-testResources</id>
457 <goals>
458 <goal>testResources</goal>
459 </goals>
460 <configuration>
461 <skip>${skip.testResources}</skip>
462 </configuration>
463 </execution>
464 </executions>
465 </plugin>
Michael Blowcb9ca972018-01-27 23:03:30 -0500466 <plugin>
467 <groupId>net.revelc.code.formatter</groupId>
468 <artifactId>formatter-maven-plugin</artifactId>
469 <executions>
470 <execution>
471 <goals>
472 <goal>${source-format.goal}</goal>
473 </goals>
474 </execution>
475 </executions>
476 <configuration>
477 <configFile>${root.dir}/AsterixCodeFormatProfile.xml</configFile>
478 <skipFormatting>${source-format.skip}</skipFormatting>
479 </configuration>
480 </plugin>
vinayakbe5add8a2012-10-06 19:00:14 +0000481 </plugins>
Yingyi Bud680e142016-03-18 16:41:46 -0700482 <pluginManagement>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700483 <plugins>
Michael Blow5e17af22017-02-02 10:00:44 -0500484 <plugin>
Till Westmann65da60c2017-02-22 13:17:49 -0800485 <groupId>org.apache.maven.plugins</groupId>
486 <artifactId>maven-compiler-plugin</artifactId>
Michael Blow7311b032018-10-04 17:17:35 -0400487 <version>3.8.0</version>
Till Westmann65da60c2017-02-22 13:17:49 -0800488 </plugin>
489 <plugin>
Michael Blow5e17af22017-02-02 10:00:44 -0500490 <groupId>org.apache.rat</groupId>
491 <artifactId>apache-rat-plugin</artifactId>
492 <version>0.12</version>
493 </plugin>
Dmitry Lychagin249be532017-05-31 14:57:14 -0700494 <plugin>
495 <groupId>net.revelc.code.formatter</groupId>
496 <artifactId>formatter-maven-plugin</artifactId>
497 <version>2.0.1</version>
498 </plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700499 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
500 <plugin>
501 <groupId>org.eclipse.m2e</groupId>
502 <artifactId>lifecycle-mapping</artifactId>
503 <version>1.0.0</version>
504 <configuration>
505 <lifecycleMappingMetadata>
506 <pluginExecutions>
507 <pluginExecution>
508 <pluginExecutionFilter>
509 <groupId>org.apache.rat</groupId>
510 <artifactId>apache-rat-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400511 <versionRange>[0.0,)</versionRange>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700512 <goals>
513 <goal>check</goal>
514 </goals>
515 </pluginExecutionFilter>
516 <action>
Michael Blow380b0a22016-08-02 13:05:52 -0400517 <ignore />
Michael Blowb4c1fb02016-05-09 15:41:00 -0700518 </action>
519 </pluginExecution>
Michael Blow8f2cf242016-06-30 01:45:39 -0400520 <pluginExecution>
521 <pluginExecutionFilter>
522 <groupId>org.apache.maven.plugins</groupId>
523 <artifactId>maven-checkstyle-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400524 <versionRange>[0.0,)</versionRange>
Michael Blow8f2cf242016-06-30 01:45:39 -0400525 <goals>
526 <goal>check</goal>
527 </goals>
528 </pluginExecutionFilter>
529 <action>
Michael Blow380b0a22016-08-02 13:05:52 -0400530 <ignore />
Michael Blow8f2cf242016-06-30 01:45:39 -0400531 </action>
532 </pluginExecution>
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700533 <pluginExecution>
534 <pluginExecutionFilter>
535 <groupId>org.apache.maven.plugins</groupId>
536 <artifactId>maven-dependency-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400537 <versionRange>[0.0,)</versionRange>
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700538 <goals>
539 <goal>analyze-only</goal>
540 </goals>
541 </pluginExecutionFilter>
542 <action>
Ian Maxondef643d2017-01-18 18:31:11 -0800543 <ignore />
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700544 </action>
545 </pluginExecution>
Taewoo Kima252d782018-01-30 13:29:07 -0800546 <pluginExecution>
547 <pluginExecutionFilter>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800548 <groupId>net.revelc.code.formatter</groupId>
549 <artifactId>formatter-maven-plugin</artifactId>
550 <versionRange>[2.0.1,)</versionRange>
551 <goals>
552 <goal>format</goal>
553 </goals>
554 </pluginExecutionFilter>
555 <action>
556 <ignore></ignore>
557 </action>
Taewoo Kima252d782018-01-30 13:29:07 -0800558 </pluginExecution>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700559 </pluginExecutions>
560 </lifecycleMappingMetadata>
561 </configuration>
562 </plugin>
Ian Maxon99fed932017-02-09 19:11:39 -0800563 <plugin>
Michael Blowa7fad192017-03-09 22:10:19 -0500564 <groupId>org.codehaus.mojo</groupId>
565 <artifactId>versions-maven-plugin</artifactId>
Michael Blow0aae1832017-10-29 11:59:47 -0400566 <version>2.5</version>
Ian Maxon99fed932017-02-09 19:11:39 -0800567 </plugin>
568 <plugin>
Michael Blowa7fad192017-03-09 22:10:19 -0500569 <groupId>org.apache.maven.plugins</groupId>
570 <artifactId>maven-scm-plugin</artifactId>
571 <version>1.9.5</version>
572 </plugin>
573 <plugin>
574 <groupId>org.codehaus.mojo</groupId>
575 <artifactId>appassembler-maven-plugin</artifactId>
576 <version>2.0.0</version>
Ian Maxon99fed932017-02-09 19:11:39 -0800577 </plugin>
Michael Blow10a74862017-05-23 16:55:39 -0400578 <plugin>
579 <groupId>org.apache.maven.plugins</groupId>
580 <artifactId>maven-surefire-plugin</artifactId>
Michael Blowaebe2c52018-06-10 14:18:53 -0400581 <version>2.21.0</version>
Michael Blow10a74862017-05-23 16:55:39 -0400582 </plugin>
583 <plugin>
584 <groupId>org.apache.maven.plugins</groupId>
585 <artifactId>maven-failsafe-plugin</artifactId>
Michael Blowaebe2c52018-06-10 14:18:53 -0400586 <version>2.21.0</version>
Michael Blow10a74862017-05-23 16:55:39 -0400587 </plugin>
Michael Blow09f958c2017-08-20 17:02:19 -0400588 <plugin>
589 <groupId>org.apache.hyracks</groupId>
590 <artifactId>license-automation-plugin</artifactId>
591 <version>${project.version}</version>
592 </plugin>
Michael Blow0aae1832017-10-29 11:59:47 -0400593 <plugin>
594 <groupId>org.apache.maven.plugins</groupId>
595 <artifactId>maven-assembly-plugin</artifactId>
596 <version>3.1.0</version>
597 </plugin>
598 <plugin>
599 <groupId>org.apache.maven.plugins</groupId>
600 <artifactId>maven-antrun-plugin</artifactId>
601 <version>1.8</version>
602 </plugin>
603 <plugin>
604 <groupId>org.apache.maven.plugins</groupId>
605 <artifactId>maven-clean-plugin</artifactId>
606 <version>3.0.0</version>
607 </plugin>
608 <plugin>
609 <groupId>org.apache.maven.plugins</groupId>
610 <artifactId>maven-jar-plugin</artifactId>
611 <version>3.0.2</version>
612 </plugin>
613 <plugin>
614 <groupId>org.codehaus.mojo</groupId>
615 <artifactId>build-helper-maven-plugin</artifactId>
616 <version>3.0.0</version>
617 </plugin>
618 <plugin>
619 <groupId>org.apache.maven.plugins</groupId>
620 <artifactId>maven-dependency-plugin</artifactId>
Michael Blowcedd9612018-07-25 13:25:02 -0400621 <version>3.1.1</version>
Michael Blow0aae1832017-10-29 11:59:47 -0400622 </plugin>
Michael Blow918c5b12017-10-30 14:51:13 -0400623 <plugin>
624 <groupId>org.apache.maven.doxia</groupId>
625 <artifactId>doxia-maven-plugin</artifactId>
626 <version>1.1.4</version>
627 </plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700628 </plugins>
629 </pluginManagement>
vinayakbe5add8a2012-10-06 19:00:14 +0000630 </build>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800631 <profiles>
632 <profile>
Michael Blow916dce42017-05-23 13:19:12 -0400633 <id>skip-assembly</id>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700634 <activation>
635 <file>
Michael Blow916dce42017-05-23 13:19:12 -0400636 <missing>src/main/assembly/source.xml</missing>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700637 </file>
638 </activation>
Michael Blow916dce42017-05-23 13:19:12 -0400639 <properties>
640 <skip.assembly>true</skip.assembly>
641 </properties>
642 </profile>
643 <profile>
644 <id>release</id>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700645 <build>
646 <plugins>
647 <plugin>
648 <groupId>org.apache.maven.plugins</groupId>
Michael Blow38ca9622018-02-28 11:44:43 -0500649 <artifactId>maven-jar-plugin</artifactId>
650 <configuration>
651 <archive>
652 <manifest>
653 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
654 <addDefaultSpecificationEntries>false</addDefaultSpecificationEntries>
655 </manifest>
656 </archive>
657 </configuration>
658 </plugin>
659 <plugin>
660 <groupId>org.apache.maven.plugins</groupId>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700661 <artifactId>maven-assembly-plugin</artifactId>
662 <!-- We override the configuration plugin to override the descriptor to use for building
663 the source release zip. Specifically, we would like to control the inclusions/exclusions.
664 For example, we exclude the KEYS file from the zip -->
665 <executions>
666 <execution>
667 <!-- Use this id to match the id mentioned in the assembly plugin configuration in
668 the apache parent POM under the apache-release profile -->
669 <id>source-release-assembly</id>
670 <phase>package</phase>
671 <goals>
672 <goal>single</goal>
673 </goals>
674 <!-- combine.self should be override to replace the configuration in the parent POM -->
675 <configuration combine.self="override">
676 <descriptors>
677 <descriptor>src/main/assembly/source.xml</descriptor>
678 </descriptors>
Michael Blow916dce42017-05-23 13:19:12 -0400679 <skipAssembly>${skip.assembly}</skipAssembly>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700680 </configuration>
681 </execution>
682 </executions>
683 </plugin>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700684 <plugin>
685 <groupId>org.apache.maven.plugins</groupId>
Ian Maxon99fed932017-02-09 19:11:39 -0800686 <artifactId>maven-gpg-plugin</artifactId>
687 <version>1.6</version>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700688 <executions>
689 <execution>
Ian Maxon99fed932017-02-09 19:11:39 -0800690 <id>sign-artifacts</id>
691 <phase>verify</phase>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700692 <goals>
Ian Maxon99fed932017-02-09 19:11:39 -0800693 <goal>sign</goal>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700694 </goals>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700695 </execution>
696 </executions>
697 </plugin>
698 </plugins>
699 </build>
700 </profile>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700701 <profile>
Michael Blow7c15c132016-05-04 22:06:34 -0400702 <id>coverage</id>
703 <activation>
704 <property>
705 <name>coverage</name>
706 </property>
707 </activation>
708 <build>
709 <plugins>
710 <plugin>
711 <groupId>org.jacoco</groupId>
712 <artifactId>jacoco-maven-plugin</artifactId>
713 <version>${jacoco.version}</version>
714 <executions>
715 <execution>
716 <id>default-prepare-agent</id>
717 <goals>
718 <goal>prepare-agent</goal>
719 </goals>
720 <configuration>
721 <propertyName>coverageArgLine</propertyName>
722 </configuration>
723 </execution>
724 <execution>
725 <id>default-prepare-agent-integration</id>
726 <goals>
727 <goal>prepare-agent-integration</goal>
728 </goals>
729 <configuration>
730 <propertyName>coverageArgLine</propertyName>
731 </configuration>
732 </execution>
733 </executions>
734 </plugin>
735 </plugins>
736 </build>
737 <properties>
Michael Blow380b0a22016-08-02 13:05:52 -0400738 <coverage />
Michael Blow7c15c132016-05-04 22:06:34 -0400739 </properties>
740 </profile>
741 <profile>
742 <id>no-coverage</id>
743 <activation>
744 <property>
745 <name>!coverage</name>
746 </property>
747 </activation>
748 <properties>
Michael Blow380b0a22016-08-02 13:05:52 -0400749 <coverageArgLine />
Michael Blow7c15c132016-05-04 22:06:34 -0400750 </properties>
751 </profile>
752 <profile>
Michael Blow64d49fb2018-02-11 15:43:47 -0500753 <id>integration-tests-only</id>
754 <properties>
755 <test.includes/>
756 <failIfNoTests>false</failIfNoTests>
757 </properties>
758 </profile>
Michael Blowcedd9612018-07-25 13:25:02 -0400759 <profile>
760 <id>java8</id>
761 <activation>
762 <jdk>1.8</jdk>
763 </activation>
764 <properties>
765 <target.jdk.version>8</target.jdk.version>
766 </properties>
767 </profile>
768 <profile>
769 <id>java9</id>
770 <activation>
771 <jdk>9</jdk>
772 </activation>
773 <properties>
774 <target.jdk.version>9</target.jdk.version>
775 </properties>
776 </profile>
777 <profile>
778 <id>java10</id>
779 <activation>
780 <jdk>10</jdk>
781 </activation>
782 <properties>
783 <target.jdk.version>10</target.jdk.version>
784 </properties>
785 </profile>
786 <profile>
787 <id>java11</id>
788 <activation>
789 <jdk>11</jdk>
790 </activation>
791 <properties>
Michael Blow7311b032018-10-04 17:17:35 -0400792 <!-- several plugins do not yet support Java 11 classes (maven-plugin-plugin, maven-dependency-plugin) -->
793 <target.jdk.version>10</target.jdk.version>
Michael Blowcedd9612018-07-25 13:25:02 -0400794 </properties>
795 </profile>
796 <profile>
797 <id>java8-bootclasspath</id>
798 <activation>
799 <property>
800 <name>java8-bootclasspath</name>
801 </property>
802 </activation>
803 <properties>
804 <target.jdk.version>8</target.jdk.version>
805 </properties>
806 <build>
807 <plugins>
808 <plugin>
809 <groupId>org.apache.maven.plugins</groupId>
810 <artifactId>maven-compiler-plugin</artifactId>
811 <configuration>
812 <compilerArgs combine.children="append">
813 <arg>-bootclasspath</arg>
814 <arg>${java8-bootclasspath}</arg>
815 </compilerArgs>
816 </configuration>
817 </plugin>
818 </plugins>
819 </build>
820 </profile>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800821 </profiles>
vinayakbe5add8a2012-10-06 19:00:14 +0000822 <modules>
823 <module>hyracks</module>
vinayakb36016dc2012-10-09 06:10:12 +0000824 <module>algebricks</module>
Michael Blow43b40b62017-01-14 17:03:12 -0500825 <module>hyracks-fullstack-license</module>
vinayakbe5add8a2012-10-06 19:00:14 +0000826 </modules>
Michael Blowbd7ba452018-10-31 15:08:26 -0400827</project>