blob: f10f2fabfe7fcf205eec52f613eabdb63988a0e0 [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 Blow38ca9622018-02-28 11:44:43 -050074
Michael Blowcbfe8f92018-02-28 14:02:38 -050075 <implementation.title>Apache Hyracks and Algebricks - ${project.name}</implementation.title>
Michael Blow38ca9622018-02-28 11:44:43 -050076 <implementation.url>https://asterixdb.apache.org/</implementation.url>
77 <implementation.version>${project.version}</implementation.version>
78 <implementation.vendor>${project.organization.name}</implementation.vendor>
Michael Blowb4c1fb02016-05-09 15:41:00 -070079 </properties>
80 <dependencyManagement>
81 <dependencies>
82 <dependency>
Till Westmannea666c92017-02-22 22:25:15 -080083 <groupId>io.netty</groupId>
84 <artifactId>netty-all</artifactId>
Michael Blow4bf70482020-04-08 12:58:40 -040085 <version>4.1.48.Final</version>
Till Westmannea666c92017-02-22 22:25:15 -080086 </dependency>
87 <dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -070088 <groupId>junit</groupId>
89 <artifactId>junit</artifactId>
Michael Blowb5727c62020-03-05 21:16:35 -050090 <version>4.13</version>
Michael Blowb4c1fb02016-05-09 15:41:00 -070091 </dependency>
92 <dependency>
93 <groupId>org.apache.hadoop</groupId>
94 <artifactId>hadoop-yarn-client</artifactId>
95 <version>${hadoop.version}</version>
96 </dependency>
97 <dependency>
98 <groupId>org.apache.hadoop</groupId>
99 <artifactId>hadoop-client</artifactId>
100 <version>${hadoop.version}</version>
101 </dependency>
102 <dependency>
103 <groupId>org.apache.hadoop</groupId>
104 <artifactId>hadoop-common</artifactId>
105 <version>${hadoop.version}</version>
Michael Blowaebe2c52018-06-10 14:18:53 -0400106 <exclusions>
107 <exclusion>
108 <groupId>javax.servlet.jsp</groupId>
109 <artifactId>jsp-api</artifactId>
110 </exclusion>
111 <exclusion>
112 <groupId>javax.servlet</groupId>
113 <artifactId>servlet-api</artifactId>
114 </exclusion>
115 <exclusion>
116 <groupId>jdk.tools</groupId>
117 <artifactId>jdk.tools</artifactId>
118 </exclusion>
119 </exclusions>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700120 </dependency>
121 <dependency>
122 <groupId>org.apache.hadoop</groupId>
123 <artifactId>hadoop-hdfs</artifactId>
124 <version>${hadoop.version}</version>
125 </dependency>
126 <dependency>
127 <groupId>org.apache.hadoop</groupId>
128 <artifactId>hadoop-minicluster</artifactId>
129 <version>${hadoop.version}</version>
130 </dependency>
131 <dependency>
132 <groupId>org.apache.hadoop</groupId>
133 <artifactId>hadoop-mapreduce-client-core</artifactId>
134 <version>${hadoop.version}</version>
135 </dependency>
136 <dependency>
Michael Blowba358122016-10-13 19:56:03 -0400137 <groupId>org.apache.hadoop</groupId>
138 <artifactId>hadoop-hdfs</artifactId>
139 <version>${hadoop.version}</version>
140 <classifier>tests</classifier>
141 <scope>test</scope>
142 </dependency>
143 <dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700144 <groupId>commons-io</groupId>
145 <artifactId>commons-io</artifactId>
Michael Blow204b2952017-12-07 20:17:47 -0500146 <version>2.6</version>
147 </dependency>
148 <dependency>
Michael Blow6f75f052018-04-15 20:06:48 -0400149 <groupId>org.apache.commons</groupId>
150 <artifactId>commons-text</artifactId>
Michael Blowb8df1c52019-11-08 14:15:42 -0500151 <version>1.8</version>
Michael Blow6f75f052018-04-15 20:06:48 -0400152 </dependency>
153 <dependency>
Ian Maxond49bc6e2017-01-05 18:50:57 -0800154 <groupId>com.fasterxml.jackson.core</groupId>
155 <artifactId>jackson-databind</artifactId>
Michael Blowb5727c62020-03-05 21:16:35 -0500156 <version>2.10.3</version>
Ian Maxond49bc6e2017-01-05 18:50:57 -0800157 </dependency>
158 <dependency>
159 <groupId>com.fasterxml.jackson.core</groupId>
160 <artifactId>jackson-core</artifactId>
Michael Blowb5727c62020-03-05 21:16:35 -0500161 <version>2.10.3</version>
Ian Maxond49bc6e2017-01-05 18:50:57 -0800162 </dependency>
Michael Blow599ef8f2017-01-12 11:02:53 -0500163 <dependency>
Michael Blow204b2952017-12-07 20:17:47 -0500164 <groupId>com.fasterxml.jackson.core</groupId>
165 <artifactId>jackson-annotations</artifactId>
Michael Blowb5727c62020-03-05 21:16:35 -0500166 <version>2.10.3</version>
Michael Blow204b2952017-12-07 20:17:47 -0500167 </dependency>
168 <dependency>
Michael Blow599ef8f2017-01-12 11:02:53 -0500169 <groupId>com.google.guava</groupId>
170 <artifactId>guava</artifactId>
Michael Blowb5727c62020-03-05 21:16:35 -0500171 <version>28.2-jre</version>
Michael Blowe8e59d0e2019-09-26 19:28:12 -0400172 <exclusions>
173 <exclusion>
174 <groupId>com.google.code.findbugs</groupId>
175 <artifactId>jsr305</artifactId>
176 </exclusion>
177 <exclusion>
178 <groupId>com.google.guava</groupId>
179 <artifactId>listenablefuture</artifactId>
180 </exclusion>
181 <exclusion>
182 <groupId>org.checkerframework</groupId>
183 <artifactId>checker-qual</artifactId>
184 </exclusion>
185 <exclusion>
186 <groupId>com.google.j2objc</groupId>
187 <artifactId>j2objc-annotations</artifactId>
188 </exclusion>
189 <exclusion>
190 <groupId>org.codehaus.mojo</groupId>
191 <artifactId>animal-sniffer-annotations</artifactId>
192 </exclusion>
193 </exclusions>
Michael Blow599ef8f2017-01-12 11:02:53 -0500194 </dependency>
Michael Blow43b40b62017-01-14 17:03:12 -0500195 <dependency>
196 <groupId>org.apache.commons</groupId>
197 <artifactId>commons-lang3</artifactId>
Michael Blowb8df1c52019-11-08 14:15:42 -0500198 <version>3.9</version>
Michael Blow43b40b62017-01-14 17:03:12 -0500199 </dependency>
Michael Blow5e17af22017-02-02 10:00:44 -0500200 <dependency>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500201 <groupId>org.apache.commons</groupId>
202 <artifactId>commons-collections4</artifactId>
Michael Blowb8df1c52019-11-08 14:15:42 -0500203 <version>4.4</version>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500204 </dependency>
205 <dependency>
Till Westmann55dd6ff2017-02-19 20:18:51 -0800206 <groupId>org.apache.httpcomponents</groupId>
207 <artifactId>httpcore</artifactId>
Michael Blowb5727c62020-03-05 21:16:35 -0500208 <version>4.4.13</version>
Till Westmann55dd6ff2017-02-19 20:18:51 -0800209 </dependency>
210 <dependency>
211 <groupId>org.apache.httpcomponents</groupId>
212 <artifactId>httpclient</artifactId>
Michael Blowb5727c62020-03-05 21:16:35 -0500213 <version>4.5.11</version>
Till Westmann55dd6ff2017-02-19 20:18:51 -0800214 </dependency>
215 <dependency>
Michael Blow5e17af22017-02-02 10:00:44 -0500216 <groupId>org.apache.rat</groupId>
217 <artifactId>apache-rat-plugin</artifactId>
Michael Blow0f7e4872018-12-15 20:01:23 -0500218 <version>0.13</version>
Michael Blow5e17af22017-02-02 10:00:44 -0500219 </dependency>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500220 <dependency>
Till Westmann192478b2019-03-01 10:45:25 -0800221 <groupId>org.ini4j</groupId>
222 <artifactId>ini4j</artifactId>
223 <version>0.5.4</version>
224 </dependency>
225 <dependency>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500226 <groupId>args4j</groupId>
227 <artifactId>args4j</artifactId>
228 <version>2.33</version>
229 </dependency>
Murtadha Hubailaf4018d2017-12-15 17:56:38 +0300230 <dependency>
231 <groupId>org.apache.logging.log4j</groupId>
232 <artifactId>log4j-api</artifactId>
Michael Blowb5727c62020-03-05 21:16:35 -0500233 <version>2.13.1</version>
Murtadha Hubailaf4018d2017-12-15 17:56:38 +0300234 </dependency>
235 <dependency>
236 <groupId>org.apache.logging.log4j</groupId>
237 <artifactId>log4j-core</artifactId>
Michael Blowb5727c62020-03-05 21:16:35 -0500238 <version>2.13.1</version>
Murtadha Hubailaf4018d2017-12-15 17:56:38 +0300239 </dependency>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800240 <dependency>
241 <groupId>org.mockito</groupId>
242 <artifactId>mockito-all</artifactId>
243 <version>2.0.2-beta</version>
244 </dependency>
Michael Blow3477a2b2018-10-04 17:17:35 -0400245 <dependency>
246 <groupId>javax.xml.bind</groupId>
247 <artifactId>jaxb-api</artifactId>
248 <version>2.3.0</version>
249 </dependency>
Michael Blowb8df1c52019-11-08 14:15:42 -0500250 <dependency>
251 <groupId>org.apache.maven</groupId>
252 <artifactId>maven-project</artifactId>
253 <version>2.2.1</version>
254 </dependency>
Michael Blowb5727c62020-03-05 21:16:35 -0500255 <dependency>
256 <groupId>org.apache.maven</groupId>
257 <artifactId>maven-model</artifactId>
258 <version>3.6.3</version>
259 </dependency>
260 <dependency>
261 <groupId>org.apache.maven</groupId>
262 <artifactId>maven-artifact</artifactId>
263 <version>3.6.3</version>
264 </dependency>
265 <dependency>
266 <groupId>org.apache.maven</groupId>
267 <artifactId>maven-compat</artifactId>
268 <version>3.6.3</version>
269 </dependency>
270 <dependency>
271 <groupId>org.apache.maven</groupId>
272 <artifactId>maven-core</artifactId>
273 <version>3.6.3</version>
274 </dependency>
275 <dependency>
276 <groupId>org.apache.maven</groupId>
277 <artifactId>maven-plugin-api</artifactId>
278 <version>3.6.3</version>
279 </dependency>
Michael Blowad092f52020-04-10 15:16:13 -0400280 <dependency>
281 <groupId>org.apache.maven</groupId>
282 <artifactId>maven-model</artifactId>
283 <version>3.6.3</version>
284 </dependency>
285 <dependency>
286 <groupId>org.apache.maven</groupId>
287 <artifactId>maven-artifact</artifactId>
288 <version>3.6.3</version>
289 </dependency>
290 <dependency>
291 <groupId>org.apache.maven</groupId>
292 <artifactId>maven-compat</artifactId>
293 <version>3.6.3</version>
294 </dependency>
295 <dependency>
296 <groupId>org.apache.maven</groupId>
297 <artifactId>maven-core</artifactId>
298 <version>3.6.3</version>
299 </dependency>
300 <dependency>
301 <groupId>org.apache.maven</groupId>
302 <artifactId>maven-plugin-api</artifactId>
303 <version>3.6.3</version>
304 </dependency>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700305 </dependencies>
306 </dependencyManagement>
vinayakbe5add8a2012-10-06 19:00:14 +0000307 <build>
308 <plugins>
309 <plugin>
Michael Blowba358122016-10-13 19:56:03 -0400310 <groupId>org.apache.maven.plugins</groupId>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500311 <artifactId>maven-jar-plugin</artifactId>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500312 <configuration>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500313 <excludes combine.children="append">
Michael Blowc96bb1f2017-01-16 16:31:54 -0500314 <exclude>**/DEPENDENCIES</exclude>
315 </excludes>
Michael Blow38ca9622018-02-28 11:44:43 -0500316 <archive>
Michael Blowaed96f02019-03-01 18:47:19 -0500317 <addMavenDescriptor>false</addMavenDescriptor>
Michael Blow38ca9622018-02-28 11:44:43 -0500318 <manifest>
319 <addDefaultImplementationEntries>false</addDefaultImplementationEntries>
320 <addDefaultSpecificationEntries>false</addDefaultSpecificationEntries>
321 </manifest>
322 <manifestEntries>
323 <Implementation-Title>${implementation.title}</Implementation-Title>
324 <Implementation-URL>${implementation.url}</Implementation-URL>
325 <Implementation-Version>${implementation.version}</Implementation-Version>
326 <Implementation-Vendor>${implementation.vendor}</Implementation-Vendor>
327 </manifestEntries>
328 </archive>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500329 </configuration>
330 </plugin>
331 <plugin>
332 <groupId>org.apache.maven.plugins</groupId>
Michael Blowba358122016-10-13 19:56:03 -0400333 <artifactId>maven-dependency-plugin</artifactId>
Michael Blowba358122016-10-13 19:56:03 -0400334 <configuration>
335 <failOnWarning>true</failOnWarning>
336 <outputXML>true</outputXML>
337 </configuration>
338 <executions>
339 <execution>
340 <phase>process-test-classes</phase>
341 <goals>
342 <goal>analyze-only</goal>
343 </goals>
344 </execution>
345 </executions>
346 </plugin>
347 <plugin>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700348 <groupId>org.apache.rat</groupId>
349 <artifactId>apache-rat-plugin</artifactId>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700350 <executions>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700351 <execution>
352 <phase>validate</phase>
353 <goals>
354 <goal>check</goal>
355 </goals>
356 </execution>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700357 </executions>
358 <configuration>
Michael Blow5e17af22017-02-02 10:00:44 -0500359 <addDefaultLicenseMatchers>false</addDefaultLicenseMatchers>
360 <consoleOutput>true</consoleOutput>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700361 <licenses>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800362 <license implementation="org.apache.rat.analysis.license.ApacheSoftwareLicense20" />
Ian Maxon137fc3b2015-06-30 16:23:48 -0700363 </licenses>
364 <licenseFamilies>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800365 <licenseFamily implementation="org.apache.rat.license.Apache20LicenseFamily" />
Ian Maxon137fc3b2015-06-30 16:23:48 -0700366 </licenseFamilies>
Michael Blow5e17af22017-02-02 10:00:44 -0500367 <excludeSubProjects>true</excludeSubProjects>
Michael Blowe7aec9c2017-04-28 17:08:45 -0400368 <excludes combine.children="append">
369 <exclude>**/*.iml</exclude>
370 </excludes>
Ian Maxon137fc3b2015-06-30 16:23:48 -0700371 </configuration>
372 </plugin>
373 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700374 <groupId>org.apache.maven.plugins</groupId>
375 <artifactId>maven-surefire-plugin</artifactId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700376 <configuration>
377 <failIfNoTests>false</failIfNoTests>
378 <forkCount>1</forkCount>
Chris Hilleryd2c1a8a2014-02-21 01:03:02 -0800379 <reuseForks>false</reuseForks>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800380 <argLine>-enableassertions -Xmx2048m -Dfile.encoding=UTF-8 -Xdebug
Murtadha Hubailc7eb0c52018-05-21 18:01:55 +0300381 -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n ${coverageArgLine}
Michael Blowb4c1fb02016-05-09 15:41:00 -0700382 </argLine>
Murtadha Hubail06ca2792018-01-16 00:12:27 +0300383 <systemPropertyVariables>
384 <log4j.configurationFile>${testLog4jConfigFile}</log4j.configurationFile>
385 </systemPropertyVariables>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700386 <includes>
Michael Blowe30c9d32018-01-20 09:42:19 -0500387 <include>${test.includes}</include>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700388 </includes>
Michael Blow4c7b5bf2017-03-06 21:55:58 -0500389 <excludes combine.children="append">
Michael Blowe30c9d32018-01-20 09:42:19 -0500390 <exclude>${test.excludes}</exclude>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800391 </excludes>
Michael Blowdd920be2017-06-07 15:04:33 -0400392 <skipTests>${skip.surefire.tests}</skipTests>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700393 </configuration>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700394 </plugin>
395 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700396 <groupId>org.apache.maven.plugins</groupId>
Murtadha Hubail06ca2792018-01-16 00:12:27 +0300397 <artifactId>maven-failsafe-plugin</artifactId>
398 <configuration>
399 <systemPropertyVariables>
400 <log4j.configurationFile>${testLog4jConfigFile}</log4j.configurationFile>
401 </systemPropertyVariables>
402 </configuration>
403 </plugin>
404 <plugin>
405 <groupId>org.apache.maven.plugins</groupId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700406 <artifactId>maven-compiler-plugin</artifactId>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700407 <configuration>
Michael Blowcedd9612018-07-25 13:25:02 -0400408 <source>${source.jdk.version}</source>
409 <target>${target.jdk.version}</target>
Michael Blow2b057012017-12-07 22:20:39 -0500410 <compilerArgument>-Xlint:${javac.xlint.value}</compilerArgument>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700411 </configuration>
vinayakbe5add8a2012-10-06 19:00:14 +0000412 </plugin>
Ian Maxonb165aca2016-03-17 18:21:57 -0700413 <plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700414 <groupId>org.apache.maven.plugins</groupId>
415 <artifactId>maven-remote-resources-plugin</artifactId>
416 <executions>
417 <execution>
418 <goals>
419 <goal>process</goal>
420 </goals>
421 <configuration>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500422 <resourceBundles>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700423 <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700424 </resourceBundles>
Michael Blowc96bb1f2017-01-16 16:31:54 -0500425 <properties>
426 <projectName>Apache Hyracks - ${project.name}</projectName>
427 </properties>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700428 </configuration>
429 </execution>
430 </executions>
Ian Maxon9e37c962015-11-25 07:38:37 -0800431 </plugin>
Michael Blowd1e2a992016-06-14 12:27:46 -0400432 <plugin>
433 <groupId>org.apache.maven.plugins</groupId>
434 <artifactId>maven-checkstyle-plugin</artifactId>
Michael Blow6a2a4362019-03-27 14:31:16 -0400435 <version>3.0.0</version>
Michael Blowd1e2a992016-06-14 12:27:46 -0400436 <executions>
437 <execution>
438 <id>verify-style</id>
Michael Blow6a2a4362019-03-27 14:31:16 -0400439 <phase>process-sources</phase>
Michael Blowd1e2a992016-06-14 12:27:46 -0400440 <goals>
441 <goal>check</goal>
442 </goals>
443 </execution>
444 </executions>
445 <configuration>
446 <logViolationsToConsole>true</logViolationsToConsole>
447 <checkstyleRules>
448 <module name="Checker">
449 <!-- Checks for whitespace -->
450 <!-- See http://checkstyle.sf.net/config_whitespace.html -->
Michael Blow380b0a22016-08-02 13:05:52 -0400451 <module name="FileTabCharacter" />
Michael Blow6a2a4362019-03-27 14:31:16 -0400452 <module name="TreeWalker">
453 <module name="AvoidStarImport">
454 <property name="allowStaticMemberImports" value="true"/>
455 </module>
456 </module>
Michael Blowd1e2a992016-06-14 12:27:46 -0400457 </module>
458 </checkstyleRules>
Michael Blowd6cf6412016-06-30 02:44:35 -0400459 <includes>**/*.java,**/*.jj</includes>
460 <resourceIncludes>**/*.properties,**/*.xml,**/*.xsd,**/*.sh</resourceIncludes>
Michael Blowd1e2a992016-06-14 12:27:46 -0400461 <sourceDirectories>${project.build.sourceDirectory},${project.build.testSourceDirectory}</sourceDirectories>
462 </configuration>
463 </plugin>
Michael Blowf53c1c62016-06-17 16:51:59 -0400464 <plugin>
465 <groupId>org.apache.maven.plugins</groupId>
466 <artifactId>maven-enforcer-plugin</artifactId>
Michael Blow918c5b12017-10-30 14:51:13 -0400467 <version>3.0.0-M1</version>
Michael Blowf53c1c62016-06-17 16:51:59 -0400468 <executions>
469 <execution>
470 <id>enforce-versions</id>
471 <goals>
472 <goal>enforce</goal>
473 </goals>
474 <configuration>
475 <rules>
476 <requireMavenVersion>
477 <version>[3.3.9,)</version>
478 </requireMavenVersion>
479 </rules>
480 </configuration>
481 </execution>
482 </executions>
483 </plugin>
Michael Blow7626d162017-12-10 14:26:56 -0500484 <plugin>
485 <groupId>org.apache.maven.plugins</groupId>
486 <artifactId>maven-resources-plugin</artifactId>
487 <executions>
488 <execution>
489 <id>default-testResources</id>
490 <goals>
491 <goal>testResources</goal>
492 </goals>
493 <configuration>
494 <skip>${skip.testResources}</skip>
495 </configuration>
496 </execution>
497 </executions>
498 </plugin>
Michael Blowcb9ca972018-01-27 23:03:30 -0500499 <plugin>
500 <groupId>net.revelc.code.formatter</groupId>
501 <artifactId>formatter-maven-plugin</artifactId>
502 <executions>
503 <execution>
504 <goals>
505 <goal>${source-format.goal}</goal>
506 </goals>
507 </execution>
508 </executions>
509 <configuration>
510 <configFile>${root.dir}/AsterixCodeFormatProfile.xml</configFile>
511 <skipFormatting>${source-format.skip}</skipFormatting>
512 </configuration>
513 </plugin>
Michael Blowef85fb02019-03-22 13:40:35 -0400514 <plugin>
515 <groupId>net.revelc.code</groupId>
516 <artifactId>impsort-maven-plugin</artifactId>
517 <executions>
518 <execution>
519 <goals>
520 <goal>${import-sort.goal}</goal>
521 </goals>
522 </execution>
523 </executions>
524 <configuration>
525 <groups>java,javax,org,com,*</groups>
526 <removeUnused>true</removeUnused>
527 <skip>${import-sort.skip}</skip>
528 </configuration>
529 </plugin>
vinayakbe5add8a2012-10-06 19:00:14 +0000530 </plugins>
Yingyi Bud680e142016-03-18 16:41:46 -0700531 <pluginManagement>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700532 <plugins>
Michael Blow5e17af22017-02-02 10:00:44 -0500533 <plugin>
Till Westmann65da60c2017-02-22 13:17:49 -0800534 <groupId>org.apache.maven.plugins</groupId>
535 <artifactId>maven-compiler-plugin</artifactId>
Michael Blow3477a2b2018-10-04 17:17:35 -0400536 <version>3.8.0</version>
Till Westmann65da60c2017-02-22 13:17:49 -0800537 </plugin>
538 <plugin>
Michael Blow5e17af22017-02-02 10:00:44 -0500539 <groupId>org.apache.rat</groupId>
540 <artifactId>apache-rat-plugin</artifactId>
541 <version>0.12</version>
542 </plugin>
Dmitry Lychagin249be532017-05-31 14:57:14 -0700543 <plugin>
544 <groupId>net.revelc.code.formatter</groupId>
545 <artifactId>formatter-maven-plugin</artifactId>
546 <version>2.0.1</version>
547 </plugin>
Michael Blowef85fb02019-03-22 13:40:35 -0400548 <plugin>
549 <groupId>net.revelc.code</groupId>
550 <artifactId>impsort-maven-plugin</artifactId>
551 <version>1.2.0</version>
552 </plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700553 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
554 <plugin>
555 <groupId>org.eclipse.m2e</groupId>
556 <artifactId>lifecycle-mapping</artifactId>
557 <version>1.0.0</version>
558 <configuration>
559 <lifecycleMappingMetadata>
560 <pluginExecutions>
561 <pluginExecution>
562 <pluginExecutionFilter>
563 <groupId>org.apache.rat</groupId>
564 <artifactId>apache-rat-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400565 <versionRange>[0.0,)</versionRange>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700566 <goals>
567 <goal>check</goal>
568 </goals>
569 </pluginExecutionFilter>
570 <action>
Michael Blow380b0a22016-08-02 13:05:52 -0400571 <ignore />
Michael Blowb4c1fb02016-05-09 15:41:00 -0700572 </action>
573 </pluginExecution>
Michael Blow8f2cf242016-06-30 01:45:39 -0400574 <pluginExecution>
575 <pluginExecutionFilter>
576 <groupId>org.apache.maven.plugins</groupId>
577 <artifactId>maven-checkstyle-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400578 <versionRange>[0.0,)</versionRange>
Michael Blow8f2cf242016-06-30 01:45:39 -0400579 <goals>
580 <goal>check</goal>
581 </goals>
582 </pluginExecutionFilter>
583 <action>
Michael Blow380b0a22016-08-02 13:05:52 -0400584 <ignore />
Michael Blow8f2cf242016-06-30 01:45:39 -0400585 </action>
586 </pluginExecution>
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700587 <pluginExecution>
588 <pluginExecutionFilter>
589 <groupId>org.apache.maven.plugins</groupId>
590 <artifactId>maven-dependency-plugin</artifactId>
Michael Blow09f958c2017-08-20 17:02:19 -0400591 <versionRange>[0.0,)</versionRange>
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700592 <goals>
593 <goal>analyze-only</goal>
594 </goals>
595 </pluginExecutionFilter>
596 <action>
Ian Maxondef643d2017-01-18 18:31:11 -0800597 <ignore />
Taewoo Kim6ae219d2016-10-19 17:32:35 -0700598 </action>
599 </pluginExecution>
Taewoo Kima252d782018-01-30 13:29:07 -0800600 <pluginExecution>
601 <pluginExecutionFilter>
Abdullah Alamoudi4ff6a362018-02-12 09:24:15 -0800602 <groupId>net.revelc.code.formatter</groupId>
603 <artifactId>formatter-maven-plugin</artifactId>
604 <versionRange>[2.0.1,)</versionRange>
605 <goals>
606 <goal>format</goal>
607 </goals>
608 </pluginExecutionFilter>
609 <action>
610 <ignore></ignore>
611 </action>
Taewoo Kima252d782018-01-30 13:29:07 -0800612 </pluginExecution>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700613 </pluginExecutions>
614 </lifecycleMappingMetadata>
615 </configuration>
616 </plugin>
Ian Maxon99fed932017-02-09 19:11:39 -0800617 <plugin>
Michael Blowa7fad192017-03-09 22:10:19 -0500618 <groupId>org.codehaus.mojo</groupId>
619 <artifactId>versions-maven-plugin</artifactId>
Michael Blow0aae1832017-10-29 11:59:47 -0400620 <version>2.5</version>
Ian Maxon99fed932017-02-09 19:11:39 -0800621 </plugin>
622 <plugin>
Michael Blowa7fad192017-03-09 22:10:19 -0500623 <groupId>org.apache.maven.plugins</groupId>
624 <artifactId>maven-scm-plugin</artifactId>
625 <version>1.9.5</version>
626 </plugin>
627 <plugin>
628 <groupId>org.codehaus.mojo</groupId>
629 <artifactId>appassembler-maven-plugin</artifactId>
630 <version>2.0.0</version>
Ian Maxon99fed932017-02-09 19:11:39 -0800631 </plugin>
Michael Blow10a74862017-05-23 16:55:39 -0400632 <plugin>
633 <groupId>org.apache.maven.plugins</groupId>
634 <artifactId>maven-surefire-plugin</artifactId>
Michael Blowaebe2c52018-06-10 14:18:53 -0400635 <version>2.21.0</version>
Michael Blow10a74862017-05-23 16:55:39 -0400636 </plugin>
637 <plugin>
638 <groupId>org.apache.maven.plugins</groupId>
639 <artifactId>maven-failsafe-plugin</artifactId>
Michael Blowaebe2c52018-06-10 14:18:53 -0400640 <version>2.21.0</version>
Michael Blow10a74862017-05-23 16:55:39 -0400641 </plugin>
Michael Blow09f958c2017-08-20 17:02:19 -0400642 <plugin>
643 <groupId>org.apache.hyracks</groupId>
644 <artifactId>license-automation-plugin</artifactId>
645 <version>${project.version}</version>
646 </plugin>
Michael Blow0aae1832017-10-29 11:59:47 -0400647 <plugin>
648 <groupId>org.apache.maven.plugins</groupId>
649 <artifactId>maven-assembly-plugin</artifactId>
650 <version>3.1.0</version>
651 </plugin>
652 <plugin>
653 <groupId>org.apache.maven.plugins</groupId>
654 <artifactId>maven-antrun-plugin</artifactId>
655 <version>1.8</version>
656 </plugin>
657 <plugin>
658 <groupId>org.apache.maven.plugins</groupId>
659 <artifactId>maven-clean-plugin</artifactId>
660 <version>3.0.0</version>
661 </plugin>
662 <plugin>
663 <groupId>org.apache.maven.plugins</groupId>
664 <artifactId>maven-jar-plugin</artifactId>
665 <version>3.0.2</version>
666 </plugin>
667 <plugin>
668 <groupId>org.codehaus.mojo</groupId>
669 <artifactId>build-helper-maven-plugin</artifactId>
670 <version>3.0.0</version>
671 </plugin>
672 <plugin>
673 <groupId>org.apache.maven.plugins</groupId>
674 <artifactId>maven-dependency-plugin</artifactId>
Michael Blowcedd9612018-07-25 13:25:02 -0400675 <version>3.1.1</version>
Michael Blow0aae1832017-10-29 11:59:47 -0400676 </plugin>
Michael Blow918c5b12017-10-30 14:51:13 -0400677 <plugin>
678 <groupId>org.apache.maven.doxia</groupId>
679 <artifactId>doxia-maven-plugin</artifactId>
680 <version>1.1.4</version>
681 </plugin>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700682 </plugins>
683 </pluginManagement>
vinayakbe5add8a2012-10-06 19:00:14 +0000684 </build>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800685 <profiles>
686 <profile>
Michael Blow916dce42017-05-23 13:19:12 -0400687 <id>skip-assembly</id>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700688 <activation>
689 <file>
Michael Blow916dce42017-05-23 13:19:12 -0400690 <missing>src/main/assembly/source.xml</missing>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700691 </file>
692 </activation>
Michael Blow916dce42017-05-23 13:19:12 -0400693 <properties>
694 <skip.assembly>true</skip.assembly>
695 </properties>
696 </profile>
697 <profile>
698 <id>release</id>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700699 <build>
700 <plugins>
701 <plugin>
702 <groupId>org.apache.maven.plugins</groupId>
Michael Blow38ca9622018-02-28 11:44:43 -0500703 <artifactId>maven-jar-plugin</artifactId>
704 <configuration>
705 <archive>
Michael Blowaed96f02019-03-01 18:47:19 -0500706 <addMavenDescriptor>true</addMavenDescriptor>
Michael Blow38ca9622018-02-28 11:44:43 -0500707 <manifest>
708 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
709 <addDefaultSpecificationEntries>false</addDefaultSpecificationEntries>
710 </manifest>
711 </archive>
712 </configuration>
713 </plugin>
714 <plugin>
715 <groupId>org.apache.maven.plugins</groupId>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700716 <artifactId>maven-assembly-plugin</artifactId>
717 <!-- We override the configuration plugin to override the descriptor to use for building
718 the source release zip. Specifically, we would like to control the inclusions/exclusions.
719 For example, we exclude the KEYS file from the zip -->
720 <executions>
721 <execution>
722 <!-- Use this id to match the id mentioned in the assembly plugin configuration in
723 the apache parent POM under the apache-release profile -->
724 <id>source-release-assembly</id>
725 <phase>package</phase>
726 <goals>
727 <goal>single</goal>
728 </goals>
729 <!-- combine.self should be override to replace the configuration in the parent POM -->
730 <configuration combine.self="override">
731 <descriptors>
732 <descriptor>src/main/assembly/source.xml</descriptor>
733 </descriptors>
Michael Blow916dce42017-05-23 13:19:12 -0400734 <skipAssembly>${skip.assembly}</skipAssembly>
Ian Maxon4c9260c2017-04-01 10:12:36 -0700735 </configuration>
736 </execution>
737 </executions>
738 </plugin>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700739 <plugin>
740 <groupId>org.apache.maven.plugins</groupId>
Ian Maxon99fed932017-02-09 19:11:39 -0800741 <artifactId>maven-gpg-plugin</artifactId>
742 <version>1.6</version>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700743 <executions>
744 <execution>
Ian Maxon99fed932017-02-09 19:11:39 -0800745 <id>sign-artifacts</id>
746 <phase>verify</phase>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700747 <goals>
Ian Maxon99fed932017-02-09 19:11:39 -0800748 <goal>sign</goal>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700749 </goals>
Chris Hillery1fda6bc2015-10-02 17:18:11 -0700750 </execution>
751 </executions>
752 </plugin>
753 </plugins>
754 </build>
755 </profile>
Ian Maxon5ae0df82015-10-14 10:45:19 -0700756 <profile>
Michael Blow7c15c132016-05-04 22:06:34 -0400757 <id>coverage</id>
758 <activation>
759 <property>
760 <name>coverage</name>
761 </property>
762 </activation>
763 <build>
764 <plugins>
765 <plugin>
766 <groupId>org.jacoco</groupId>
767 <artifactId>jacoco-maven-plugin</artifactId>
768 <version>${jacoco.version}</version>
769 <executions>
770 <execution>
771 <id>default-prepare-agent</id>
772 <goals>
773 <goal>prepare-agent</goal>
774 </goals>
775 <configuration>
776 <propertyName>coverageArgLine</propertyName>
777 </configuration>
778 </execution>
779 <execution>
780 <id>default-prepare-agent-integration</id>
781 <goals>
782 <goal>prepare-agent-integration</goal>
783 </goals>
784 <configuration>
785 <propertyName>coverageArgLine</propertyName>
786 </configuration>
787 </execution>
788 </executions>
789 </plugin>
790 </plugins>
791 </build>
792 <properties>
Michael Blow380b0a22016-08-02 13:05:52 -0400793 <coverage />
Michael Blow7c15c132016-05-04 22:06:34 -0400794 </properties>
795 </profile>
796 <profile>
797 <id>no-coverage</id>
798 <activation>
799 <property>
800 <name>!coverage</name>
801 </property>
802 </activation>
803 <properties>
Michael Blow380b0a22016-08-02 13:05:52 -0400804 <coverageArgLine />
Michael Blow7c15c132016-05-04 22:06:34 -0400805 </properties>
806 </profile>
807 <profile>
Michael Blow64d49fb2018-02-11 15:43:47 -0500808 <id>integration-tests-only</id>
809 <properties>
810 <test.includes/>
811 <failIfNoTests>false</failIfNoTests>
812 </properties>
813 </profile>
Michael Blowcedd9612018-07-25 13:25:02 -0400814 <profile>
815 <id>java8</id>
816 <activation>
Michael Blow0de90812019-08-23 16:27:29 -0400817 <jdk>[1.8,)</jdk>
Michael Blowcedd9612018-07-25 13:25:02 -0400818 </activation>
819 <properties>
820 <target.jdk.version>8</target.jdk.version>
821 </properties>
822 </profile>
823 <profile>
Michael Blowcedd9612018-07-25 13:25:02 -0400824 <id>java8-bootclasspath</id>
825 <activation>
826 <property>
827 <name>java8-bootclasspath</name>
828 </property>
829 </activation>
830 <properties>
831 <target.jdk.version>8</target.jdk.version>
832 </properties>
833 <build>
834 <plugins>
835 <plugin>
836 <groupId>org.apache.maven.plugins</groupId>
837 <artifactId>maven-compiler-plugin</artifactId>
838 <configuration>
839 <compilerArgs combine.children="append">
840 <arg>-bootclasspath</arg>
841 <arg>${java8-bootclasspath}</arg>
842 </compilerArgs>
843 </configuration>
844 </plugin>
845 </plugins>
846 </build>
847 </profile>
Chris Hilleryc9d8f922014-03-06 01:44:19 -0800848 </profiles>
vinayakbe5add8a2012-10-06 19:00:14 +0000849 <modules>
850 <module>hyracks</module>
vinayakb36016dc2012-10-09 06:10:12 +0000851 <module>algebricks</module>
Michael Blow43b40b62017-01-14 17:03:12 -0500852 <module>hyracks-fullstack-license</module>
vinayakbe5add8a2012-10-06 19:00:14 +0000853 </modules>
Michael Blow3477a2b2018-10-04 17:17:35 -0400854</project>