blob: fb801b9fd6cf10b4f51876ef28a69ded1b9266a2 [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 Blow2d5bd952020-06-13 12:51:06 -040074 <log4j.version>2.13.3</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 Blow4bf70482020-04-08 12:58:40 -040086 <version>4.1.48.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 Blow204b2952017-12-07 20:17:47 -0500147 <version>2.6</version>
148 </dependency>
149 <dependency>
Michael Blow6f75f052018-04-15 20:06:48 -0400150 <groupId>org.apache.commons</groupId>
151 <artifactId>commons-text</artifactId>
Michael Blowb8df1c52019-11-08 14:15:42 -0500152 <version>1.8</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 Blowb5727c62020-03-05 21:16:35 -0500157 <version>2.10.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 Blowb5727c62020-03-05 21:16:35 -0500162 <version>2.10.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 Blowb5727c62020-03-05 21:16:35 -0500167 <version>2.10.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 Blowb5727c62020-03-05 21:16:35 -0500172 <version>28.2-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 Blowb8df1c52019-11-08 14:15:42 -0500199 <version>3.9</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 Blowb5727c62020-03-05 21:16:35 -0500209 <version>4.4.13</version>
Till Westmann55dd6ff2017-02-19 20:18:51 -0800210 </dependency>
211 <dependency>
212 <groupId>org.apache.httpcomponents</groupId>
213 <artifactId>httpclient</artifactId>
Michael Blowb5727c62020-03-05 21:16:35 -0500214 <version>4.5.11</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>
Michael Blowe2307cf2020-04-24 16:14:03 -0400280 </dependency>
Michael Blowb5727c62020-03-05 21:16:35 -0500281 <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>
Michael Blowe2307cf2020-04-24 16:14:03 -0400447 <artifactId>maven-antrun-plugin</artifactId>
Michael Blowf53c1c62016-06-17 16:51:59 -0400448 <executions>
449 <execution>
Michael Blowe2307cf2020-04-24 16:14:03 -0400450 <id>check-pom-packaging</id>
451 <phase>validate</phase>
452 <goals>
453 <goal>run</goal>
454 </goals>
455 <configuration>
456 <exportAntProperties>true</exportAntProperties>
457 <target xmlns:unless="ant:unless">
458 <condition property="skipPomEnforcement">
459 <not><equals arg1="${project.packaging}" arg2="pom"/></not>
460 </condition>
461 <echo message="will enforce non-existence of test source dir due to ${project.packaging} packaging" unless:set="skipPomEnforcement"/>
462 </target>
463 </configuration>
464 </execution>
465 </executions>
466 </plugin>
467 <plugin>
468 <groupId>org.apache.maven.plugins</groupId>
469 <artifactId>maven-enforcer-plugin</artifactId>
470 <executions>
471 <execution>
472 <id>ensure-no-tests-for-pom-packaging</id>
473 <phase>validate</phase>
474 <goals>
475 <goal>enforce</goal>
476 </goals>
477 <configuration>
478 <rules>
479 <requireFilesDontExist>
480 <files>
481 <file>${project.build.testSourceDirectory}</file>
482 </files>
483 <message>#### Tests cannot exist in projects with '${project.packaging}' packaging!</message>
484 </requireFilesDontExist>
485 </rules>
486 <skip>${skipPomEnforcement}</skip>
487 </configuration>
488 </execution>
489 <execution>
Michael Blowf53c1c62016-06-17 16:51:59 -0400490 <id>enforce-versions</id>
491 <goals>
492 <goal>enforce</goal>
493 </goals>
494 <configuration>
495 <rules>
496 <requireMavenVersion>
497 <version>[3.3.9,)</version>
498 </requireMavenVersion>
499 </rules>
500 </configuration>
501 </execution>
502 </executions>
503 </plugin>
Michael Blow7626d162017-12-10 14:26:56 -0500504 <plugin>
505 <groupId>org.apache.maven.plugins</groupId>
506 <artifactId>maven-resources-plugin</artifactId>
507 <executions>
508 <execution>
509 <id>default-testResources</id>
510 <goals>
511 <goal>testResources</goal>
512 </goals>
513 <configuration>
514 <skip>${skip.testResources}</skip>
515 </configuration>
516 </execution>
517 </executions>
518 </plugin>
Michael Blowcb9ca972018-01-27 23:03:30 -0500519 <plugin>
520 <groupId>net.revelc.code.formatter</groupId>
521 <artifactId>formatter-maven-plugin</artifactId>
522 <executions>
523 <execution>
524 <goals>
525 <goal>${source-format.goal}</goal>
526 </goals>
527 </execution>
528 </executions>
529 <configuration>
530 <configFile>${root.dir}/AsterixCodeFormatProfile.xml</configFile>
531 <skipFormatting>${source-format.skip}</skipFormatting>
532 </configuration>
533 </plugin>
Michael Blowef85fb02019-03-22 13:40:35 -0400534 <plugin>
535 <groupId>net.revelc.code</groupId>
536 <artifactId>impsort-maven-plugin</artifactId>
537 <executions>
538 <execution>
539 <goals>
540 <goal>${import-sort.goal}</goal>
541 </goals>
542 </execution>
543 </executions>
544 <configuration>
545 <groups>java,javax,org,com,*</groups>
546 <removeUnused>true</removeUnused>
547 <skip>${import-sort.skip}</skip>
548 </configuration>
549 </plugin>
vinayakbe5add8a2012-10-06 19:00:14 +0000550 </plugins>
Yingyi Bud680e142016-03-18 16:41:46 -0700551 <pluginManagement>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700552 <plugins>
Michael Blow5e17af22017-02-02 10:00:44 -0500553 <plugin>
Till Westmann65da60c2017-02-22 13:17:49 -0800554 <groupId>org.apache.maven.plugins</groupId>
555 <artifactId>maven-compiler-plugin</artifactId>
Michael Blow3477a2b2018-10-04 17:17:35 -0400556 <version>3.8.0</version>
Till Westmann65da60c2017-02-22 13:17:49 -0800557 </plugin>
558 <plugin>
Michael Blow5e17af22017-02-02 10:00:44 -0500559 <groupId>org.apache.rat</groupId>
560 <artifactId>apache-rat-plugin</artifactId>
561 <version>0.12</version>
562 </plugin>
Dmitry Lychagin249be532017-05-31 14:57:14 -0700563 <plugin>
564 <groupId>net.revelc.code.formatter</groupId>
565 <artifactId>formatter-maven-plugin</artifactId>
566 <version>2.0.1</version>
567 </plugin>
Michael Blowef85fb02019-03-22 13:40:35 -0400568 <plugin>
569 <groupId>net.revelc.code</groupId>
570 <artifactId>impsort-maven-plugin</artifactId>
571 <version>1.2.0</version>
572 </plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700573 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
574 <plugin>
575 <groupId>org.eclipse.m2e</groupId>
576 <artifactId>lifecycle-mapping</artifactId>
577 <version>1.0.0</version>
578 <configuration>
579 <lifecycleMappingMetadata>
580 <pluginExecutions>
581 <pluginExecution>
582 <pluginExecutionFilter>
583 <groupId>org.apache.rat</groupId>
584 <artifactId>apache-rat-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400585 <versionRange>[0.0,)</versionRange>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700586 <goals>
587 <goal>check</goal>
588 </goals>
589 </pluginExecutionFilter>
590 <action>
Michael Blow380b0a22016-08-02 13:05:52 -0400591 <ignore />
Michael Blowb4c1fb02016-05-09 15:41:00 -0700592 </action>
593 </pluginExecution>
Michael Blow8f2cf242016-06-30 01:45:39 -0400594 <pluginExecution>
595 <pluginExecutionFilter>
596 <groupId>org.apache.maven.plugins</groupId>
597 <artifactId>maven-checkstyle-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400598 <versionRange>[0.0,)</versionRange>
Michael Blow8f2cf242016-06-30 01:45:39 -0400599 <goals>
600 <goal>check</goal>
601 </goals>
602 </pluginExecutionFilter>
603 <action>
Michael Blow380b0a22016-08-02 13:05:52 -0400604 <ignore />
Michael Blow8f2cf242016-06-30 01:45:39 -0400605 </action>
606 </pluginExecution>
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700607 <pluginExecution>
608 <pluginExecutionFilter>
609 <groupId>org.apache.maven.plugins</groupId>
610 <artifactId>maven-dependency-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400611 <versionRange>[0.0,)</versionRange>
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700612 <goals>
613 <goal>analyze-only</goal>
614 </goals>
615 </pluginExecutionFilter>
616 <action>
Ian Maxondef643d2017-01-18 18:31:11 -0800617 <ignore />
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700618 </action>
619 </pluginExecution>
Taewoo Kima252d782018-01-30 13:29:07 -0800620 <pluginExecution>
621 <pluginExecutionFilter>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800622 <groupId>net.revelc.code.formatter</groupId>
623 <artifactId>formatter-maven-plugin</artifactId>
624 <versionRange>[2.0.1,)</versionRange>
625 <goals>
626 <goal>format</goal>
627 </goals>
628 </pluginExecutionFilter>
629 <action>
630 <ignore></ignore>
631 </action>
Taewoo Kima252d782018-01-30 13:29:07 -0800632 </pluginExecution>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700633 </pluginExecutions>
634 </lifecycleMappingMetadata>
635 </configuration>
636 </plugin>
Ian Maxon99fed932017-02-09 19:11:39 -0800637 <plugin>
Michael Blowa7fad192017-03-09 22:10:19 -0500638 <groupId>org.codehaus.mojo</groupId>
639 <artifactId>versions-maven-plugin</artifactId>
Michael Blow0aae1832017-10-29 11:59:47 -0400640 <version>2.5</version>
Ian Maxon99fed932017-02-09 19:11:39 -0800641 </plugin>
642 <plugin>
Michael Blowa7fad192017-03-09 22:10:19 -0500643 <groupId>org.apache.maven.plugins</groupId>
644 <artifactId>maven-scm-plugin</artifactId>
645 <version>1.9.5</version>
646 </plugin>
647 <plugin>
648 <groupId>org.codehaus.mojo</groupId>
649 <artifactId>appassembler-maven-plugin</artifactId>
650 <version>2.0.0</version>
Ian Maxon99fed932017-02-09 19:11:39 -0800651 </plugin>
Michael Blow10a74862017-05-23 16:55:39 -0400652 <plugin>
653 <groupId>org.apache.maven.plugins</groupId>
654 <artifactId>maven-surefire-plugin</artifactId>
Michael Blowaebe2c52018-06-10 14:18:53 -0400655 <version>2.21.0</version>
Michael Blow10a74862017-05-23 16:55:39 -0400656 </plugin>
657 <plugin>
658 <groupId>org.apache.maven.plugins</groupId>
659 <artifactId>maven-failsafe-plugin</artifactId>
Michael Blowaebe2c52018-06-10 14:18:53 -0400660 <version>2.21.0</version>
Michael Blow10a74862017-05-23 16:55:39 -0400661 </plugin>
Michael Blow09f958c2017-08-20 17:02:19 -0400662 <plugin>
663 <groupId>org.apache.hyracks</groupId>
664 <artifactId>license-automation-plugin</artifactId>
665 <version>${project.version}</version>
666 </plugin>
Michael Blow0aae1832017-10-29 11:59:47 -0400667 <plugin>
668 <groupId>org.apache.maven.plugins</groupId>
669 <artifactId>maven-assembly-plugin</artifactId>
670 <version>3.1.0</version>
671 </plugin>
672 <plugin>
673 <groupId>org.apache.maven.plugins</groupId>
674 <artifactId>maven-antrun-plugin</artifactId>
675 <version>1.8</version>
676 </plugin>
677 <plugin>
678 <groupId>org.apache.maven.plugins</groupId>
679 <artifactId>maven-clean-plugin</artifactId>
680 <version>3.0.0</version>
681 </plugin>
682 <plugin>
683 <groupId>org.apache.maven.plugins</groupId>
684 <artifactId>maven-jar-plugin</artifactId>
685 <version>3.0.2</version>
686 </plugin>
687 <plugin>
688 <groupId>org.codehaus.mojo</groupId>
689 <artifactId>build-helper-maven-plugin</artifactId>
690 <version>3.0.0</version>
691 </plugin>
692 <plugin>
693 <groupId>org.apache.maven.plugins</groupId>
694 <artifactId>maven-dependency-plugin</artifactId>
Michael Blowcedd9612018-07-25 13:25:02 -0400695 <version>3.1.1</version>
Michael Blow0aae1832017-10-29 11:59:47 -0400696 </plugin>
Michael Blow918c5b12017-10-30 14:51:13 -0400697 <plugin>
698 <groupId>org.apache.maven.doxia</groupId>
699 <artifactId>doxia-maven-plugin</artifactId>
700 <version>1.1.4</version>
701 </plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700702 </plugins>
703 </pluginManagement>
vinayakbe5add8a2012-10-06 19:00:14 +0000704 </build>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800705 <profiles>
706 <profile>
Michael Blow916dce42017-05-23 13:19:12 -0400707 <id>skip-assembly</id>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700708 <activation>
709 <file>
Michael Blow916dce42017-05-23 13:19:12 -0400710 <missing>src/main/assembly/source.xml</missing>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700711 </file>
712 </activation>
Michael Blow916dce42017-05-23 13:19:12 -0400713 <properties>
714 <skip.assembly>true</skip.assembly>
715 </properties>
716 </profile>
717 <profile>
718 <id>release</id>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700719 <build>
720 <plugins>
721 <plugin>
722 <groupId>org.apache.maven.plugins</groupId>
Michael Blow38ca9622018-02-28 11:44:43 -0500723 <artifactId>maven-jar-plugin</artifactId>
724 <configuration>
725 <archive>
Michael Blowaed96f02019-03-01 18:47:19 -0500726 <addMavenDescriptor>true</addMavenDescriptor>
Michael Blow38ca9622018-02-28 11:44:43 -0500727 <manifest>
728 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
729 <addDefaultSpecificationEntries>false</addDefaultSpecificationEntries>
730 </manifest>
731 </archive>
732 </configuration>
733 </plugin>
734 <plugin>
735 <groupId>org.apache.maven.plugins</groupId>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700736 <artifactId>maven-assembly-plugin</artifactId>
737 <!-- We override the configuration plugin to override the descriptor to use for building
738 the source release zip. Specifically, we would like to control the inclusions/exclusions.
739 For example, we exclude the KEYS file from the zip -->
740 <executions>
741 <execution>
742 <!-- Use this id to match the id mentioned in the assembly plugin configuration in
743 the apache parent POM under the apache-release profile -->
744 <id>source-release-assembly</id>
745 <phase>package</phase>
746 <goals>
747 <goal>single</goal>
748 </goals>
749 <!-- combine.self should be override to replace the configuration in the parent POM -->
750 <configuration combine.self="override">
751 <descriptors>
752 <descriptor>src/main/assembly/source.xml</descriptor>
753 </descriptors>
Michael Blow916dce42017-05-23 13:19:12 -0400754 <skipAssembly>${skip.assembly}</skipAssembly>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700755 </configuration>
756 </execution>
757 </executions>
758 </plugin>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700759 <plugin>
760 <groupId>org.apache.maven.plugins</groupId>
Ian Maxon99fed932017-02-09 19:11:39 -0800761 <artifactId>maven-gpg-plugin</artifactId>
762 <version>1.6</version>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700763 <executions>
764 <execution>
Ian Maxon99fed932017-02-09 19:11:39 -0800765 <id>sign-artifacts</id>
766 <phase>verify</phase>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700767 <goals>
Ian Maxon99fed932017-02-09 19:11:39 -0800768 <goal>sign</goal>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700769 </goals>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700770 </execution>
771 </executions>
772 </plugin>
773 </plugins>
774 </build>
775 </profile>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700776 <profile>
Michael Blow7c15c132016-05-04 22:06:34 -0400777 <id>coverage</id>
778 <activation>
779 <property>
780 <name>coverage</name>
781 </property>
782 </activation>
783 <build>
784 <plugins>
785 <plugin>
786 <groupId>org.jacoco</groupId>
787 <artifactId>jacoco-maven-plugin</artifactId>
788 <version>${jacoco.version}</version>
789 <executions>
790 <execution>
791 <id>default-prepare-agent</id>
792 <goals>
793 <goal>prepare-agent</goal>
794 </goals>
795 <configuration>
796 <propertyName>coverageArgLine</propertyName>
797 </configuration>
798 </execution>
799 <execution>
800 <id>default-prepare-agent-integration</id>
801 <goals>
802 <goal>prepare-agent-integration</goal>
803 </goals>
804 <configuration>
805 <propertyName>coverageArgLine</propertyName>
806 </configuration>
807 </execution>
808 </executions>
809 </plugin>
810 </plugins>
811 </build>
812 <properties>
Michael Blow380b0a22016-08-02 13:05:52 -0400813 <coverage />
Michael Blow7c15c132016-05-04 22:06:34 -0400814 </properties>
815 </profile>
816 <profile>
817 <id>no-coverage</id>
818 <activation>
819 <property>
820 <name>!coverage</name>
821 </property>
822 </activation>
823 <properties>
Michael Blow380b0a22016-08-02 13:05:52 -0400824 <coverageArgLine />
Michael Blow7c15c132016-05-04 22:06:34 -0400825 </properties>
826 </profile>
827 <profile>
Michael Blow64d49fb2018-02-11 15:43:47 -0500828 <id>integration-tests-only</id>
829 <properties>
830 <test.includes/>
831 <failIfNoTests>false</failIfNoTests>
832 </properties>
833 </profile>
Michael Blowcedd9612018-07-25 13:25:02 -0400834 <profile>
835 <id>java8</id>
836 <activation>
Michael Blow0de90812019-08-23 16:27:29 -0400837 <jdk>[1.8,)</jdk>
Michael Blowcedd9612018-07-25 13:25:02 -0400838 </activation>
839 <properties>
840 <target.jdk.version>8</target.jdk.version>
841 </properties>
842 </profile>
843 <profile>
Michael Blowcedd9612018-07-25 13:25:02 -0400844 <id>java8-bootclasspath</id>
845 <activation>
846 <property>
847 <name>java8-bootclasspath</name>
848 </property>
849 </activation>
850 <properties>
851 <target.jdk.version>8</target.jdk.version>
852 </properties>
853 <build>
854 <plugins>
855 <plugin>
856 <groupId>org.apache.maven.plugins</groupId>
857 <artifactId>maven-compiler-plugin</artifactId>
858 <configuration>
859 <compilerArgs combine.children="append">
860 <arg>-bootclasspath</arg>
861 <arg>${java8-bootclasspath}</arg>
862 </compilerArgs>
863 </configuration>
864 </plugin>
865 </plugins>
866 </build>
867 </profile>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800868 </profiles>
vinayakbe5add8a2012-10-06 19:00:14 +0000869 <modules>
870 <module>hyracks</module>
vinayakb36016dc2012-10-09 06:10:12 +0000871 <module>algebricks</module>
Michael Blow43b40b62017-01-14 17:03:12 -0500872 <module>hyracks-fullstack-license</module>
vinayakbe5add8a2012-10-06 19:00:14 +0000873 </modules>
Michael Blow3477a2b2018-10-04 17:17:35 -0400874</project>