blob: 5af199525e00ad991427f058c188515f4a3c8e16 [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>
Ian Maxon4889f6b2021-05-05 02:08:27 -070052 <source.jdk.version>11</source.jdk.version>
53 <target.jdk.version>11</target.jdk.version>
Michael Blow2b057012017-12-07 22:20:39 -050054 <javac.xlint.value>all</javac.xlint.value>
Michael Blow380b0a22016-08-02 13:05:52 -040055 <jvm.extraargs />
Michael Blowb4c1fb02016-05-09 15:41:00 -070056 <sonar.jacoco.reportPath>${env.PWD}/target/jacoco-merged.exec</sonar.jacoco.reportPath>
Michael Blow4cd925c2018-01-20 17:15:38 -050057 <source-format.goal>format</source-format.goal>
Dmitry Lychagin249be532017-05-31 14:57:14 -070058 <source-format.skip>false</source-format.skip>
Michael Blowef85fb02019-03-22 13:40:35 -040059 <import-sort.goal>sort</import-sort.goal>
60 <import-sort.skip>false</import-sort.skip>
Ian Maxon3bb92132019-02-12 22:20:25 -080061 <maven.test.skip>false</maven.test.skip>
Michael Blowe30c9d32018-01-20 09:42:19 -050062 <skipTests>false</skipTests>
Michael Blowdd920be2017-06-07 15:04:33 -040063 <skip.surefire.tests>${skipTests}</skip.surefire.tests>
Michael Blow7626d162017-12-10 14:26:56 -050064 <skip.testResources>${maven.test.skip}</skip.testResources>
Michael Blow2530e392018-02-06 01:19:42 -050065 <testLog4jConfigFile>${root.dir}/src/test/resources/log4j2-hyracks-test.xml</testLog4jConfigFile>
Michael Blowb4c1fb02016-05-09 15:41:00 -070066 <!-- Definition of tests in various categories which may be excluded -->
Michael Blowb4c1fb02016-05-09 15:41:00 -070067 <hivesterix.perf.tests>**/hivesterix/perf/PerfTestSuite.java</hivesterix.perf.tests>
68 <global.test.includes>**/*TestSuite.java,**/*Test.java</global.test.includes>
Michael Blow64d49fb2018-02-11 15:43:47 -050069 <global.test.excludes>**/Abstract*.java,${hivesterix.perf.tests}</global.test.excludes>
Michael Blowe30c9d32018-01-20 09:42:19 -050070 <test.includes>${global.test.includes}</test.includes>
71 <test.excludes>${global.test.excludes}</test.excludes>
Michael Blowb4c1fb02016-05-09 15:41:00 -070072 <!-- Versions under dependencymanagement or used in many projects via properties -->
Michael Blow3477a2b2018-10-04 17:17:35 -040073 <hadoop.version>2.8.5</hadoop.version>
Michael Blowb4c1fb02016-05-09 15:41:00 -070074 <jacoco.version>0.7.6.201602180812</jacoco.version>
Michael Blow3856cb32021-05-01 11:36:15 -040075 <log4j.version>2.14.1</log4j.version>
Michael Blow38ca9622018-02-28 11:44:43 -050076
Michael Blowcbfe8f92018-02-28 14:02:38 -050077 <implementation.title>Apache Hyracks and Algebricks - ${project.name}</implementation.title>
Michael Blow38ca9622018-02-28 11:44:43 -050078 <implementation.url>https://asterixdb.apache.org/</implementation.url>
79 <implementation.version>${project.version}</implementation.version>
80 <implementation.vendor>${project.organization.name}</implementation.vendor>
Michael Blowb4c1fb02016-05-09 15:41:00 -070081 </properties>
82 <dependencyManagement>
83 <dependencies>
84 <dependency>
Till Westmannea666c92017-02-22 22:25:15 -080085 <groupId>io.netty</groupId>
86 <artifactId>netty-all</artifactId>
Michael Blow3856cb32021-05-01 11:36:15 -040087 <version>4.1.63.Final</version>
Till Westmannea666c92017-02-22 22:25:15 -080088 </dependency>
89 <dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -070090 <groupId>junit</groupId>
91 <artifactId>junit</artifactId>
Michael Blowb5727c62020-03-05 21:16:35 -050092 <version>4.13</version>
Michael Blowb4c1fb02016-05-09 15:41:00 -070093 </dependency>
94 <dependency>
95 <groupId>org.apache.hadoop</groupId>
96 <artifactId>hadoop-yarn-client</artifactId>
97 <version>${hadoop.version}</version>
98 </dependency>
99 <dependency>
100 <groupId>org.apache.hadoop</groupId>
101 <artifactId>hadoop-client</artifactId>
102 <version>${hadoop.version}</version>
103 </dependency>
104 <dependency>
105 <groupId>org.apache.hadoop</groupId>
106 <artifactId>hadoop-common</artifactId>
107 <version>${hadoop.version}</version>
Michael Blowaebe2c52018-06-10 14:18:53 -0400108 <exclusions>
109 <exclusion>
110 <groupId>javax.servlet.jsp</groupId>
111 <artifactId>jsp-api</artifactId>
112 </exclusion>
113 <exclusion>
114 <groupId>javax.servlet</groupId>
115 <artifactId>servlet-api</artifactId>
116 </exclusion>
117 <exclusion>
118 <groupId>jdk.tools</groupId>
119 <artifactId>jdk.tools</artifactId>
120 </exclusion>
121 </exclusions>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700122 </dependency>
123 <dependency>
124 <groupId>org.apache.hadoop</groupId>
125 <artifactId>hadoop-hdfs</artifactId>
126 <version>${hadoop.version}</version>
127 </dependency>
128 <dependency>
129 <groupId>org.apache.hadoop</groupId>
130 <artifactId>hadoop-minicluster</artifactId>
131 <version>${hadoop.version}</version>
132 </dependency>
133 <dependency>
134 <groupId>org.apache.hadoop</groupId>
135 <artifactId>hadoop-mapreduce-client-core</artifactId>
136 <version>${hadoop.version}</version>
137 </dependency>
138 <dependency>
Michael Blowba358122016-10-13 19:56:03 -0400139 <groupId>org.apache.hadoop</groupId>
140 <artifactId>hadoop-hdfs</artifactId>
141 <version>${hadoop.version}</version>
142 <classifier>tests</classifier>
143 <scope>test</scope>
144 </dependency>
145 <dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700146 <groupId>commons-io</groupId>
147 <artifactId>commons-io</artifactId>
Michael Blow3856cb32021-05-01 11:36:15 -0400148 <version>2.8.0</version>
Michael Blow204b2952017-12-07 20:17:47 -0500149 </dependency>
150 <dependency>
Michael Blow6f75f052018-04-15 20:06:48 -0400151 <groupId>org.apache.commons</groupId>
152 <artifactId>commons-text</artifactId>
Michael Blow3856cb32021-05-01 11:36:15 -0400153 <version>1.9</version>
Michael Blow6f75f052018-04-15 20:06:48 -0400154 </dependency>
155 <dependency>
Ian Maxond49bc6e2017-01-05 18:50:57 -0800156 <groupId>com.fasterxml.jackson.core</groupId>
157 <artifactId>jackson-databind</artifactId>
Michael Blow3856cb32021-05-01 11:36:15 -0400158 <version>2.12.3</version>
Ian Maxond49bc6e2017-01-05 18:50:57 -0800159 </dependency>
160 <dependency>
161 <groupId>com.fasterxml.jackson.core</groupId>
162 <artifactId>jackson-core</artifactId>
Michael Blow3856cb32021-05-01 11:36:15 -0400163 <version>2.12.3</version>
Ian Maxond49bc6e2017-01-05 18:50:57 -0800164 </dependency>
Michael Blow599ef8f2017-01-12 11:02:53 -0500165 <dependency>
Michael Blow204b2952017-12-07 20:17:47 -0500166 <groupId>com.fasterxml.jackson.core</groupId>
167 <artifactId>jackson-annotations</artifactId>
Michael Blow3856cb32021-05-01 11:36:15 -0400168 <version>2.12.3</version>
Michael Blow204b2952017-12-07 20:17:47 -0500169 </dependency>
170 <dependency>
Michael Blow599ef8f2017-01-12 11:02:53 -0500171 <groupId>com.google.guava</groupId>
172 <artifactId>guava</artifactId>
Michael Blow3a188522021-01-26 17:13:45 -0500173 <version>30.1-jre</version>
Michael Blowe8e59d0e2019-09-26 19:28:12 -0400174 <exclusions>
175 <exclusion>
176 <groupId>com.google.code.findbugs</groupId>
177 <artifactId>jsr305</artifactId>
178 </exclusion>
179 <exclusion>
180 <groupId>com.google.guava</groupId>
181 <artifactId>listenablefuture</artifactId>
182 </exclusion>
183 <exclusion>
184 <groupId>org.checkerframework</groupId>
185 <artifactId>checker-qual</artifactId>
186 </exclusion>
187 <exclusion>
188 <groupId>com.google.j2objc</groupId>
189 <artifactId>j2objc-annotations</artifactId>
190 </exclusion>
191 <exclusion>
192 <groupId>org.codehaus.mojo</groupId>
193 <artifactId>animal-sniffer-annotations</artifactId>
194 </exclusion>
195 </exclusions>
Michael Blow599ef8f2017-01-12 11:02:53 -0500196 </dependency>
Michael Blow43b40b62017-01-14 17:03:12 -0500197 <dependency>
198 <groupId>org.apache.commons</groupId>
199 <artifactId>commons-lang3</artifactId>
Michael Blow3856cb32021-05-01 11:36:15 -0400200 <version>3.12.0</version>
Michael Blow43b40b62017-01-14 17:03:12 -0500201 </dependency>
Michael Blow5e17af22017-02-02 10:00:44 -0500202 <dependency>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500203 <groupId>org.apache.commons</groupId>
204 <artifactId>commons-collections4</artifactId>
Michael Blowb8df1c52019-11-08 14:15:42 -0500205 <version>4.4</version>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500206 </dependency>
207 <dependency>
Till Westmann55dd6ff2017-02-19 20:18:51 -0800208 <groupId>org.apache.httpcomponents</groupId>
209 <artifactId>httpcore</artifactId>
Michael Blow3856cb32021-05-01 11:36:15 -0400210 <version>4.4.14</version>
Till Westmann55dd6ff2017-02-19 20:18:51 -0800211 </dependency>
212 <dependency>
213 <groupId>org.apache.httpcomponents</groupId>
214 <artifactId>httpclient</artifactId>
Michael Blow3a188522021-01-26 17:13:45 -0500215 <version>4.5.13</version>
Till Westmann55dd6ff2017-02-19 20:18:51 -0800216 </dependency>
217 <dependency>
Michael Blow5e17af22017-02-02 10:00:44 -0500218 <groupId>org.apache.rat</groupId>
219 <artifactId>apache-rat-plugin</artifactId>
Michael Blow0f7e4872018-12-15 20:01:23 -0500220 <version>0.13</version>
Michael Blow5e17af22017-02-02 10:00:44 -0500221 </dependency>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500222 <dependency>
Till Westmann192478b2019-03-01 10:45:25 -0800223 <groupId>org.ini4j</groupId>
224 <artifactId>ini4j</artifactId>
225 <version>0.5.4</version>
226 </dependency>
227 <dependency>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500228 <groupId>args4j</groupId>
229 <artifactId>args4j</artifactId>
230 <version>2.33</version>
231 </dependency>
Murtadha Hubailaf4018d2017-12-15 17:56:38 +0300232 <dependency>
233 <groupId>org.apache.logging.log4j</groupId>
234 <artifactId>log4j-api</artifactId>
Michael Blow2d5bd952020-06-13 12:51:06 -0400235 <version>${log4j.version}</version>
Murtadha Hubailaf4018d2017-12-15 17:56:38 +0300236 </dependency>
237 <dependency>
238 <groupId>org.apache.logging.log4j</groupId>
239 <artifactId>log4j-core</artifactId>
Michael Blow2d5bd952020-06-13 12:51:06 -0400240 <version>${log4j.version}</version>
241 </dependency>
242 <dependency>
243 <groupId>org.apache.logging.log4j</groupId>
244 <artifactId>log4j-jul</artifactId>
245 <version>${log4j.version}</version>
Murtadha Hubailaf4018d2017-12-15 17:56:38 +0300246 </dependency>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800247 <dependency>
Michael Blow3477a2b2018-10-04 17:17:35 -0400248 <groupId>javax.xml.bind</groupId>
249 <artifactId>jaxb-api</artifactId>
250 <version>2.3.0</version>
251 </dependency>
Michael Blowb8df1c52019-11-08 14:15:42 -0500252 <dependency>
253 <groupId>org.apache.maven</groupId>
254 <artifactId>maven-project</artifactId>
255 <version>2.2.1</version>
256 </dependency>
Michael Blowb5727c62020-03-05 21:16:35 -0500257 <dependency>
258 <groupId>org.apache.maven</groupId>
259 <artifactId>maven-model</artifactId>
260 <version>3.6.3</version>
261 </dependency>
262 <dependency>
263 <groupId>org.apache.maven</groupId>
264 <artifactId>maven-artifact</artifactId>
265 <version>3.6.3</version>
266 </dependency>
267 <dependency>
268 <groupId>org.apache.maven</groupId>
269 <artifactId>maven-compat</artifactId>
270 <version>3.6.3</version>
271 </dependency>
272 <dependency>
273 <groupId>org.apache.maven</groupId>
274 <artifactId>maven-core</artifactId>
275 <version>3.6.3</version>
Michael Blowe2307cf2020-04-24 16:14:03 -0400276 </dependency>
Michael Blowb5727c62020-03-05 21:16:35 -0500277 <dependency>
278 <groupId>org.apache.maven</groupId>
279 <artifactId>maven-plugin-api</artifactId>
280 <version>3.6.3</version>
281 </dependency>
Ian Maxon4889f6b2021-05-05 02:08:27 -0700282 <dependency>
283 <groupId>org.mockito</groupId>
284 <artifactId>mockito-core</artifactId>
285 <version>3.10.0</version>
286 </dependency>
287 <dependency>
288 <groupId>org.powermock</groupId>
289 <artifactId>powermock-api-mockito2</artifactId>
290 <version>2.0.9</version>
291 </dependency>
292 <dependency>
293 <groupId>org.powermock</groupId>
294 <artifactId>powermock-module-junit4</artifactId>
295 <version>2.0.9</version>
296 </dependency>
297 <dependency>
298 <groupId>org.powermock</groupId>
299 <artifactId>powermock-core</artifactId>
300 <version>2.0.9</version>
301 </dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700302 </dependencies>
303 </dependencyManagement>
vinayakbe5add8a2012-10-06 19:00:14 +0000304 <build>
305 <plugins>
306 <plugin>
Michael Blowba358122016-10-13 19:56:03 -0400307 <groupId>org.apache.maven.plugins</groupId>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500308 <artifactId>maven-jar-plugin</artifactId>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500309 <configuration>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500310 <excludes combine.children="append">
Michael Blowc96bb1f2017-01-16 16:31:54 -0500311 <exclude>**/DEPENDENCIES</exclude>
312 </excludes>
Michael Blow38ca9622018-02-28 11:44:43 -0500313 <archive>
Michael Blowaed96f02019-03-01 18:47:19 -0500314 <addMavenDescriptor>false</addMavenDescriptor>
Michael Blow38ca9622018-02-28 11:44:43 -0500315 <manifest>
316 <addDefaultImplementationEntries>false</addDefaultImplementationEntries>
317 <addDefaultSpecificationEntries>false</addDefaultSpecificationEntries>
318 </manifest>
319 <manifestEntries>
320 <Implementation-Title>${implementation.title}</Implementation-Title>
321 <Implementation-URL>${implementation.url}</Implementation-URL>
322 <Implementation-Version>${implementation.version}</Implementation-Version>
323 <Implementation-Vendor>${implementation.vendor}</Implementation-Vendor>
324 </manifestEntries>
325 </archive>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500326 </configuration>
327 </plugin>
328 <plugin>
329 <groupId>org.apache.maven.plugins</groupId>
Michael Blowba358122016-10-13 19:56:03 -0400330 <artifactId>maven-dependency-plugin</artifactId>
Michael Blowba358122016-10-13 19:56:03 -0400331 <configuration>
332 <failOnWarning>true</failOnWarning>
333 <outputXML>true</outputXML>
334 </configuration>
335 <executions>
336 <execution>
337 <phase>process-test-classes</phase>
338 <goals>
339 <goal>analyze-only</goal>
340 </goals>
341 </execution>
342 </executions>
343 </plugin>
344 <plugin>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700345 <groupId>org.apache.rat</groupId>
346 <artifactId>apache-rat-plugin</artifactId>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700347 <executions>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700348 <execution>
349 <phase>validate</phase>
350 <goals>
351 <goal>check</goal>
352 </goals>
353 </execution>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700354 </executions>
355 <configuration>
Michael Blow5e17af22017-02-02 10:00:44 -0500356 <addDefaultLicenseMatchers>false</addDefaultLicenseMatchers>
357 <consoleOutput>true</consoleOutput>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700358 <licenses>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800359 <license implementation="org.apache.rat.analysis.license.ApacheSoftwareLicense20" />
Ian Maxon137fc3b2015-06-30 16:23:48 -0700360 </licenses>
361 <licenseFamilies>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800362 <licenseFamily implementation="org.apache.rat.license.Apache20LicenseFamily" />
Ian Maxon137fc3b2015-06-30 16:23:48 -0700363 </licenseFamilies>
Michael Blow5e17af22017-02-02 10:00:44 -0500364 <excludeSubProjects>true</excludeSubProjects>
Michael Blowe7aec9c2017-04-28 17:08:45 -0400365 <excludes combine.children="append">
366 <exclude>**/*.iml</exclude>
367 </excludes>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700368 </configuration>
369 </plugin>
370 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700371 <groupId>org.apache.maven.plugins</groupId>
372 <artifactId>maven-surefire-plugin</artifactId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700373 <configuration>
374 <failIfNoTests>false</failIfNoTests>
375 <forkCount>1</forkCount>
Chris Hilleryd2c1a8a2014-02-21 01:03:02 -0800376 <reuseForks>false</reuseForks>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800377 <argLine>-enableassertions -Xmx2048m -Dfile.encoding=UTF-8 -Xdebug
Murtadha Hubailc7eb0c52018-05-21 18:01:55 +0300378 -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n ${coverageArgLine}
Michael Blowb4c1fb02016-05-09 15:41:00 -0700379 </argLine>
Murtadha Hubail06ca2792018-01-16 00:12:27 +0300380 <systemPropertyVariables>
381 <log4j.configurationFile>${testLog4jConfigFile}</log4j.configurationFile>
382 </systemPropertyVariables>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700383 <includes>
Michael Blowe30c9d32018-01-20 09:42:19 -0500384 <include>${test.includes}</include>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700385 </includes>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500386 <excludes combine.children="append">
Michael Blowe30c9d32018-01-20 09:42:19 -0500387 <exclude>${test.excludes}</exclude>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800388 </excludes>
Michael Blowdd920be2017-06-07 15:04:33 -0400389 <skipTests>${skip.surefire.tests}</skipTests>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700390 </configuration>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700391 </plugin>
392 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700393 <groupId>org.apache.maven.plugins</groupId>
Murtadha Hubail06ca2792018-01-16 00:12:27 +0300394 <artifactId>maven-failsafe-plugin</artifactId>
395 <configuration>
396 <systemPropertyVariables>
397 <log4j.configurationFile>${testLog4jConfigFile}</log4j.configurationFile>
398 </systemPropertyVariables>
399 </configuration>
400 </plugin>
401 <plugin>
402 <groupId>org.apache.maven.plugins</groupId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700403 <artifactId>maven-compiler-plugin</artifactId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700404 <configuration>
Michael Blowcedd9612018-07-25 13:25:02 -0400405 <source>${source.jdk.version}</source>
406 <target>${target.jdk.version}</target>
Michael Blow2b057012017-12-07 22:20:39 -0500407 <compilerArgument>-Xlint:${javac.xlint.value}</compilerArgument>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700408 </configuration>
vinayakbe5add8a2012-10-06 19:00:14 +0000409 </plugin>
Ian Maxonb165aca2016-03-17 18:21:57 -0700410 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700411 <groupId>org.apache.maven.plugins</groupId>
412 <artifactId>maven-remote-resources-plugin</artifactId>
413 <executions>
414 <execution>
415 <goals>
416 <goal>process</goal>
417 </goals>
418 <configuration>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500419 <resourceBundles>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700420 <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700421 </resourceBundles>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500422 <properties>
423 <projectName>Apache Hyracks - ${project.name}</projectName>
424 </properties>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700425 </configuration>
426 </execution>
427 </executions>
Ian Maxon9e37c962015-11-25 07:38:37 -0800428 </plugin>
Michael Blowd1e2a992016-06-14 12:27:46 -0400429 <plugin>
430 <groupId>org.apache.maven.plugins</groupId>
431 <artifactId>maven-checkstyle-plugin</artifactId>
Michael Blow6a2a4362019-03-27 14:31:16 -0400432 <version>3.0.0</version>
Michael Blowd1e2a992016-06-14 12:27:46 -0400433 <executions>
434 <execution>
435 <id>verify-style</id>
Michael Blow6a2a4362019-03-27 14:31:16 -0400436 <phase>process-sources</phase>
Michael Blowd1e2a992016-06-14 12:27:46 -0400437 <goals>
438 <goal>check</goal>
439 </goals>
440 </execution>
441 </executions>
442 <configuration>
443 <logViolationsToConsole>true</logViolationsToConsole>
444 <checkstyleRules>
445 <module name="Checker">
446 <!-- Checks for whitespace -->
447 <!-- See http://checkstyle.sf.net/config_whitespace.html -->
Michael Blow380b0a22016-08-02 13:05:52 -0400448 <module name="FileTabCharacter" />
Michael Blow6a2a4362019-03-27 14:31:16 -0400449 <module name="TreeWalker">
450 <module name="AvoidStarImport">
451 <property name="allowStaticMemberImports" value="true"/>
452 </module>
453 </module>
Michael Blowd1e2a992016-06-14 12:27:46 -0400454 </module>
455 </checkstyleRules>
Michael Blowd6cf6412016-06-30 02:44:35 -0400456 <includes>**/*.java,**/*.jj</includes>
457 <resourceIncludes>**/*.properties,**/*.xml,**/*.xsd,**/*.sh</resourceIncludes>
Michael Blowd1e2a992016-06-14 12:27:46 -0400458 <sourceDirectories>${project.build.sourceDirectory},${project.build.testSourceDirectory}</sourceDirectories>
459 </configuration>
460 </plugin>
Michael Blowf53c1c62016-06-17 16:51:59 -0400461 <plugin>
462 <groupId>org.apache.maven.plugins</groupId>
Michael Blowe2307cf2020-04-24 16:14:03 -0400463 <artifactId>maven-antrun-plugin</artifactId>
Michael Blowf53c1c62016-06-17 16:51:59 -0400464 <executions>
465 <execution>
Michael Blowe2307cf2020-04-24 16:14:03 -0400466 <id>check-pom-packaging</id>
467 <phase>validate</phase>
468 <goals>
469 <goal>run</goal>
470 </goals>
471 <configuration>
472 <exportAntProperties>true</exportAntProperties>
473 <target xmlns:unless="ant:unless">
474 <condition property="skipPomEnforcement">
475 <not><equals arg1="${project.packaging}" arg2="pom"/></not>
476 </condition>
477 <echo message="will enforce non-existence of test source dir due to ${project.packaging} packaging" unless:set="skipPomEnforcement"/>
478 </target>
479 </configuration>
480 </execution>
481 </executions>
482 </plugin>
483 <plugin>
484 <groupId>org.apache.maven.plugins</groupId>
485 <artifactId>maven-enforcer-plugin</artifactId>
486 <executions>
487 <execution>
488 <id>ensure-no-tests-for-pom-packaging</id>
489 <phase>validate</phase>
490 <goals>
491 <goal>enforce</goal>
492 </goals>
493 <configuration>
494 <rules>
495 <requireFilesDontExist>
496 <files>
497 <file>${project.build.testSourceDirectory}</file>
498 </files>
499 <message>#### Tests cannot exist in projects with '${project.packaging}' packaging!</message>
500 </requireFilesDontExist>
501 </rules>
502 <skip>${skipPomEnforcement}</skip>
503 </configuration>
504 </execution>
505 <execution>
Michael Blowf53c1c62016-06-17 16:51:59 -0400506 <id>enforce-versions</id>
507 <goals>
508 <goal>enforce</goal>
509 </goals>
510 <configuration>
511 <rules>
512 <requireMavenVersion>
513 <version>[3.3.9,)</version>
514 </requireMavenVersion>
Ian Maxon4889f6b2021-05-05 02:08:27 -0700515 <requireJavaVersion>
516 <version>[11,)</version>
517 </requireJavaVersion>
518 </rules>
519 </configuration>
520 </execution>
521 <execution>
522 <id>ensure-no-duplicate-deps</id>
523 <goals>
524 <goal>enforce</goal>
525 </goals>
526 <configuration>
527 <rules>
528 <banDuplicatePomDependencyVersions/>
Michael Blowf53c1c62016-06-17 16:51:59 -0400529 </rules>
530 </configuration>
531 </execution>
532 </executions>
533 </plugin>
Michael Blow7626d162017-12-10 14:26:56 -0500534 <plugin>
535 <groupId>org.apache.maven.plugins</groupId>
536 <artifactId>maven-resources-plugin</artifactId>
537 <executions>
538 <execution>
539 <id>default-testResources</id>
540 <goals>
541 <goal>testResources</goal>
542 </goals>
543 <configuration>
544 <skip>${skip.testResources}</skip>
545 </configuration>
546 </execution>
547 </executions>
548 </plugin>
Michael Blowcb9ca972018-01-27 23:03:30 -0500549 <plugin>
550 <groupId>net.revelc.code.formatter</groupId>
551 <artifactId>formatter-maven-plugin</artifactId>
552 <executions>
553 <execution>
554 <goals>
555 <goal>${source-format.goal}</goal>
556 </goals>
557 </execution>
558 </executions>
559 <configuration>
560 <configFile>${root.dir}/AsterixCodeFormatProfile.xml</configFile>
561 <skipFormatting>${source-format.skip}</skipFormatting>
562 </configuration>
563 </plugin>
Michael Blowef85fb02019-03-22 13:40:35 -0400564 <plugin>
565 <groupId>net.revelc.code</groupId>
566 <artifactId>impsort-maven-plugin</artifactId>
567 <executions>
568 <execution>
569 <goals>
570 <goal>${import-sort.goal}</goal>
571 </goals>
572 </execution>
573 </executions>
574 <configuration>
575 <groups>java,javax,org,com,*</groups>
576 <removeUnused>true</removeUnused>
577 <skip>${import-sort.skip}</skip>
578 </configuration>
579 </plugin>
vinayakbe5add8a2012-10-06 19:00:14 +0000580 </plugins>
Yingyi Bud680e142016-03-18 16:41:46 -0700581 <pluginManagement>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700582 <plugins>
Michael Blow5e17af22017-02-02 10:00:44 -0500583 <plugin>
Till Westmann65da60c2017-02-22 13:17:49 -0800584 <groupId>org.apache.maven.plugins</groupId>
585 <artifactId>maven-compiler-plugin</artifactId>
Michael Blow3477a2b2018-10-04 17:17:35 -0400586 <version>3.8.0</version>
Till Westmann65da60c2017-02-22 13:17:49 -0800587 </plugin>
588 <plugin>
Michael Blow5e17af22017-02-02 10:00:44 -0500589 <groupId>org.apache.rat</groupId>
590 <artifactId>apache-rat-plugin</artifactId>
591 <version>0.12</version>
592 </plugin>
Dmitry Lychagin249be532017-05-31 14:57:14 -0700593 <plugin>
594 <groupId>net.revelc.code.formatter</groupId>
595 <artifactId>formatter-maven-plugin</artifactId>
596 <version>2.0.1</version>
597 </plugin>
Michael Blowef85fb02019-03-22 13:40:35 -0400598 <plugin>
599 <groupId>net.revelc.code</groupId>
600 <artifactId>impsort-maven-plugin</artifactId>
601 <version>1.2.0</version>
602 </plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700603 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
604 <plugin>
605 <groupId>org.eclipse.m2e</groupId>
606 <artifactId>lifecycle-mapping</artifactId>
607 <version>1.0.0</version>
608 <configuration>
609 <lifecycleMappingMetadata>
610 <pluginExecutions>
611 <pluginExecution>
612 <pluginExecutionFilter>
613 <groupId>org.apache.rat</groupId>
614 <artifactId>apache-rat-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400615 <versionRange>[0.0,)</versionRange>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700616 <goals>
617 <goal>check</goal>
618 </goals>
619 </pluginExecutionFilter>
620 <action>
Michael Blow380b0a22016-08-02 13:05:52 -0400621 <ignore />
Michael Blowb4c1fb02016-05-09 15:41:00 -0700622 </action>
623 </pluginExecution>
Michael Blow8f2cf242016-06-30 01:45:39 -0400624 <pluginExecution>
625 <pluginExecutionFilter>
626 <groupId>org.apache.maven.plugins</groupId>
627 <artifactId>maven-checkstyle-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400628 <versionRange>[0.0,)</versionRange>
Michael Blow8f2cf242016-06-30 01:45:39 -0400629 <goals>
630 <goal>check</goal>
631 </goals>
632 </pluginExecutionFilter>
633 <action>
Michael Blow380b0a22016-08-02 13:05:52 -0400634 <ignore />
Michael Blow8f2cf242016-06-30 01:45:39 -0400635 </action>
636 </pluginExecution>
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700637 <pluginExecution>
638 <pluginExecutionFilter>
639 <groupId>org.apache.maven.plugins</groupId>
640 <artifactId>maven-dependency-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400641 <versionRange>[0.0,)</versionRange>
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700642 <goals>
643 <goal>analyze-only</goal>
644 </goals>
645 </pluginExecutionFilter>
646 <action>
Ian Maxondef643d2017-01-18 18:31:11 -0800647 <ignore />
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700648 </action>
649 </pluginExecution>
Taewoo Kima252d782018-01-30 13:29:07 -0800650 <pluginExecution>
651 <pluginExecutionFilter>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800652 <groupId>net.revelc.code.formatter</groupId>
653 <artifactId>formatter-maven-plugin</artifactId>
654 <versionRange>[2.0.1,)</versionRange>
655 <goals>
656 <goal>format</goal>
657 </goals>
658 </pluginExecutionFilter>
659 <action>
660 <ignore></ignore>
661 </action>
Taewoo Kima252d782018-01-30 13:29:07 -0800662 </pluginExecution>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700663 </pluginExecutions>
664 </lifecycleMappingMetadata>
665 </configuration>
666 </plugin>
Ian Maxon99fed932017-02-09 19:11:39 -0800667 <plugin>
Michael Blowa7fad192017-03-09 22:10:19 -0500668 <groupId>org.codehaus.mojo</groupId>
669 <artifactId>versions-maven-plugin</artifactId>
Michael Blow0aae1832017-10-29 11:59:47 -0400670 <version>2.5</version>
Ian Maxon99fed932017-02-09 19:11:39 -0800671 </plugin>
672 <plugin>
Michael Blowa7fad192017-03-09 22:10:19 -0500673 <groupId>org.apache.maven.plugins</groupId>
674 <artifactId>maven-scm-plugin</artifactId>
675 <version>1.9.5</version>
676 </plugin>
677 <plugin>
678 <groupId>org.codehaus.mojo</groupId>
679 <artifactId>appassembler-maven-plugin</artifactId>
680 <version>2.0.0</version>
Ian Maxon99fed932017-02-09 19:11:39 -0800681 </plugin>
Michael Blow10a74862017-05-23 16:55:39 -0400682 <plugin>
683 <groupId>org.apache.maven.plugins</groupId>
684 <artifactId>maven-surefire-plugin</artifactId>
Michael Blowaebe2c52018-06-10 14:18:53 -0400685 <version>2.21.0</version>
Michael Blow10a74862017-05-23 16:55:39 -0400686 </plugin>
687 <plugin>
688 <groupId>org.apache.maven.plugins</groupId>
689 <artifactId>maven-failsafe-plugin</artifactId>
Michael Blowaebe2c52018-06-10 14:18:53 -0400690 <version>2.21.0</version>
Michael Blow10a74862017-05-23 16:55:39 -0400691 </plugin>
Michael Blow09f958c2017-08-20 17:02:19 -0400692 <plugin>
693 <groupId>org.apache.hyracks</groupId>
694 <artifactId>license-automation-plugin</artifactId>
695 <version>${project.version}</version>
696 </plugin>
Michael Blow0aae1832017-10-29 11:59:47 -0400697 <plugin>
698 <groupId>org.apache.maven.plugins</groupId>
699 <artifactId>maven-assembly-plugin</artifactId>
700 <version>3.1.0</version>
701 </plugin>
702 <plugin>
703 <groupId>org.apache.maven.plugins</groupId>
704 <artifactId>maven-antrun-plugin</artifactId>
705 <version>1.8</version>
706 </plugin>
707 <plugin>
708 <groupId>org.apache.maven.plugins</groupId>
709 <artifactId>maven-clean-plugin</artifactId>
710 <version>3.0.0</version>
711 </plugin>
712 <plugin>
713 <groupId>org.apache.maven.plugins</groupId>
714 <artifactId>maven-jar-plugin</artifactId>
715 <version>3.0.2</version>
716 </plugin>
717 <plugin>
718 <groupId>org.codehaus.mojo</groupId>
719 <artifactId>build-helper-maven-plugin</artifactId>
720 <version>3.0.0</version>
721 </plugin>
722 <plugin>
723 <groupId>org.apache.maven.plugins</groupId>
724 <artifactId>maven-dependency-plugin</artifactId>
Ian Maxon4889f6b2021-05-05 02:08:27 -0700725 <version>3.1.2</version>
Michael Blow0aae1832017-10-29 11:59:47 -0400726 </plugin>
Michael Blow918c5b12017-10-30 14:51:13 -0400727 <plugin>
728 <groupId>org.apache.maven.doxia</groupId>
729 <artifactId>doxia-maven-plugin</artifactId>
730 <version>1.1.4</version>
731 </plugin>
Ian Maxon4889f6b2021-05-05 02:08:27 -0700732 <plugin>
733 <groupId>org.apache.maven.plugins</groupId>
734 <artifactId>maven-enforcer-plugin</artifactId>
735 <version>3.0.0-M3</version>
736 </plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700737 </plugins>
738 </pluginManagement>
vinayakbe5add8a2012-10-06 19:00:14 +0000739 </build>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800740 <profiles>
741 <profile>
Michael Blow916dce42017-05-23 13:19:12 -0400742 <id>skip-assembly</id>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700743 <activation>
744 <file>
Michael Blow916dce42017-05-23 13:19:12 -0400745 <missing>src/main/assembly/source.xml</missing>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700746 </file>
747 </activation>
Michael Blow916dce42017-05-23 13:19:12 -0400748 <properties>
749 <skip.assembly>true</skip.assembly>
750 </properties>
751 </profile>
752 <profile>
753 <id>release</id>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700754 <build>
755 <plugins>
756 <plugin>
757 <groupId>org.apache.maven.plugins</groupId>
Michael Blow38ca9622018-02-28 11:44:43 -0500758 <artifactId>maven-jar-plugin</artifactId>
759 <configuration>
760 <archive>
Michael Blowaed96f02019-03-01 18:47:19 -0500761 <addMavenDescriptor>true</addMavenDescriptor>
Michael Blow38ca9622018-02-28 11:44:43 -0500762 <manifest>
763 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
764 <addDefaultSpecificationEntries>false</addDefaultSpecificationEntries>
765 </manifest>
766 </archive>
767 </configuration>
768 </plugin>
769 <plugin>
770 <groupId>org.apache.maven.plugins</groupId>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700771 <artifactId>maven-assembly-plugin</artifactId>
772 <!-- We override the configuration plugin to override the descriptor to use for building
773 the source release zip. Specifically, we would like to control the inclusions/exclusions.
774 For example, we exclude the KEYS file from the zip -->
775 <executions>
776 <execution>
777 <!-- Use this id to match the id mentioned in the assembly plugin configuration in
778 the apache parent POM under the apache-release profile -->
779 <id>source-release-assembly</id>
780 <phase>package</phase>
781 <goals>
782 <goal>single</goal>
783 </goals>
784 <!-- combine.self should be override to replace the configuration in the parent POM -->
785 <configuration combine.self="override">
786 <descriptors>
787 <descriptor>src/main/assembly/source.xml</descriptor>
788 </descriptors>
Michael Blow916dce42017-05-23 13:19:12 -0400789 <skipAssembly>${skip.assembly}</skipAssembly>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700790 </configuration>
791 </execution>
792 </executions>
793 </plugin>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700794 <plugin>
795 <groupId>org.apache.maven.plugins</groupId>
Ian Maxon99fed932017-02-09 19:11:39 -0800796 <artifactId>maven-gpg-plugin</artifactId>
797 <version>1.6</version>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700798 <executions>
799 <execution>
Ian Maxon99fed932017-02-09 19:11:39 -0800800 <id>sign-artifacts</id>
801 <phase>verify</phase>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700802 <goals>
Ian Maxon99fed932017-02-09 19:11:39 -0800803 <goal>sign</goal>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700804 </goals>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700805 </execution>
806 </executions>
807 </plugin>
808 </plugins>
809 </build>
810 </profile>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700811 <profile>
Michael Blow7c15c132016-05-04 22:06:34 -0400812 <id>coverage</id>
813 <activation>
814 <property>
815 <name>coverage</name>
816 </property>
817 </activation>
818 <build>
819 <plugins>
820 <plugin>
821 <groupId>org.jacoco</groupId>
822 <artifactId>jacoco-maven-plugin</artifactId>
823 <version>${jacoco.version}</version>
824 <executions>
825 <execution>
826 <id>default-prepare-agent</id>
827 <goals>
828 <goal>prepare-agent</goal>
829 </goals>
830 <configuration>
831 <propertyName>coverageArgLine</propertyName>
832 </configuration>
833 </execution>
834 <execution>
835 <id>default-prepare-agent-integration</id>
836 <goals>
837 <goal>prepare-agent-integration</goal>
838 </goals>
839 <configuration>
840 <propertyName>coverageArgLine</propertyName>
841 </configuration>
842 </execution>
843 </executions>
844 </plugin>
845 </plugins>
846 </build>
847 <properties>
Michael Blow380b0a22016-08-02 13:05:52 -0400848 <coverage />
Michael Blow7c15c132016-05-04 22:06:34 -0400849 </properties>
850 </profile>
851 <profile>
852 <id>no-coverage</id>
853 <activation>
854 <property>
855 <name>!coverage</name>
856 </property>
857 </activation>
858 <properties>
Michael Blow380b0a22016-08-02 13:05:52 -0400859 <coverageArgLine />
Michael Blow7c15c132016-05-04 22:06:34 -0400860 </properties>
861 </profile>
862 <profile>
Michael Blow64d49fb2018-02-11 15:43:47 -0500863 <id>integration-tests-only</id>
864 <properties>
865 <test.includes/>
866 <failIfNoTests>false</failIfNoTests>
867 </properties>
868 </profile>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800869 </profiles>
vinayakbe5add8a2012-10-06 19:00:14 +0000870 <modules>
871 <module>hyracks</module>
vinayakb36016dc2012-10-09 06:10:12 +0000872 <module>algebricks</module>
Michael Blow43b40b62017-01-14 17:03:12 -0500873 <module>hyracks-fullstack-license</module>
vinayakbe5add8a2012-10-06 19:00:14 +0000874 </modules>
Michael Blow3477a2b2018-10-04 17:17:35 -0400875</project>