blob: 2996e7f61285460a3b7b7dda8e75c1f0e368c906 [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>
Dmitry Lychagind934ea82022-03-30 11:50:50 -070024 <version>0.9.8-SNAPSHOT</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>
29 <version>18</version>
30 <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>
75 <jackson-core.version>2.12.4</jackson-core.version>
76 <junit.version>4.13</junit.version>
Dmitry Lychaginb9a7be22021-10-06 09:33:42 -070077 </properties>
Dmitry Lychaginf024b412021-10-11 10:31:08 -070078
Dmitry Lychaginb9a7be22021-10-06 09:33:42 -070079 <build>
Dmitry Lychaginf024b412021-10-11 10:31:08 -070080 <plugins>
81 <plugin>
82 <groupId>org.apache.maven.plugins</groupId>
83 <artifactId>maven-jar-plugin</artifactId>
84 <configuration>
85 <excludes combine.children="append">
86 <exclude>**/DEPENDENCIES</exclude>
87 </excludes>
88 <archive>
89 <addMavenDescriptor>false</addMavenDescriptor>
90 <manifest>
91 <addDefaultImplementationEntries>false</addDefaultImplementationEntries>
92 <addDefaultSpecificationEntries>false</addDefaultSpecificationEntries>
93 </manifest>
94 <manifestEntries>
95 <Implementation-Title>${implementation.title}</Implementation-Title>
96 <Implementation-URL>${implementation.url}</Implementation-URL>
97 <Implementation-Version>${implementation.version}</Implementation-Version>
98 <Implementation-Vendor>${implementation.vendor}</Implementation-Vendor>
99 </manifestEntries>
100 </archive>
101 </configuration>
102 </plugin>
103 <plugin>
104 <groupId>org.apache.maven.plugins</groupId>
105 <artifactId>maven-dependency-plugin</artifactId>
106 <configuration>
107 <failOnWarning>true</failOnWarning>
108 <outputXML>true</outputXML>
109 </configuration>
110 <executions>
111 <execution>
112 <phase>process-test-classes</phase>
113 <goals>
114 <goal>analyze-only</goal>
115 </goals>
116 </execution>
117 </executions>
118 </plugin>
119 <plugin>
120 <groupId>org.apache.rat</groupId>
121 <artifactId>apache-rat-plugin</artifactId>
122 <executions>
123 <execution>
124 <phase>validate</phase>
125 <goals>
126 <goal>check</goal>
127 </goals>
128 </execution>
129 </executions>
130 <configuration>
131 <addDefaultLicenseMatchers>false</addDefaultLicenseMatchers>
132 <consoleOutput>true</consoleOutput>
133 <licenses>
134 <license implementation="org.apache.rat.analysis.license.ApacheSoftwareLicense20" />
135 </licenses>
136 <licenseFamilies>
137 <licenseFamily implementation="org.apache.rat.license.Apache20LicenseFamily" />
138 </licenseFamilies>
139 <excludeSubProjects>true</excludeSubProjects>
140 <excludes combine.children="append">
141 <exclude>**/*.iml</exclude>
142 </excludes>
143 </configuration>
144 </plugin>
145 <plugin>
146 <groupId>org.apache.maven.plugins</groupId>
147 <artifactId>maven-surefire-plugin</artifactId>
148 <configuration>
149 <failIfNoTests>false</failIfNoTests>
150 <forkCount>1</forkCount>
151 <reuseForks>false</reuseForks>
152 <argLine>-enableassertions -Xmx2048m -Dfile.encoding=UTF-8 -Xdebug
153 -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n ${coverageArgLine}
154 </argLine>
155 <systemPropertyVariables>
156 <log4j.configurationFile>${testLog4jConfigFile}</log4j.configurationFile>
157 </systemPropertyVariables>
158 <includes>
159 <include>${test.includes}</include>
160 </includes>
161 <excludes combine.children="append">
162 <exclude>${test.excludes}</exclude>
163 </excludes>
164 <skipTests>${skip.surefire.tests}</skipTests>
165 </configuration>
166 </plugin>
167 <plugin>
168 <groupId>org.apache.maven.plugins</groupId>
169 <artifactId>maven-failsafe-plugin</artifactId>
170 <configuration>
171 <systemPropertyVariables>
172 <log4j.configurationFile>${testLog4jConfigFile}</log4j.configurationFile>
173 </systemPropertyVariables>
174 </configuration>
175 </plugin>
176 <plugin>
177 <groupId>org.apache.maven.plugins</groupId>
178 <artifactId>maven-compiler-plugin</artifactId>
179 <configuration>
180 <source>${source.jdk.version}</source>
181 <target>${target.jdk.version}</target>
182 <compilerArgument>-Xlint:${javac.xlint.value}</compilerArgument>
183 </configuration>
184 </plugin>
185 <plugin>
186 <groupId>org.apache.maven.plugins</groupId>
187 <artifactId>maven-checkstyle-plugin</artifactId>
188 <version>3.0.0</version>
189 <executions>
190 <execution>
191 <id>verify-style</id>
192 <phase>process-sources</phase>
193 <goals>
194 <goal>check</goal>
195 </goals>
196 </execution>
197 </executions>
198 <configuration>
199 <logViolationsToConsole>true</logViolationsToConsole>
200 <checkstyleRules>
201 <module name="Checker">
202 <!-- Checks for whitespace -->
203 <!-- See http://checkstyle.sf.net/config_whitespace.html -->
204 <module name="FileTabCharacter" />
205 <module name="TreeWalker">
206 <module name="AvoidStarImport">
207 <property name="allowStaticMemberImports" value="true"/>
208 </module>
209 </module>
210 </module>
211 </checkstyleRules>
212 <includes>**/*.java,**/*.jj</includes>
213 <resourceIncludes>**/*.properties,**/*.xml,**/*.xsd,**/*.sh</resourceIncludes>
214 <sourceDirectories>${project.build.sourceDirectory},${project.build.testSourceDirectory}</sourceDirectories>
215 </configuration>
216 </plugin>
217 <plugin>
218 <groupId>org.apache.maven.plugins</groupId>
219 <artifactId>maven-antrun-plugin</artifactId>
220 <executions>
221 <execution>
222 <id>check-pom-packaging</id>
223 <phase>validate</phase>
224 <goals>
225 <goal>run</goal>
226 </goals>
227 <configuration>
228 <exportAntProperties>true</exportAntProperties>
229 <target xmlns:unless="ant:unless">
230 <condition property="skipPomEnforcement">
231 <not><equals arg1="${project.packaging}" arg2="pom"/></not>
232 </condition>
233 <echo message="will enforce non-existence of test source dir due to ${project.packaging} packaging" unless:set="skipPomEnforcement"/>
234 </target>
235 </configuration>
236 </execution>
237 </executions>
238 </plugin>
239 <plugin>
240 <groupId>org.apache.maven.plugins</groupId>
241 <artifactId>maven-enforcer-plugin</artifactId>
242 <executions>
243 <execution>
244 <id>ensure-no-tests-for-pom-packaging</id>
245 <phase>validate</phase>
246 <goals>
247 <goal>enforce</goal>
248 </goals>
249 <configuration>
250 <rules>
251 <requireFilesDontExist>
252 <files>
253 <file>${project.build.testSourceDirectory}</file>
254 </files>
255 <message>#### Tests cannot exist in projects with '${project.packaging}' packaging!</message>
256 </requireFilesDontExist>
257 </rules>
258 <skip>${skipPomEnforcement}</skip>
259 </configuration>
260 </execution>
261 <execution>
262 <id>enforce-versions</id>
263 <goals>
264 <goal>enforce</goal>
265 </goals>
266 <configuration>
267 <rules>
268 <requireMavenVersion>
269 <version>[3.3.9,)</version>
270 </requireMavenVersion>
271 <requireJavaVersion>
272 <version>[11,)</version>
273 </requireJavaVersion>
274 </rules>
275 </configuration>
276 </execution>
277 <execution>
278 <id>ensure-no-duplicate-deps</id>
279 <goals>
280 <goal>enforce</goal>
281 </goals>
282 <configuration>
283 <rules>
284 <banDuplicatePomDependencyVersions/>
285 </rules>
286 </configuration>
287 </execution>
288 </executions>
289 </plugin>
290 <plugin>
291 <groupId>org.apache.maven.plugins</groupId>
292 <artifactId>maven-resources-plugin</artifactId>
293 <executions>
294 <execution>
295 <id>default-testResources</id>
296 <goals>
297 <goal>testResources</goal>
298 </goals>
299 <configuration>
300 <skip>${skip.testResources}</skip>
301 </configuration>
302 </execution>
303 </executions>
304 </plugin>
305 <plugin>
306 <groupId>net.revelc.code.formatter</groupId>
307 <artifactId>formatter-maven-plugin</artifactId>
308 <executions>
309 <execution>
310 <goals>
311 <goal>${source-format.goal}</goal>
312 </goals>
313 </execution>
314 </executions>
315 <configuration>
316 <configFile>${root.dir}/AsterixCodeFormatProfile.xml</configFile>
317 <skipFormatting>${source-format.skip}</skipFormatting>
318 </configuration>
319 </plugin>
320 <plugin>
321 <groupId>net.revelc.code</groupId>
322 <artifactId>impsort-maven-plugin</artifactId>
323 <executions>
324 <execution>
325 <goals>
326 <goal>${import-sort.goal}</goal>
327 </goals>
328 </execution>
329 </executions>
330 <configuration>
331 <groups>java,javax,org,com,*</groups>
332 <removeUnused>true</removeUnused>
333 <skip>${import-sort.skip}</skip>
334 </configuration>
335 </plugin>
336 </plugins>
Dmitry Lychaginb9a7be22021-10-06 09:33:42 -0700337 <pluginManagement>
338 <plugins>
339 <plugin>
340 <groupId>org.apache.maven.plugins</groupId>
Dmitry Lychaginf024b412021-10-11 10:31:08 -0700341 <artifactId>maven-compiler-plugin</artifactId>
342 <version>3.8.0</version>
343 </plugin>
344 <plugin>
345 <groupId>org.apache.rat</groupId>
346 <artifactId>apache-rat-plugin</artifactId>
347 <version>0.12</version>
348 </plugin>
349 <plugin>
350 <groupId>net.revelc.code.formatter</groupId>
351 <artifactId>formatter-maven-plugin</artifactId>
352 <version>2.0.1</version>
353 </plugin>
354 <plugin>
355 <groupId>net.revelc.code</groupId>
356 <artifactId>impsort-maven-plugin</artifactId>
357 <version>1.2.0</version>
358 </plugin>
359 <plugin>
360 <groupId>org.codehaus.mojo</groupId>
361 <artifactId>versions-maven-plugin</artifactId>
362 <version>2.5</version>
363 </plugin>
364 <plugin>
365 <groupId>org.apache.maven.plugins</groupId>
366 <artifactId>maven-scm-plugin</artifactId>
367 <version>1.9.5</version>
368 </plugin>
369 <plugin>
370 <groupId>org.apache.maven.plugins</groupId>
371 <artifactId>maven-surefire-plugin</artifactId>
372 <version>2.21.0</version>
373 </plugin>
374 <plugin>
375 <groupId>org.apache.maven.plugins</groupId>
376 <artifactId>maven-failsafe-plugin</artifactId>
377 <version>2.21.0</version>
378 </plugin>
379 <plugin>
380 <groupId>org.apache.maven.plugins</groupId>
381 <artifactId>maven-assembly-plugin</artifactId>
382 <version>3.1.0</version>
383 </plugin>
384 <plugin>
385 <groupId>org.apache.maven.plugins</groupId>
386 <artifactId>maven-antrun-plugin</artifactId>
387 <version>1.8</version>
388 </plugin>
389 <plugin>
390 <groupId>org.apache.maven.plugins</groupId>
391 <artifactId>maven-clean-plugin</artifactId>
392 <version>3.0.0</version>
393 </plugin>
394 <plugin>
395 <groupId>org.apache.maven.plugins</groupId>
396 <artifactId>maven-jar-plugin</artifactId>
397 <version>3.0.2</version>
398 </plugin>
399 <plugin>
400 <groupId>org.apache.maven.plugins</groupId>
401 <artifactId>maven-dependency-plugin</artifactId>
402 <version>3.1.2</version>
403 </plugin>
404 <plugin>
405 <groupId>org.codehaus.mojo</groupId>
406 <artifactId>exec-maven-plugin</artifactId>
407 <version>1.6.0</version>
408 </plugin>
409 <plugin>
410 <groupId>org.codehaus.mojo</groupId>
411 <artifactId>build-helper-maven-plugin</artifactId>
412 <version>3.0.0</version>
413 </plugin>
414 <plugin>
415 <groupId>org.apache.maven.plugins</groupId>
416 <artifactId>maven-enforcer-plugin</artifactId>
417 <version>3.0.0-M3</version>
418 </plugin>
419 <plugin>
420 <groupId>org.apache.maven.plugins</groupId>
Dmitry Lychaginb9a7be22021-10-06 09:33:42 -0700421 <artifactId>maven-shade-plugin</artifactId>
422 <version>3.2.4</version>
423 </plugin>
Dmitry Lychagin70139ba2022-02-23 13:19:13 -0800424 <plugin>
425 <groupId>org.apache.hyracks</groupId>
426 <artifactId>license-automation-plugin</artifactId>
427 <version>${hyracks.version}</version>
428 <configuration>
429 <argLine>-Xmx2048m</argLine>
430 </configuration>
431 </plugin>
Dmitry Lychaginb9a7be22021-10-06 09:33:42 -0700432 </plugins>
433 </pluginManagement>
434 </build>
Dmitry Lychaginf024b412021-10-11 10:31:08 -0700435
436 <dependencyManagement>
437 <dependencies>
438 <dependency>
439 <groupId>org.apache.commons</groupId>
440 <artifactId>commons-lang3</artifactId>
Dmitry Lychagin46179162021-10-27 15:49:48 -0700441 <version>${commons-lang3.version}</version>
Dmitry Lychaginf024b412021-10-11 10:31:08 -0700442 </dependency>
443 <dependency>
444 <groupId>org.apache.commons</groupId>
445 <artifactId>commons-collections4</artifactId>
Dmitry Lychagin46179162021-10-27 15:49:48 -0700446 <version>${commons-collections4.version}</version>
Dmitry Lychaginf024b412021-10-11 10:31:08 -0700447 </dependency>
448 <dependency>
449 <groupId>org.apache.httpcomponents</groupId>
450 <artifactId>httpcore</artifactId>
Dmitry Lychagin46179162021-10-27 15:49:48 -0700451 <version>${httpcore.version}</version>
Dmitry Lychaginf024b412021-10-11 10:31:08 -0700452 </dependency>
453 <dependency>
454 <groupId>org.apache.httpcomponents</groupId>
455 <artifactId>httpclient</artifactId>
Dmitry Lychagin46179162021-10-27 15:49:48 -0700456 <version>${httpclient.version}</version>
Dmitry Lychaginf024b412021-10-11 10:31:08 -0700457 </dependency>
458 <dependency>
459 <groupId>com.fasterxml.jackson.core</groupId>
460 <artifactId>jackson-databind</artifactId>
Dmitry Lychagin46179162021-10-27 15:49:48 -0700461 <version>${jackson-core.version}</version>
Dmitry Lychaginf024b412021-10-11 10:31:08 -0700462 </dependency>
463 <dependency>
464 <groupId>com.fasterxml.jackson.core</groupId>
465 <artifactId>jackson-core</artifactId>
Dmitry Lychagin46179162021-10-27 15:49:48 -0700466 <version>${jackson-core.version}</version>
Dmitry Lychaginf024b412021-10-11 10:31:08 -0700467 </dependency>
468 <dependency>
469 <groupId>com.fasterxml.jackson.core</groupId>
470 <artifactId>jackson-annotations</artifactId>
Dmitry Lychagin46179162021-10-27 15:49:48 -0700471 <version>${jackson-core.version}</version>
Dmitry Lychaginf024b412021-10-11 10:31:08 -0700472 </dependency>
473 <dependency>
474 <groupId>junit</groupId>
475 <artifactId>junit</artifactId>
Dmitry Lychagin46179162021-10-27 15:49:48 -0700476 <version>${junit.version}</version>
Dmitry Lychaginf024b412021-10-11 10:31:08 -0700477 </dependency>
478 </dependencies>
479 </dependencyManagement>
480
Dmitry Lychaginb9a7be22021-10-06 09:33:42 -0700481 <modules>
482 <module>asterix-jdbc-core</module>
483 <module>asterix-jdbc-driver</module>
Dmitry Lychaginf024b412021-10-11 10:31:08 -0700484 <module>asterix-jdbc-taco</module>
Dmitry Lychaginb9a7be22021-10-06 09:33:42 -0700485 </modules>
486</project>