| <?xml version="1.0"?> |
| <!-- |
| |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| |
| --> |
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <artifactId>drill-contrib-parent</artifactId> |
| <groupId>org.apache.drill.contrib</groupId> |
| <version>1.21.0-SNAPSHOT</version> |
| </parent> |
| |
| <artifactId>drill-jdbc-storage</artifactId> |
| |
| <name>Drill : Contrib : Storage : JDBC</name> |
| |
| <properties> |
| <mysql.connector.version>8.0.28</mysql.connector.version> |
| <clickhouse.jdbc.version>0.3.1</clickhouse.jdbc.version> |
| <h2.version>2.1.210</h2.version> |
| <postgresql.version>42.4.3</postgresql.version> |
| <mssql-jdbc.version>9.2.0.jre8</mssql-jdbc.version> |
| <jtds.version>1.3.1</jtds.version> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.drill.exec</groupId> |
| <artifactId>drill-java-exec</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.zaxxer</groupId> |
| <artifactId>HikariCP</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>${calcite.groupId}</groupId> |
| <artifactId>calcite-server</artifactId> |
| <version>${calcite.version}</version> |
| </dependency> |
| <!-- Test dependencies --> |
| <dependency> |
| <groupId>org.apache.drill.exec</groupId> |
| <artifactId>drill-java-exec</artifactId> |
| <classifier>tests</classifier> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.drill</groupId> |
| <artifactId>drill-common</artifactId> |
| <classifier>tests</classifier> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.drill.contrib.data</groupId> |
| <artifactId>tpch-sample-data</artifactId> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>mysql</groupId> |
| <artifactId>mysql-connector-java</artifactId> |
| <version>${mysql.connector.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.postgresql</groupId> |
| <artifactId>postgresql</artifactId> |
| <version>${postgresql.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <!-- Even if our unit tests of MSSQL use the jtds driver, the mssql-jdbc |
| driver is still required by testcontainers. --> |
| <groupId>com.microsoft.sqlserver</groupId> |
| <artifactId>mssql-jdbc</artifactId> |
| <version>${mssql-jdbc.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>net.sourceforge.jtds</groupId> |
| <artifactId>jtds</artifactId> |
| <version>${jtds.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.testcontainers</groupId> |
| <artifactId>mysql</artifactId> |
| <version>${testcontainers.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>ru.yandex.clickhouse</groupId> |
| <artifactId>clickhouse-jdbc</artifactId> |
| <version>${clickhouse.jdbc.version}</version> |
| <scope>test</scope> |
| <exclusions> |
| <exclusion> |
| <artifactId>commons-logging</artifactId> |
| <groupId>commons-logging</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.testcontainers</groupId> |
| <artifactId>clickhouse</artifactId> |
| <version>${testcontainers.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.testcontainers</groupId> |
| <artifactId>postgresql</artifactId> |
| <version>${testcontainers.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.testcontainers</groupId> |
| <artifactId>mssqlserver</artifactId> |
| <version>${testcontainers.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>com.h2database</groupId> |
| <artifactId>h2</artifactId> |
| <version>${h2.version}</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <!-- |
| Forking multiple processes can cause race conditions with the initialization of |
| the test databases. |
| --> |
| <forkCount combine.self="override">1</forkCount> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| </project> |