blob: bf21bc291043078461f170900b0e1c8f70d8ac38 [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>
AsterixDB Jenkins478eccb2018-08-31 14:57:31 -070024 <version>0.3.5-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>
Michael Blowef85fb02019-03-22 13:40:35 -040058 <import-sort.goal>sort</import-sort.goal>
59 <import-sort.skip>false</import-sort.skip>
Ian Maxon3bb92132019-02-12 22:20:25 -080060 <maven.test.skip>false</maven.test.skip>
Michael Blowe30c9d32018-01-20 09:42:19 -050061 <skipTests>false</skipTests>
Michael Blowdd920be2017-06-07 15:04:33 -040062 <skip.surefire.tests>${skipTests}</skip.surefire.tests>
Michael Blow7626d162017-12-10 14:26:56 -050063 <skip.testResources>${maven.test.skip}</skip.testResources>
Michael Blow2530e392018-02-06 01:19:42 -050064 <testLog4jConfigFile>${root.dir}/src/test/resources/log4j2-hyracks-test.xml</testLog4jConfigFile>
Michael Blowb4c1fb02016-05-09 15:41:00 -070065 <!-- Definition of tests in various categories which may be excluded -->
Michael Blowb4c1fb02016-05-09 15:41:00 -070066 <hivesterix.perf.tests>**/hivesterix/perf/PerfTestSuite.java</hivesterix.perf.tests>
67 <global.test.includes>**/*TestSuite.java,**/*Test.java</global.test.includes>
Michael Blow64d49fb2018-02-11 15:43:47 -050068 <global.test.excludes>**/Abstract*.java,${hivesterix.perf.tests}</global.test.excludes>
Michael Blowe30c9d32018-01-20 09:42:19 -050069 <test.includes>${global.test.includes}</test.includes>
70 <test.excludes>${global.test.excludes}</test.excludes>
Michael Blowb4c1fb02016-05-09 15:41:00 -070071 <!-- Versions under dependencymanagement or used in many projects via properties -->
Michael Blow3477a2b2018-10-04 17:17:35 -040072 <hadoop.version>2.8.5</hadoop.version>
Michael Blowb4c1fb02016-05-09 15:41:00 -070073 <jacoco.version>0.7.6.201602180812</jacoco.version>
Michael Blow3856cb32021-05-01 11:36:15 -040074 <log4j.version>2.14.1</log4j.version>
Michael Blow38ca9622018-02-28 11:44:43 -050075
Michael Blowcbfe8f92018-02-28 14:02:38 -050076 <implementation.title>Apache Hyracks and Algebricks - ${project.name}</implementation.title>
Michael Blow38ca9622018-02-28 11:44:43 -050077 <implementation.url>https://asterixdb.apache.org/</implementation.url>
78 <implementation.version>${project.version}</implementation.version>
79 <implementation.vendor>${project.organization.name}</implementation.vendor>
Michael Blowb4c1fb02016-05-09 15:41:00 -070080 </properties>
81 <dependencyManagement>
82 <dependencies>
83 <dependency>
Till Westmannea666c92017-02-22 22:25:15 -080084 <groupId>io.netty</groupId>
85 <artifactId>netty-all</artifactId>
Michael Blow3856cb32021-05-01 11:36:15 -040086 <version>4.1.63.Final</version>
Till Westmannea666c92017-02-22 22:25:15 -080087 </dependency>
88 <dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -070089 <groupId>junit</groupId>
90 <artifactId>junit</artifactId>
Michael Blowb5727c62020-03-05 21:16:35 -050091 <version>4.13</version>
Michael Blowb4c1fb02016-05-09 15:41:00 -070092 </dependency>
93 <dependency>
94 <groupId>org.apache.hadoop</groupId>
95 <artifactId>hadoop-yarn-client</artifactId>
96 <version>${hadoop.version}</version>
97 </dependency>
98 <dependency>
99 <groupId>org.apache.hadoop</groupId>
100 <artifactId>hadoop-client</artifactId>
101 <version>${hadoop.version}</version>
102 </dependency>
103 <dependency>
104 <groupId>org.apache.hadoop</groupId>
105 <artifactId>hadoop-common</artifactId>
106 <version>${hadoop.version}</version>
Michael Blowaebe2c52018-06-10 14:18:53 -0400107 <exclusions>
108 <exclusion>
109 <groupId>javax.servlet.jsp</groupId>
110 <artifactId>jsp-api</artifactId>
111 </exclusion>
112 <exclusion>
113 <groupId>javax.servlet</groupId>
114 <artifactId>servlet-api</artifactId>
115 </exclusion>
116 <exclusion>
117 <groupId>jdk.tools</groupId>
118 <artifactId>jdk.tools</artifactId>
119 </exclusion>
120 </exclusions>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700121 </dependency>
122 <dependency>
123 <groupId>org.apache.hadoop</groupId>
124 <artifactId>hadoop-hdfs</artifactId>
125 <version>${hadoop.version}</version>
126 </dependency>
127 <dependency>
128 <groupId>org.apache.hadoop</groupId>
129 <artifactId>hadoop-minicluster</artifactId>
130 <version>${hadoop.version}</version>
131 </dependency>
132 <dependency>
133 <groupId>org.apache.hadoop</groupId>
134 <artifactId>hadoop-mapreduce-client-core</artifactId>
135 <version>${hadoop.version}</version>
136 </dependency>
137 <dependency>
Michael Blowba358122016-10-13 19:56:03 -0400138 <groupId>org.apache.hadoop</groupId>
139 <artifactId>hadoop-hdfs</artifactId>
140 <version>${hadoop.version}</version>
141 <classifier>tests</classifier>
142 <scope>test</scope>
143 </dependency>
144 <dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700145 <groupId>commons-io</groupId>
146 <artifactId>commons-io</artifactId>
Michael Blow3856cb32021-05-01 11:36:15 -0400147 <version>2.8.0</version>
Michael Blow204b2952017-12-07 20:17:47 -0500148 </dependency>
149 <dependency>
Michael Blow6f75f052018-04-15 20:06:48 -0400150 <groupId>org.apache.commons</groupId>
151 <artifactId>commons-text</artifactId>
Michael Blow3856cb32021-05-01 11:36:15 -0400152 <version>1.9</version>
Michael Blow6f75f052018-04-15 20:06:48 -0400153 </dependency>
154 <dependency>
Ian Maxond49bc6e2017-01-05 18:50:57 -0800155 <groupId>com.fasterxml.jackson.core</groupId>
156 <artifactId>jackson-databind</artifactId>
Michael Blow3856cb32021-05-01 11:36:15 -0400157 <version>2.12.3</version>
Ian Maxond49bc6e2017-01-05 18:50:57 -0800158 </dependency>
159 <dependency>
160 <groupId>com.fasterxml.jackson.core</groupId>
161 <artifactId>jackson-core</artifactId>
Michael Blow3856cb32021-05-01 11:36:15 -0400162 <version>2.12.3</version>
Ian Maxond49bc6e2017-01-05 18:50:57 -0800163 </dependency>
Michael Blow599ef8f2017-01-12 11:02:53 -0500164 <dependency>
Michael Blow204b2952017-12-07 20:17:47 -0500165 <groupId>com.fasterxml.jackson.core</groupId>
166 <artifactId>jackson-annotations</artifactId>
Michael Blow3856cb32021-05-01 11:36:15 -0400167 <version>2.12.3</version>
Michael Blow204b2952017-12-07 20:17:47 -0500168 </dependency>
169 <dependency>
Michael Blow599ef8f2017-01-12 11:02:53 -0500170 <groupId>com.google.guava</groupId>
171 <artifactId>guava</artifactId>
Michael Blow3a188522021-01-26 17:13:45 -0500172 <version>30.1-jre</version>
Michael Blowe8e59d0e2019-09-26 19:28:12 -0400173 <exclusions>
174 <exclusion>
175 <groupId>com.google.code.findbugs</groupId>
176 <artifactId>jsr305</artifactId>
177 </exclusion>
178 <exclusion>
179 <groupId>com.google.guava</groupId>
180 <artifactId>listenablefuture</artifactId>
181 </exclusion>
182 <exclusion>
183 <groupId>org.checkerframework</groupId>
184 <artifactId>checker-qual</artifactId>
185 </exclusion>
186 <exclusion>
187 <groupId>com.google.j2objc</groupId>
188 <artifactId>j2objc-annotations</artifactId>
189 </exclusion>
190 <exclusion>
191 <groupId>org.codehaus.mojo</groupId>
192 <artifactId>animal-sniffer-annotations</artifactId>
193 </exclusion>
194 </exclusions>
Michael Blow599ef8f2017-01-12 11:02:53 -0500195 </dependency>
Michael Blow43b40b62017-01-14 17:03:12 -0500196 <dependency>
197 <groupId>org.apache.commons</groupId>
198 <artifactId>commons-lang3</artifactId>
Michael Blow3856cb32021-05-01 11:36:15 -0400199 <version>3.12.0</version>
Michael Blow43b40b62017-01-14 17:03:12 -0500200 </dependency>
Michael Blow5e17af22017-02-02 10:00:44 -0500201 <dependency>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500202 <groupId>org.apache.commons</groupId>
203 <artifactId>commons-collections4</artifactId>
Michael Blowb8df1c52019-11-08 14:15:42 -0500204 <version>4.4</version>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500205 </dependency>
206 <dependency>
Till Westmann55dd6ff2017-02-19 20:18:51 -0800207 <groupId>org.apache.httpcomponents</groupId>
208 <artifactId>httpcore</artifactId>
Michael Blow3856cb32021-05-01 11:36:15 -0400209 <version>4.4.14</version>
Till Westmann55dd6ff2017-02-19 20:18:51 -0800210 </dependency>
211 <dependency>
212 <groupId>org.apache.httpcomponents</groupId>
213 <artifactId>httpclient</artifactId>
Michael Blow3a188522021-01-26 17:13:45 -0500214 <version>4.5.13</version>
Till Westmann55dd6ff2017-02-19 20:18:51 -0800215 </dependency>
216 <dependency>
Michael Blow5e17af22017-02-02 10:00:44 -0500217 <groupId>org.apache.rat</groupId>
218 <artifactId>apache-rat-plugin</artifactId>
Michael Blow0f7e4872018-12-15 20:01:23 -0500219 <version>0.13</version>
Michael Blow5e17af22017-02-02 10:00:44 -0500220 </dependency>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500221 <dependency>
Till Westmann192478b2019-03-01 10:45:25 -0800222 <groupId>org.ini4j</groupId>
223 <artifactId>ini4j</artifactId>
224 <version>0.5.4</version>
225 </dependency>
226 <dependency>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500227 <groupId>args4j</groupId>
228 <artifactId>args4j</artifactId>
229 <version>2.33</version>
230 </dependency>
Murtadha Hubailaf4018d2017-12-15 17:56:38 +0300231 <dependency>
232 <groupId>org.apache.logging.log4j</groupId>
233 <artifactId>log4j-api</artifactId>
Michael Blow2d5bd952020-06-13 12:51:06 -0400234 <version>${log4j.version}</version>
Murtadha Hubailaf4018d2017-12-15 17:56:38 +0300235 </dependency>
236 <dependency>
237 <groupId>org.apache.logging.log4j</groupId>
238 <artifactId>log4j-core</artifactId>
Michael Blow2d5bd952020-06-13 12:51:06 -0400239 <version>${log4j.version}</version>
240 </dependency>
241 <dependency>
242 <groupId>org.apache.logging.log4j</groupId>
243 <artifactId>log4j-jul</artifactId>
244 <version>${log4j.version}</version>
Murtadha Hubailaf4018d2017-12-15 17:56:38 +0300245 </dependency>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800246 <dependency>
247 <groupId>org.mockito</groupId>
248 <artifactId>mockito-all</artifactId>
249 <version>2.0.2-beta</version>
250 </dependency>
Michael Blow3477a2b2018-10-04 17:17:35 -0400251 <dependency>
252 <groupId>javax.xml.bind</groupId>
253 <artifactId>jaxb-api</artifactId>
254 <version>2.3.0</version>
255 </dependency>
Michael Blowb8df1c52019-11-08 14:15:42 -0500256 <dependency>
257 <groupId>org.apache.maven</groupId>
258 <artifactId>maven-project</artifactId>
259 <version>2.2.1</version>
260 </dependency>
Michael Blowb5727c62020-03-05 21:16:35 -0500261 <dependency>
262 <groupId>org.apache.maven</groupId>
263 <artifactId>maven-model</artifactId>
264 <version>3.6.3</version>
265 </dependency>
266 <dependency>
267 <groupId>org.apache.maven</groupId>
268 <artifactId>maven-artifact</artifactId>
269 <version>3.6.3</version>
270 </dependency>
271 <dependency>
272 <groupId>org.apache.maven</groupId>
273 <artifactId>maven-compat</artifactId>
274 <version>3.6.3</version>
275 </dependency>
276 <dependency>
277 <groupId>org.apache.maven</groupId>
278 <artifactId>maven-core</artifactId>
279 <version>3.6.3</version>
280 </dependency>
281 <dependency>
282 <groupId>org.apache.maven</groupId>
283 <artifactId>maven-plugin-api</artifactId>
284 <version>3.6.3</version>
285 </dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700286 </dependencies>
287 </dependencyManagement>
vinayakbe5add8a2012-10-06 19:00:14 +0000288 <build>
289 <plugins>
290 <plugin>
Michael Blowba358122016-10-13 19:56:03 -0400291 <groupId>org.apache.maven.plugins</groupId>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500292 <artifactId>maven-jar-plugin</artifactId>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500293 <configuration>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500294 <excludes combine.children="append">
Michael Blowc96bb1f2017-01-16 16:31:54 -0500295 <exclude>**/DEPENDENCIES</exclude>
296 </excludes>
Michael Blow38ca9622018-02-28 11:44:43 -0500297 <archive>
Michael Blowaed96f02019-03-01 18:47:19 -0500298 <addMavenDescriptor>false</addMavenDescriptor>
Michael Blow38ca9622018-02-28 11:44:43 -0500299 <manifest>
300 <addDefaultImplementationEntries>false</addDefaultImplementationEntries>
301 <addDefaultSpecificationEntries>false</addDefaultSpecificationEntries>
302 </manifest>
303 <manifestEntries>
304 <Implementation-Title>${implementation.title}</Implementation-Title>
305 <Implementation-URL>${implementation.url}</Implementation-URL>
306 <Implementation-Version>${implementation.version}</Implementation-Version>
307 <Implementation-Vendor>${implementation.vendor}</Implementation-Vendor>
308 </manifestEntries>
309 </archive>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500310 </configuration>
311 </plugin>
312 <plugin>
313 <groupId>org.apache.maven.plugins</groupId>
Michael Blowba358122016-10-13 19:56:03 -0400314 <artifactId>maven-dependency-plugin</artifactId>
Michael Blowba358122016-10-13 19:56:03 -0400315 <configuration>
316 <failOnWarning>true</failOnWarning>
317 <outputXML>true</outputXML>
318 </configuration>
319 <executions>
320 <execution>
321 <phase>process-test-classes</phase>
322 <goals>
323 <goal>analyze-only</goal>
324 </goals>
325 </execution>
326 </executions>
327 </plugin>
328 <plugin>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700329 <groupId>org.apache.rat</groupId>
330 <artifactId>apache-rat-plugin</artifactId>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700331 <executions>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700332 <execution>
333 <phase>validate</phase>
334 <goals>
335 <goal>check</goal>
336 </goals>
337 </execution>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700338 </executions>
339 <configuration>
Michael Blow5e17af22017-02-02 10:00:44 -0500340 <addDefaultLicenseMatchers>false</addDefaultLicenseMatchers>
341 <consoleOutput>true</consoleOutput>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700342 <licenses>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800343 <license implementation="org.apache.rat.analysis.license.ApacheSoftwareLicense20" />
Ian Maxon137fc3b2015-06-30 16:23:48 -0700344 </licenses>
345 <licenseFamilies>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800346 <licenseFamily implementation="org.apache.rat.license.Apache20LicenseFamily" />
Ian Maxon137fc3b2015-06-30 16:23:48 -0700347 </licenseFamilies>
Michael Blow5e17af22017-02-02 10:00:44 -0500348 <excludeSubProjects>true</excludeSubProjects>
Michael Blowe7aec9c2017-04-28 17:08:45 -0400349 <excludes combine.children="append">
350 <exclude>**/*.iml</exclude>
351 </excludes>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700352 </configuration>
353 </plugin>
354 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700355 <groupId>org.apache.maven.plugins</groupId>
356 <artifactId>maven-surefire-plugin</artifactId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700357 <configuration>
358 <failIfNoTests>false</failIfNoTests>
359 <forkCount>1</forkCount>
Chris Hilleryd2c1a8a2014-02-21 01:03:02 -0800360 <reuseForks>false</reuseForks>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800361 <argLine>-enableassertions -Xmx2048m -Dfile.encoding=UTF-8 -Xdebug
Murtadha Hubailc7eb0c52018-05-21 18:01:55 +0300362 -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n ${coverageArgLine}
Michael Blowb4c1fb02016-05-09 15:41:00 -0700363 </argLine>
Murtadha Hubail06ca2792018-01-16 00:12:27 +0300364 <systemPropertyVariables>
365 <log4j.configurationFile>${testLog4jConfigFile}</log4j.configurationFile>
366 </systemPropertyVariables>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700367 <includes>
Michael Blowe30c9d32018-01-20 09:42:19 -0500368 <include>${test.includes}</include>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700369 </includes>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500370 <excludes combine.children="append">
Michael Blowe30c9d32018-01-20 09:42:19 -0500371 <exclude>${test.excludes}</exclude>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800372 </excludes>
Michael Blowdd920be2017-06-07 15:04:33 -0400373 <skipTests>${skip.surefire.tests}</skipTests>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700374 </configuration>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700375 </plugin>
376 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700377 <groupId>org.apache.maven.plugins</groupId>
Murtadha Hubail06ca2792018-01-16 00:12:27 +0300378 <artifactId>maven-failsafe-plugin</artifactId>
379 <configuration>
380 <systemPropertyVariables>
381 <log4j.configurationFile>${testLog4jConfigFile}</log4j.configurationFile>
382 </systemPropertyVariables>
383 </configuration>
384 </plugin>
385 <plugin>
386 <groupId>org.apache.maven.plugins</groupId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700387 <artifactId>maven-compiler-plugin</artifactId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700388 <configuration>
Michael Blowcedd9612018-07-25 13:25:02 -0400389 <source>${source.jdk.version}</source>
390 <target>${target.jdk.version}</target>
Michael Blow2b057012017-12-07 22:20:39 -0500391 <compilerArgument>-Xlint:${javac.xlint.value}</compilerArgument>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700392 </configuration>
vinayakbe5add8a2012-10-06 19:00:14 +0000393 </plugin>
Ian Maxonb165aca2016-03-17 18:21:57 -0700394 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700395 <groupId>org.apache.maven.plugins</groupId>
396 <artifactId>maven-remote-resources-plugin</artifactId>
397 <executions>
398 <execution>
399 <goals>
400 <goal>process</goal>
401 </goals>
402 <configuration>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500403 <resourceBundles>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700404 <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700405 </resourceBundles>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500406 <properties>
407 <projectName>Apache Hyracks - ${project.name}</projectName>
408 </properties>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700409 </configuration>
410 </execution>
411 </executions>
Ian Maxon9e37c962015-11-25 07:38:37 -0800412 </plugin>
Michael Blowd1e2a992016-06-14 12:27:46 -0400413 <plugin>
414 <groupId>org.apache.maven.plugins</groupId>
415 <artifactId>maven-checkstyle-plugin</artifactId>
Michael Blow6a2a4362019-03-27 14:31:16 -0400416 <version>3.0.0</version>
Michael Blowd1e2a992016-06-14 12:27:46 -0400417 <executions>
418 <execution>
419 <id>verify-style</id>
Michael Blow6a2a4362019-03-27 14:31:16 -0400420 <phase>process-sources</phase>
Michael Blowd1e2a992016-06-14 12:27:46 -0400421 <goals>
422 <goal>check</goal>
423 </goals>
424 </execution>
425 </executions>
426 <configuration>
427 <logViolationsToConsole>true</logViolationsToConsole>
428 <checkstyleRules>
429 <module name="Checker">
430 <!-- Checks for whitespace -->
431 <!-- See http://checkstyle.sf.net/config_whitespace.html -->
Michael Blow380b0a22016-08-02 13:05:52 -0400432 <module name="FileTabCharacter" />
Michael Blow6a2a4362019-03-27 14:31:16 -0400433 <module name="TreeWalker">
434 <module name="AvoidStarImport">
435 <property name="allowStaticMemberImports" value="true"/>
436 </module>
437 </module>
Michael Blowd1e2a992016-06-14 12:27:46 -0400438 </module>
439 </checkstyleRules>
Michael Blowd6cf6412016-06-30 02:44:35 -0400440 <includes>**/*.java,**/*.jj</includes>
441 <resourceIncludes>**/*.properties,**/*.xml,**/*.xsd,**/*.sh</resourceIncludes>
Michael Blowd1e2a992016-06-14 12:27:46 -0400442 <sourceDirectories>${project.build.sourceDirectory},${project.build.testSourceDirectory}</sourceDirectories>
443 </configuration>
444 </plugin>
Michael Blowf53c1c62016-06-17 16:51:59 -0400445 <plugin>
446 <groupId>org.apache.maven.plugins</groupId>
447 <artifactId>maven-enforcer-plugin</artifactId>
Michael Blow918c5b12017-10-30 14:51:13 -0400448 <version>3.0.0-M1</version>
Michael Blowf53c1c62016-06-17 16:51:59 -0400449 <executions>
450 <execution>
451 <id>enforce-versions</id>
452 <goals>
453 <goal>enforce</goal>
454 </goals>
455 <configuration>
456 <rules>
457 <requireMavenVersion>
458 <version>[3.3.9,)</version>
459 </requireMavenVersion>
460 </rules>
461 </configuration>
462 </execution>
463 </executions>
464 </plugin>
Michael Blow7626d162017-12-10 14:26:56 -0500465 <plugin>
466 <groupId>org.apache.maven.plugins</groupId>
467 <artifactId>maven-resources-plugin</artifactId>
468 <executions>
469 <execution>
470 <id>default-testResources</id>
471 <goals>
472 <goal>testResources</goal>
473 </goals>
474 <configuration>
475 <skip>${skip.testResources}</skip>
476 </configuration>
477 </execution>
478 </executions>
479 </plugin>
Michael Blowcb9ca972018-01-27 23:03:30 -0500480 <plugin>
481 <groupId>net.revelc.code.formatter</groupId>
482 <artifactId>formatter-maven-plugin</artifactId>
483 <executions>
484 <execution>
485 <goals>
486 <goal>${source-format.goal}</goal>
487 </goals>
488 </execution>
489 </executions>
490 <configuration>
491 <configFile>${root.dir}/AsterixCodeFormatProfile.xml</configFile>
492 <skipFormatting>${source-format.skip}</skipFormatting>
493 </configuration>
494 </plugin>
Michael Blowef85fb02019-03-22 13:40:35 -0400495 <plugin>
496 <groupId>net.revelc.code</groupId>
497 <artifactId>impsort-maven-plugin</artifactId>
498 <executions>
499 <execution>
500 <goals>
501 <goal>${import-sort.goal}</goal>
502 </goals>
503 </execution>
504 </executions>
505 <configuration>
506 <groups>java,javax,org,com,*</groups>
507 <removeUnused>true</removeUnused>
508 <skip>${import-sort.skip}</skip>
509 </configuration>
510 </plugin>
vinayakbe5add8a2012-10-06 19:00:14 +0000511 </plugins>
Yingyi Bud680e142016-03-18 16:41:46 -0700512 <pluginManagement>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700513 <plugins>
Michael Blow5e17af22017-02-02 10:00:44 -0500514 <plugin>
Till Westmann65da60c2017-02-22 13:17:49 -0800515 <groupId>org.apache.maven.plugins</groupId>
516 <artifactId>maven-compiler-plugin</artifactId>
Michael Blow3477a2b2018-10-04 17:17:35 -0400517 <version>3.8.0</version>
Till Westmann65da60c2017-02-22 13:17:49 -0800518 </plugin>
519 <plugin>
Michael Blow5e17af22017-02-02 10:00:44 -0500520 <groupId>org.apache.rat</groupId>
521 <artifactId>apache-rat-plugin</artifactId>
522 <version>0.12</version>
523 </plugin>
Dmitry Lychagin249be532017-05-31 14:57:14 -0700524 <plugin>
525 <groupId>net.revelc.code.formatter</groupId>
526 <artifactId>formatter-maven-plugin</artifactId>
527 <version>2.0.1</version>
528 </plugin>
Michael Blowef85fb02019-03-22 13:40:35 -0400529 <plugin>
530 <groupId>net.revelc.code</groupId>
531 <artifactId>impsort-maven-plugin</artifactId>
532 <version>1.2.0</version>
533 </plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700534 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
535 <plugin>
536 <groupId>org.eclipse.m2e</groupId>
537 <artifactId>lifecycle-mapping</artifactId>
538 <version>1.0.0</version>
539 <configuration>
540 <lifecycleMappingMetadata>
541 <pluginExecutions>
542 <pluginExecution>
543 <pluginExecutionFilter>
544 <groupId>org.apache.rat</groupId>
545 <artifactId>apache-rat-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400546 <versionRange>[0.0,)</versionRange>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700547 <goals>
548 <goal>check</goal>
549 </goals>
550 </pluginExecutionFilter>
551 <action>
Michael Blow380b0a22016-08-02 13:05:52 -0400552 <ignore />
Michael Blowb4c1fb02016-05-09 15:41:00 -0700553 </action>
554 </pluginExecution>
Michael Blow8f2cf242016-06-30 01:45:39 -0400555 <pluginExecution>
556 <pluginExecutionFilter>
557 <groupId>org.apache.maven.plugins</groupId>
558 <artifactId>maven-checkstyle-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400559 <versionRange>[0.0,)</versionRange>
Michael Blow8f2cf242016-06-30 01:45:39 -0400560 <goals>
561 <goal>check</goal>
562 </goals>
563 </pluginExecutionFilter>
564 <action>
Michael Blow380b0a22016-08-02 13:05:52 -0400565 <ignore />
Michael Blow8f2cf242016-06-30 01:45:39 -0400566 </action>
567 </pluginExecution>
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700568 <pluginExecution>
569 <pluginExecutionFilter>
570 <groupId>org.apache.maven.plugins</groupId>
571 <artifactId>maven-dependency-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400572 <versionRange>[0.0,)</versionRange>
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700573 <goals>
574 <goal>analyze-only</goal>
575 </goals>
576 </pluginExecutionFilter>
577 <action>
Ian Maxondef643d2017-01-18 18:31:11 -0800578 <ignore />
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700579 </action>
580 </pluginExecution>
Taewoo Kima252d782018-01-30 13:29:07 -0800581 <pluginExecution>
582 <pluginExecutionFilter>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800583 <groupId>net.revelc.code.formatter</groupId>
584 <artifactId>formatter-maven-plugin</artifactId>
585 <versionRange>[2.0.1,)</versionRange>
586 <goals>
587 <goal>format</goal>
588 </goals>
589 </pluginExecutionFilter>
590 <action>
591 <ignore></ignore>
592 </action>
Taewoo Kima252d782018-01-30 13:29:07 -0800593 </pluginExecution>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700594 </pluginExecutions>
595 </lifecycleMappingMetadata>
596 </configuration>
597 </plugin>
Ian Maxon99fed932017-02-09 19:11:39 -0800598 <plugin>
Michael Blowa7fad192017-03-09 22:10:19 -0500599 <groupId>org.codehaus.mojo</groupId>
600 <artifactId>versions-maven-plugin</artifactId>
Michael Blow0aae1832017-10-29 11:59:47 -0400601 <version>2.5</version>
Ian Maxon99fed932017-02-09 19:11:39 -0800602 </plugin>
603 <plugin>
Michael Blowa7fad192017-03-09 22:10:19 -0500604 <groupId>org.apache.maven.plugins</groupId>
605 <artifactId>maven-scm-plugin</artifactId>
606 <version>1.9.5</version>
607 </plugin>
608 <plugin>
609 <groupId>org.codehaus.mojo</groupId>
610 <artifactId>appassembler-maven-plugin</artifactId>
611 <version>2.0.0</version>
Ian Maxon99fed932017-02-09 19:11:39 -0800612 </plugin>
Michael Blow10a74862017-05-23 16:55:39 -0400613 <plugin>
614 <groupId>org.apache.maven.plugins</groupId>
615 <artifactId>maven-surefire-plugin</artifactId>
Michael Blowaebe2c52018-06-10 14:18:53 -0400616 <version>2.21.0</version>
Michael Blow10a74862017-05-23 16:55:39 -0400617 </plugin>
618 <plugin>
619 <groupId>org.apache.maven.plugins</groupId>
620 <artifactId>maven-failsafe-plugin</artifactId>
Michael Blowaebe2c52018-06-10 14:18:53 -0400621 <version>2.21.0</version>
Michael Blow10a74862017-05-23 16:55:39 -0400622 </plugin>
Michael Blow09f958c2017-08-20 17:02:19 -0400623 <plugin>
624 <groupId>org.apache.hyracks</groupId>
625 <artifactId>license-automation-plugin</artifactId>
626 <version>${project.version}</version>
627 </plugin>
Michael Blow0aae1832017-10-29 11:59:47 -0400628 <plugin>
629 <groupId>org.apache.maven.plugins</groupId>
630 <artifactId>maven-assembly-plugin</artifactId>
631 <version>3.1.0</version>
632 </plugin>
633 <plugin>
634 <groupId>org.apache.maven.plugins</groupId>
635 <artifactId>maven-antrun-plugin</artifactId>
636 <version>1.8</version>
637 </plugin>
638 <plugin>
639 <groupId>org.apache.maven.plugins</groupId>
640 <artifactId>maven-clean-plugin</artifactId>
641 <version>3.0.0</version>
642 </plugin>
643 <plugin>
644 <groupId>org.apache.maven.plugins</groupId>
645 <artifactId>maven-jar-plugin</artifactId>
646 <version>3.0.2</version>
647 </plugin>
648 <plugin>
649 <groupId>org.codehaus.mojo</groupId>
650 <artifactId>build-helper-maven-plugin</artifactId>
651 <version>3.0.0</version>
652 </plugin>
653 <plugin>
654 <groupId>org.apache.maven.plugins</groupId>
655 <artifactId>maven-dependency-plugin</artifactId>
Michael Blowcedd9612018-07-25 13:25:02 -0400656 <version>3.1.1</version>
Michael Blow0aae1832017-10-29 11:59:47 -0400657 </plugin>
Michael Blow918c5b12017-10-30 14:51:13 -0400658 <plugin>
659 <groupId>org.apache.maven.doxia</groupId>
660 <artifactId>doxia-maven-plugin</artifactId>
661 <version>1.1.4</version>
662 </plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700663 </plugins>
664 </pluginManagement>
vinayakbe5add8a2012-10-06 19:00:14 +0000665 </build>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800666 <profiles>
667 <profile>
Michael Blow916dce42017-05-23 13:19:12 -0400668 <id>skip-assembly</id>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700669 <activation>
670 <file>
Michael Blow916dce42017-05-23 13:19:12 -0400671 <missing>src/main/assembly/source.xml</missing>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700672 </file>
673 </activation>
Michael Blow916dce42017-05-23 13:19:12 -0400674 <properties>
675 <skip.assembly>true</skip.assembly>
676 </properties>
677 </profile>
678 <profile>
679 <id>release</id>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700680 <build>
681 <plugins>
682 <plugin>
683 <groupId>org.apache.maven.plugins</groupId>
Michael Blow38ca9622018-02-28 11:44:43 -0500684 <artifactId>maven-jar-plugin</artifactId>
685 <configuration>
686 <archive>
Michael Blowaed96f02019-03-01 18:47:19 -0500687 <addMavenDescriptor>true</addMavenDescriptor>
Michael Blow38ca9622018-02-28 11:44:43 -0500688 <manifest>
689 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
690 <addDefaultSpecificationEntries>false</addDefaultSpecificationEntries>
691 </manifest>
692 </archive>
693 </configuration>
694 </plugin>
695 <plugin>
696 <groupId>org.apache.maven.plugins</groupId>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700697 <artifactId>maven-assembly-plugin</artifactId>
698 <!-- We override the configuration plugin to override the descriptor to use for building
699 the source release zip. Specifically, we would like to control the inclusions/exclusions.
700 For example, we exclude the KEYS file from the zip -->
701 <executions>
702 <execution>
703 <!-- Use this id to match the id mentioned in the assembly plugin configuration in
704 the apache parent POM under the apache-release profile -->
705 <id>source-release-assembly</id>
706 <phase>package</phase>
707 <goals>
708 <goal>single</goal>
709 </goals>
710 <!-- combine.self should be override to replace the configuration in the parent POM -->
711 <configuration combine.self="override">
712 <descriptors>
713 <descriptor>src/main/assembly/source.xml</descriptor>
714 </descriptors>
Michael Blow916dce42017-05-23 13:19:12 -0400715 <skipAssembly>${skip.assembly}</skipAssembly>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700716 </configuration>
717 </execution>
718 </executions>
719 </plugin>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700720 <plugin>
721 <groupId>org.apache.maven.plugins</groupId>
Ian Maxon99fed932017-02-09 19:11:39 -0800722 <artifactId>maven-gpg-plugin</artifactId>
723 <version>1.6</version>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700724 <executions>
725 <execution>
Ian Maxon99fed932017-02-09 19:11:39 -0800726 <id>sign-artifacts</id>
727 <phase>verify</phase>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700728 <goals>
Ian Maxon99fed932017-02-09 19:11:39 -0800729 <goal>sign</goal>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700730 </goals>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700731 </execution>
732 </executions>
733 </plugin>
734 </plugins>
735 </build>
736 </profile>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700737 <profile>
Michael Blow7c15c132016-05-04 22:06:34 -0400738 <id>coverage</id>
739 <activation>
740 <property>
741 <name>coverage</name>
742 </property>
743 </activation>
744 <build>
745 <plugins>
746 <plugin>
747 <groupId>org.jacoco</groupId>
748 <artifactId>jacoco-maven-plugin</artifactId>
749 <version>${jacoco.version}</version>
750 <executions>
751 <execution>
752 <id>default-prepare-agent</id>
753 <goals>
754 <goal>prepare-agent</goal>
755 </goals>
756 <configuration>
757 <propertyName>coverageArgLine</propertyName>
758 </configuration>
759 </execution>
760 <execution>
761 <id>default-prepare-agent-integration</id>
762 <goals>
763 <goal>prepare-agent-integration</goal>
764 </goals>
765 <configuration>
766 <propertyName>coverageArgLine</propertyName>
767 </configuration>
768 </execution>
769 </executions>
770 </plugin>
771 </plugins>
772 </build>
773 <properties>
Michael Blow380b0a22016-08-02 13:05:52 -0400774 <coverage />
Michael Blow7c15c132016-05-04 22:06:34 -0400775 </properties>
776 </profile>
777 <profile>
778 <id>no-coverage</id>
779 <activation>
780 <property>
781 <name>!coverage</name>
782 </property>
783 </activation>
784 <properties>
Michael Blow380b0a22016-08-02 13:05:52 -0400785 <coverageArgLine />
Michael Blow7c15c132016-05-04 22:06:34 -0400786 </properties>
787 </profile>
788 <profile>
Michael Blow64d49fb2018-02-11 15:43:47 -0500789 <id>integration-tests-only</id>
790 <properties>
791 <test.includes/>
792 <failIfNoTests>false</failIfNoTests>
793 </properties>
794 </profile>
Michael Blowcedd9612018-07-25 13:25:02 -0400795 <profile>
796 <id>java8</id>
797 <activation>
Michael Blow0de90812019-08-23 16:27:29 -0400798 <jdk>[1.8,)</jdk>
Michael Blowcedd9612018-07-25 13:25:02 -0400799 </activation>
800 <properties>
801 <target.jdk.version>8</target.jdk.version>
802 </properties>
803 </profile>
804 <profile>
Michael Blowcedd9612018-07-25 13:25:02 -0400805 <id>java8-bootclasspath</id>
806 <activation>
807 <property>
808 <name>java8-bootclasspath</name>
809 </property>
810 </activation>
811 <properties>
812 <target.jdk.version>8</target.jdk.version>
813 </properties>
814 <build>
815 <plugins>
816 <plugin>
817 <groupId>org.apache.maven.plugins</groupId>
818 <artifactId>maven-compiler-plugin</artifactId>
819 <configuration>
820 <compilerArgs combine.children="append">
821 <arg>-bootclasspath</arg>
822 <arg>${java8-bootclasspath}</arg>
823 </compilerArgs>
824 </configuration>
825 </plugin>
826 </plugins>
827 </build>
828 </profile>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800829 </profiles>
vinayakbe5add8a2012-10-06 19:00:14 +0000830 <modules>
831 <module>hyracks</module>
vinayakb36016dc2012-10-09 06:10:12 +0000832 <module>algebricks</module>
Michael Blow43b40b62017-01-14 17:03:12 -0500833 <module>hyracks-fullstack-license</module>
vinayakbe5add8a2012-10-06 19:00:14 +0000834 </modules>
Michael Blow3477a2b2018-10-04 17:17:35 -0400835</project>