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