blob: cfca7f0d95a0e7f5d7f17a9188b71a902a4e9ff3 [file] [log] [blame]
Dmitry Lychaginb9a7be22021-10-06 09:33:42 -07001<!--
2 ! 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.
18 !-->
19<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">
21 <modelVersion>4.0.0</modelVersion>
Dmitry Lychaginf024b412021-10-11 10:31:08 -070022 <groupId>org.apache.asterix</groupId>
Dmitry Lychaginb9a7be22021-10-06 09:33:42 -070023 <artifactId>apache-asterixdb-jdbc</artifactId>
Ian Maxona8701472022-05-17 16:41:03 -070024 <version>0.9.8</version>
Dmitry Lychaginb9a7be22021-10-06 09:33:42 -070025 <packaging>pom</packaging>
Dmitry Lychaginb9a7be22021-10-06 09:33:42 -070026 <parent>
Dmitry Lychaginf024b412021-10-11 10:31:08 -070027 <groupId>org.apache</groupId>
28 <artifactId>apache</artifactId>
Ian Maxona8701472022-05-17 16:41:03 -070029 <version>26</version>
Dmitry Lychaginf024b412021-10-11 10:31:08 -070030 <relativePath />
Dmitry Lychaginb9a7be22021-10-06 09:33:42 -070031 </parent>
32 <licenses>
33 <license>
34 <name>Apache License, Version 2.0</name>
35 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
36 <distribution>repo</distribution>
37 <comments>A business-friendly OSS license</comments>
38 </license>
39 </licenses>
40 <scm>
41 <connection>scm:git:https://github.com/apache/asterixdb-clients</connection>
42 <developerConnection>scm:git:ssh://asterix-gerrit.ics.uci.edu:29418/asterixdb-clients</developerConnection>
43 <url>https://github.com/apache/asterixdb</url>
44 <tag>HEAD</tag>
45 </scm>
46 <properties>
47 <root.dir>${basedir}</root.dir>
48 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
49 <file.encoding>UTF-8</file.encoding>
50 <source.jdk.version>8</source.jdk.version>
51 <target.jdk.version>8</target.jdk.version>
Dmitry Lychaginf024b412021-10-11 10:31:08 -070052 <javac.xlint.value>all</javac.xlint.value>
53 <jvm.extraargs />
54 <source-format.goal>format</source-format.goal>
55 <source-format.skip>false</source-format.skip>
56 <import-sort.goal>sort</import-sort.goal>
57 <import-sort.skip>false</import-sort.skip>
58 <maven.test.skip>false</maven.test.skip>
59 <skipTests>false</skipTests>
60 <skip.surefire.tests>${skipTests}</skip.surefire.tests>
61 <skip.testResources>${maven.test.skip}</skip.testResources>
62 <test.includes>${global.test.includes}</test.includes>
63 <test.excludes>${global.test.excludes}</test.excludes>
Dmitry Lychaginb9a7be22021-10-06 09:33:42 -070064
65 <implementation.title>Apache AsterixDB JDBC - ${project.name}</implementation.title>
66 <implementation.url>https://asterixdb.apache.org/</implementation.url>
67 <implementation.version>${project.version}</implementation.version>
68 <implementation.vendor>${project.organization.name}</implementation.vendor>
Dmitry Lychagin46179162021-10-27 15:49:48 -070069
Dmitry Lychagin70139ba2022-02-23 13:19:13 -080070 <hyracks.version>0.3.7.1</hyracks.version>
Dmitry Lychagin46179162021-10-27 15:49:48 -070071 <commons-lang3.version>3.12.0</commons-lang3.version>
72 <commons-collections4.version>4.4</commons-collections4.version>
73 <httpcore.version>4.4.14</httpcore.version>
74 <httpclient.version>4.5.13</httpclient.version>
Dmitry Lychagind36c16b2022-04-29 17:28:30 -070075 <jackson-core.version>2.13.2</jackson-core.version>
76 <jackson-annotations.version>2.13.2</jackson-annotations.version>
77 <jackson-databind.version>2.13.2.2</jackson-databind.version>
Dmitry Lychagin84692392022-04-29 17:54:32 -070078 <junit.version>4.13.2</junit.version>
Dmitry Lychaginb9a7be22021-10-06 09:33:42 -070079 </properties>
Dmitry Lychaginf024b412021-10-11 10:31:08 -070080
Dmitry Lychaginb9a7be22021-10-06 09:33:42 -070081 <build>
Dmitry Lychaginf024b412021-10-11 10:31:08 -070082 <plugins>
83 <plugin>
84 <groupId>org.apache.maven.plugins</groupId>
85 <artifactId>maven-jar-plugin</artifactId>
86 <configuration>
87 <excludes combine.children="append">
88 <exclude>**/DEPENDENCIES</exclude>
89 </excludes>
90 <archive>
91 <addMavenDescriptor>false</addMavenDescriptor>
92 <manifest>
93 <addDefaultImplementationEntries>false</addDefaultImplementationEntries>
94 <addDefaultSpecificationEntries>false</addDefaultSpecificationEntries>
95 </manifest>
96 <manifestEntries>
97 <Implementation-Title>${implementation.title}</Implementation-Title>
98 <Implementation-URL>${implementation.url}</Implementation-URL>
99 <Implementation-Version>${implementation.version}</Implementation-Version>
100 <Implementation-Vendor>${implementation.vendor}</Implementation-Vendor>
101 </manifestEntries>
102 </archive>
103 </configuration>
104 </plugin>
105 <plugin>
106 <groupId>org.apache.maven.plugins</groupId>
107 <artifactId>maven-dependency-plugin</artifactId>
108 <configuration>
109 <failOnWarning>true</failOnWarning>
110 <outputXML>true</outputXML>
111 </configuration>
112 <executions>
113 <execution>
114 <phase>process-test-classes</phase>
115 <goals>
116 <goal>analyze-only</goal>
117 </goals>
118 </execution>
119 </executions>
120 </plugin>
121 <plugin>
122 <groupId>org.apache.rat</groupId>
123 <artifactId>apache-rat-plugin</artifactId>
124 <executions>
125 <execution>
126 <phase>validate</phase>
127 <goals>
128 <goal>check</goal>
129 </goals>
130 </execution>
131 </executions>
132 <configuration>
133 <addDefaultLicenseMatchers>false</addDefaultLicenseMatchers>
134 <consoleOutput>true</consoleOutput>
135 <licenses>
136 <license implementation="org.apache.rat.analysis.license.ApacheSoftwareLicense20" />
137 </licenses>
138 <licenseFamilies>
139 <licenseFamily implementation="org.apache.rat.license.Apache20LicenseFamily" />
140 </licenseFamilies>
141 <excludeSubProjects>true</excludeSubProjects>
142 <excludes combine.children="append">
143 <exclude>**/*.iml</exclude>
144 </excludes>
145 </configuration>
146 </plugin>
147 <plugin>
148 <groupId>org.apache.maven.plugins</groupId>
149 <artifactId>maven-surefire-plugin</artifactId>
150 <configuration>
151 <failIfNoTests>false</failIfNoTests>
152 <forkCount>1</forkCount>
153 <reuseForks>false</reuseForks>
154 <argLine>-enableassertions -Xmx2048m -Dfile.encoding=UTF-8 -Xdebug
155 -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n ${coverageArgLine}
156 </argLine>
157 <systemPropertyVariables>
158 <log4j.configurationFile>${testLog4jConfigFile}</log4j.configurationFile>
159 </systemPropertyVariables>
160 <includes>
161 <include>${test.includes}</include>
162 </includes>
163 <excludes combine.children="append">
164 <exclude>${test.excludes}</exclude>
165 </excludes>
166 <skipTests>${skip.surefire.tests}</skipTests>
167 </configuration>
168 </plugin>
169 <plugin>
170 <groupId>org.apache.maven.plugins</groupId>
171 <artifactId>maven-failsafe-plugin</artifactId>
172 <configuration>
173 <systemPropertyVariables>
174 <log4j.configurationFile>${testLog4jConfigFile}</log4j.configurationFile>
175 </systemPropertyVariables>
176 </configuration>
177 </plugin>
178 <plugin>
179 <groupId>org.apache.maven.plugins</groupId>
180 <artifactId>maven-compiler-plugin</artifactId>
181 <configuration>
182 <source>${source.jdk.version}</source>
183 <target>${target.jdk.version}</target>
184 <compilerArgument>-Xlint:${javac.xlint.value}</compilerArgument>
185 </configuration>
186 </plugin>
187 <plugin>
188 <groupId>org.apache.maven.plugins</groupId>
189 <artifactId>maven-checkstyle-plugin</artifactId>
190 <version>3.0.0</version>
191 <executions>
192 <execution>
193 <id>verify-style</id>
194 <phase>process-sources</phase>
195 <goals>
196 <goal>check</goal>
197 </goals>
198 </execution>
199 </executions>
200 <configuration>
201 <logViolationsToConsole>true</logViolationsToConsole>
202 <checkstyleRules>
203 <module name="Checker">
204 <!-- Checks for whitespace -->
205 <!-- See http://checkstyle.sf.net/config_whitespace.html -->
206 <module name="FileTabCharacter" />
207 <module name="TreeWalker">
208 <module name="AvoidStarImport">
209 <property name="allowStaticMemberImports" value="true"/>
210 </module>
211 </module>
212 </module>
213 </checkstyleRules>
214 <includes>**/*.java,**/*.jj</includes>
215 <resourceIncludes>**/*.properties,**/*.xml,**/*.xsd,**/*.sh</resourceIncludes>
216 <sourceDirectories>${project.build.sourceDirectory},${project.build.testSourceDirectory}</sourceDirectories>
217 </configuration>
218 </plugin>
219 <plugin>
220 <groupId>org.apache.maven.plugins</groupId>
221 <artifactId>maven-antrun-plugin</artifactId>
222 <executions>
223 <execution>
224 <id>check-pom-packaging</id>
225 <phase>validate</phase>
226 <goals>
227 <goal>run</goal>
228 </goals>
229 <configuration>
230 <exportAntProperties>true</exportAntProperties>
231 <target xmlns:unless="ant:unless">
232 <condition property="skipPomEnforcement">
233 <not><equals arg1="${project.packaging}" arg2="pom"/></not>
234 </condition>
235 <echo message="will enforce non-existence of test source dir due to ${project.packaging} packaging" unless:set="skipPomEnforcement"/>
236 </target>
237 </configuration>
238 </execution>
239 </executions>
240 </plugin>
241 <plugin>
242 <groupId>org.apache.maven.plugins</groupId>
243 <artifactId>maven-enforcer-plugin</artifactId>
244 <executions>
245 <execution>
246 <id>ensure-no-tests-for-pom-packaging</id>
247 <phase>validate</phase>
248 <goals>
249 <goal>enforce</goal>
250 </goals>
251 <configuration>
252 <rules>
253 <requireFilesDontExist>
254 <files>
255 <file>${project.build.testSourceDirectory}</file>
256 </files>
257 <message>#### Tests cannot exist in projects with '${project.packaging}' packaging!</message>
258 </requireFilesDontExist>
259 </rules>
260 <skip>${skipPomEnforcement}</skip>
261 </configuration>
262 </execution>
263 <execution>
264 <id>enforce-versions</id>
265 <goals>
266 <goal>enforce</goal>
267 </goals>
268 <configuration>
269 <rules>
270 <requireMavenVersion>
271 <version>[3.3.9,)</version>
272 </requireMavenVersion>
273 <requireJavaVersion>
274 <version>[11,)</version>
275 </requireJavaVersion>
276 </rules>
277 </configuration>
278 </execution>
279 <execution>
280 <id>ensure-no-duplicate-deps</id>
281 <goals>
282 <goal>enforce</goal>
283 </goals>
284 <configuration>
285 <rules>
286 <banDuplicatePomDependencyVersions/>
287 </rules>
288 </configuration>
289 </execution>
290 </executions>
291 </plugin>
292 <plugin>
293 <groupId>org.apache.maven.plugins</groupId>
294 <artifactId>maven-resources-plugin</artifactId>
295 <executions>
296 <execution>
297 <id>default-testResources</id>
298 <goals>
299 <goal>testResources</goal>
300 </goals>
301 <configuration>
302 <skip>${skip.testResources}</skip>
303 </configuration>
304 </execution>
305 </executions>
306 </plugin>
307 <plugin>
308 <groupId>net.revelc.code.formatter</groupId>
309 <artifactId>formatter-maven-plugin</artifactId>
310 <executions>
311 <execution>
312 <goals>
313 <goal>${source-format.goal}</goal>
314 </goals>
315 </execution>
316 </executions>
317 <configuration>
318 <configFile>${root.dir}/AsterixCodeFormatProfile.xml</configFile>
319 <skipFormatting>${source-format.skip}</skipFormatting>
320 </configuration>
321 </plugin>
322 <plugin>
323 <groupId>net.revelc.code</groupId>
324 <artifactId>impsort-maven-plugin</artifactId>
325 <executions>
326 <execution>
327 <goals>
328 <goal>${import-sort.goal}</goal>
329 </goals>
330 </execution>
331 </executions>
332 <configuration>
333 <groups>java,javax,org,com,*</groups>
334 <removeUnused>true</removeUnused>
335 <skip>${import-sort.skip}</skip>
336 </configuration>
337 </plugin>
338 </plugins>
Dmitry Lychaginb9a7be22021-10-06 09:33:42 -0700339 <pluginManagement>
340 <plugins>
341 <plugin>
342 <groupId>org.apache.maven.plugins</groupId>
Dmitry Lychaginf024b412021-10-11 10:31:08 -0700343 <artifactId>maven-compiler-plugin</artifactId>
344 <version>3.8.0</version>
345 </plugin>
346 <plugin>
347 <groupId>org.apache.rat</groupId>
348 <artifactId>apache-rat-plugin</artifactId>
349 <version>0.12</version>
350 </plugin>
351 <plugin>
352 <groupId>net.revelc.code.formatter</groupId>
353 <artifactId>formatter-maven-plugin</artifactId>
354 <version>2.0.1</version>
355 </plugin>
356 <plugin>
357 <groupId>net.revelc.code</groupId>
358 <artifactId>impsort-maven-plugin</artifactId>
359 <version>1.2.0</version>
360 </plugin>
361 <plugin>
362 <groupId>org.codehaus.mojo</groupId>
363 <artifactId>versions-maven-plugin</artifactId>
364 <version>2.5</version>
365 </plugin>
366 <plugin>
367 <groupId>org.apache.maven.plugins</groupId>
368 <artifactId>maven-scm-plugin</artifactId>
369 <version>1.9.5</version>
370 </plugin>
371 <plugin>
372 <groupId>org.apache.maven.plugins</groupId>
373 <artifactId>maven-surefire-plugin</artifactId>
374 <version>2.21.0</version>
375 </plugin>
376 <plugin>
377 <groupId>org.apache.maven.plugins</groupId>
378 <artifactId>maven-failsafe-plugin</artifactId>
379 <version>2.21.0</version>
380 </plugin>
381 <plugin>
382 <groupId>org.apache.maven.plugins</groupId>
383 <artifactId>maven-assembly-plugin</artifactId>
384 <version>3.1.0</version>
385 </plugin>
386 <plugin>
387 <groupId>org.apache.maven.plugins</groupId>
388 <artifactId>maven-antrun-plugin</artifactId>
389 <version>1.8</version>
390 </plugin>
391 <plugin>
392 <groupId>org.apache.maven.plugins</groupId>
393 <artifactId>maven-clean-plugin</artifactId>
394 <version>3.0.0</version>
395 </plugin>
396 <plugin>
397 <groupId>org.apache.maven.plugins</groupId>
398 <artifactId>maven-jar-plugin</artifactId>
399 <version>3.0.2</version>
400 </plugin>
401 <plugin>
402 <groupId>org.apache.maven.plugins</groupId>
403 <artifactId>maven-dependency-plugin</artifactId>
404 <version>3.1.2</version>
405 </plugin>
406 <plugin>
407 <groupId>org.codehaus.mojo</groupId>
408 <artifactId>exec-maven-plugin</artifactId>
409 <version>1.6.0</version>
410 </plugin>
411 <plugin>
412 <groupId>org.codehaus.mojo</groupId>
413 <artifactId>build-helper-maven-plugin</artifactId>
414 <version>3.0.0</version>
415 </plugin>
416 <plugin>
417 <groupId>org.apache.maven.plugins</groupId>
418 <artifactId>maven-enforcer-plugin</artifactId>
419 <version>3.0.0-M3</version>
420 </plugin>
421 <plugin>
422 <groupId>org.apache.maven.plugins</groupId>
Dmitry Lychaginb9a7be22021-10-06 09:33:42 -0700423 <artifactId>maven-shade-plugin</artifactId>
424 <version>3.2.4</version>
425 </plugin>
Dmitry Lychagin70139ba2022-02-23 13:19:13 -0800426 <plugin>
427 <groupId>org.apache.hyracks</groupId>
428 <artifactId>license-automation-plugin</artifactId>
429 <version>${hyracks.version}</version>
430 <configuration>
431 <argLine>-Xmx2048m</argLine>
432 </configuration>
433 </plugin>
Dmitry Lychaginb9a7be22021-10-06 09:33:42 -0700434 </plugins>
435 </pluginManagement>
436 </build>
Dmitry Lychaginf024b412021-10-11 10:31:08 -0700437
438 <dependencyManagement>
439 <dependencies>
440 <dependency>
441 <groupId>org.apache.commons</groupId>
442 <artifactId>commons-lang3</artifactId>
Dmitry Lychagin46179162021-10-27 15:49:48 -0700443 <version>${commons-lang3.version}</version>
Dmitry Lychaginf024b412021-10-11 10:31:08 -0700444 </dependency>
445 <dependency>
446 <groupId>org.apache.commons</groupId>
447 <artifactId>commons-collections4</artifactId>
Dmitry Lychagin46179162021-10-27 15:49:48 -0700448 <version>${commons-collections4.version}</version>
Dmitry Lychaginf024b412021-10-11 10:31:08 -0700449 </dependency>
450 <dependency>
451 <groupId>org.apache.httpcomponents</groupId>
452 <artifactId>httpcore</artifactId>
Dmitry Lychagin46179162021-10-27 15:49:48 -0700453 <version>${httpcore.version}</version>
Dmitry Lychaginf024b412021-10-11 10:31:08 -0700454 </dependency>
455 <dependency>
456 <groupId>org.apache.httpcomponents</groupId>
457 <artifactId>httpclient</artifactId>
Dmitry Lychagin46179162021-10-27 15:49:48 -0700458 <version>${httpclient.version}</version>
Dmitry Lychaginf024b412021-10-11 10:31:08 -0700459 </dependency>
460 <dependency>
461 <groupId>com.fasterxml.jackson.core</groupId>
462 <artifactId>jackson-databind</artifactId>
Dmitry Lychagind36c16b2022-04-29 17:28:30 -0700463 <version>${jackson-databind.version}</version>
Dmitry Lychaginf024b412021-10-11 10:31:08 -0700464 </dependency>
465 <dependency>
466 <groupId>com.fasterxml.jackson.core</groupId>
467 <artifactId>jackson-core</artifactId>
Dmitry Lychagin46179162021-10-27 15:49:48 -0700468 <version>${jackson-core.version}</version>
Dmitry Lychaginf024b412021-10-11 10:31:08 -0700469 </dependency>
470 <dependency>
471 <groupId>com.fasterxml.jackson.core</groupId>
472 <artifactId>jackson-annotations</artifactId>
Dmitry Lychagind36c16b2022-04-29 17:28:30 -0700473 <version>${jackson-annotations.version}</version>
Dmitry Lychaginf024b412021-10-11 10:31:08 -0700474 </dependency>
475 <dependency>
476 <groupId>junit</groupId>
477 <artifactId>junit</artifactId>
Dmitry Lychagin46179162021-10-27 15:49:48 -0700478 <version>${junit.version}</version>
Dmitry Lychaginf024b412021-10-11 10:31:08 -0700479 </dependency>
480 </dependencies>
481 </dependencyManagement>
482
Dmitry Lychaginb9a7be22021-10-06 09:33:42 -0700483 <modules>
484 <module>asterix-jdbc-core</module>
485 <module>asterix-jdbc-driver</module>
Dmitry Lychaginf024b412021-10-11 10:31:08 -0700486 <module>asterix-jdbc-taco</module>
Dmitry Lychaginb9a7be22021-10-06 09:33:42 -0700487 </modules>
Ian Maxona8701472022-05-17 16:41:03 -0700488</project>