presto-jdbc
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.facebook.presto</groupId>
<artifactId>presto-jdbc</artifactId>
<version>0.291</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<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/maven-v4_0_0.xsd">
<parent>
<artifactId>presto-root</artifactId>
<groupId>com.facebook.presto</groupId>
<version>0.291</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>presto-jdbc</artifactId>
<name>presto-jdbc</name>
<build>
<plugins>
<plugin>
<groupId>org.basepom.maven</groupId>
<artifactId>duplicate-finder-maven-plugin</artifactId>
<configuration>
<ignoredResourcePatterns>
<ignoredResourcePattern>parquet.thrift</ignoredResourcePattern>
<ignoredResourcePattern>about.html</ignoredResourcePattern>
<ignoredResourcePattern>mozilla/public-suffix-list.txt</ignoredResourcePattern>
</ignoredResourcePatterns>
<ignoredClassPatterns>
<ignoredClassPattern>shaded.parquet.it.unimi.dsi.fastutil.*</ignoredClassPattern>
<ignoredClassPattern>module-info</ignoredClassPattern>
<ignoredClassPattern>META-INF.versions.9.module-info</ignoredClassPattern>
</ignoredClassPatterns>
</configuration>
</plugin>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<artifactSet>
<excludes>
<exclude>com.facebook.presto:presto-ui</exclude>
</excludes>
</artifactSet>
<createSourcesJar>true</createSourcesJar>
<shadeSourcesContent>true</shadeSourcesContent>
<dependencyReducedPomLocation>${project.build.directory}/pom.xml</dependencyReducedPomLocation>
<relocations>
<relocation>
<pattern>com.facebook.presto.client</pattern>
<shadedPattern>${shadeBase}.client</shadedPattern>
</relocation>
<relocation>
<pattern>com.facebook.presto.spi</pattern>
<shadedPattern>${shadeBase}.spi</shadedPattern>
</relocation>
<relocation>
<pattern>com.facebook.presto.common</pattern>
<shadedPattern>${shadeBase}.common</shadedPattern>
</relocation>
<relocation>
<pattern>com.facebook.drift</pattern>
<shadedPattern>${shadeBase}.drift</shadedPattern>
</relocation>
<relocation>
<pattern>com.fasterxml.jackson</pattern>
<shadedPattern>${shadeBase}.jackson</shadedPattern>
</relocation>
<relocation>
<pattern>META-INF/versions/11/com.fasterxml.jackson</pattern>
<shadedPattern>META-INF/versions/11/${shadeBase}.jackson</shadedPattern>
</relocation>
<relocation>
<pattern>META-INF/versions/17/com.fasterxml.jackson</pattern>
<shadedPattern>META-INF/versions/17/${shadeBase}.jackson</shadedPattern>
</relocation>
<relocation>
<pattern>META-INF/versions/21/com.fasterxml.jackson</pattern>
<shadedPattern>META-INF/versions/21/${shadeBase}.jackson</shadedPattern>
</relocation>
<relocation>
<pattern>com.google.common</pattern>
<shadedPattern>${shadeBase}.guava</shadedPattern>
</relocation>
<relocation>
<pattern>com.google.thirdparty</pattern>
<shadedPattern>${shadeBase}.guava</shadedPattern>
</relocation>
<relocation>
<pattern>io.airlift</pattern>
<shadedPattern>${shadeBase}.io.airlift</shadedPattern>
</relocation>
<relocation>
<pattern>com.facebook.airlift</pattern>
<shadedPattern>${shadeBase}.com.facebook.airlift</shadedPattern>
</relocation>
<relocation>
<pattern>javax.annotation</pattern>
<shadedPattern>${shadeBase}.javax.annotation</shadedPattern>
</relocation>
<relocation>
<pattern>javax.inject</pattern>
<shadedPattern>${shadeBase}.inject</shadedPattern>
</relocation>
<relocation>
<pattern>org.openjdk.jol</pattern>
<shadedPattern>${shadeBase}.jol</shadedPattern>
</relocation>
<relocation>
<pattern>org.joda.time</pattern>
<shadedPattern>${shadeBase}.joda.time</shadedPattern>
</relocation>
<relocation>
<pattern>okhttp3</pattern>
<shadedPattern>${shadeBase}.okhttp3</shadedPattern>
</relocation>
<relocation>
<pattern>okio</pattern>
<shadedPattern>${shadeBase}.okio</shadedPattern>
</relocation>
<relocation>
<pattern>com.google.api</pattern>
<shadedPattern>${shadeBase}.google.api</shadedPattern>
</relocation>
<relocation>
<pattern>com.google.auth</pattern>
<shadedPattern>${shadeBase}.google.auth</shadedPattern>
</relocation>
<relocation>
<pattern>com.google.j2objc</pattern>
<shadedPattern>${shadeBase}.j2objc</shadedPattern>
</relocation>
<relocation>
<pattern>org.apache.commons</pattern>
<shadedPattern>${shadeBase}.apache.commons</shadedPattern>
</relocation>
<relocation>
<pattern>org.apache.http</pattern>
<shadedPattern>${shadeBase}.apache.http</shadedPattern>
</relocation>
<relocation>
<pattern>org.apache.httpcomponents</pattern>
<shadedPattern>${shadeBase}.apache.httpcomponents</shadedPattern>
</relocation>
</relocations>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/maven/**</exclude>
<exclude>META-INF/services/com.fasterxml.**</exclude>
<exclude>META-INF.versions.9.module-info</exclude>
<exclude>LICENSE</exclude>
</excludes>
</filter>
</filters>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>com.facebook.presto</groupId>
<artifactId>presto-function-namespace-managers</artifactId>
<version>0.291</version>
<scope>test</scope>
<exclusions>
<exclusion>
<artifactId>bootstrap</artifactId>
<groupId>com.facebook.airlift</groupId>
</exclusion>
<exclusion>
<artifactId>configuration</artifactId>
<groupId>com.facebook.airlift</groupId>
</exclusion>
<exclusion>
<artifactId>drift-client</artifactId>
<groupId>com.facebook.drift</groupId>
</exclusion>
<exclusion>
<artifactId>drift-transport-spi</artifactId>
<groupId>com.facebook.drift</groupId>
</exclusion>
<exclusion>
<artifactId>presto-plugin-toolkit</artifactId>
<groupId>com.facebook.presto</groupId>
</exclusion>
<exclusion>
<artifactId>presto-thrift-api</artifactId>
<groupId>com.facebook.presto</groupId>
</exclusion>
<exclusion>
<artifactId>javax.annotation-api</artifactId>
<groupId>javax.annotation</groupId>
</exclusion>
<exclusion>
<artifactId>validation-api</artifactId>
<groupId>javax.validation</groupId>
</exclusion>
<exclusion>
<artifactId>mysql-connector-java</artifactId>
<groupId>mysql</groupId>
</exclusion>
<exclusion>
<artifactId>jdbi3-core</artifactId>
<groupId>org.jdbi</groupId>
</exclusion>
<exclusion>
<artifactId>jdbi3-sqlobject</artifactId>
<groupId>org.jdbi</groupId>
</exclusion>
<exclusion>
<artifactId>drift-transport-netty</artifactId>
<groupId>com.facebook.drift</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.facebook.presto</groupId>
<artifactId>presto-tests</artifactId>
<version>0.291</version>
<scope>test</scope>
<exclusions>
<exclusion>
<artifactId>presto-main</artifactId>
<groupId>com.facebook.presto</groupId>
</exclusion>
<exclusion>
<artifactId>presto-analyzer</artifactId>
<groupId>com.facebook.presto</groupId>
</exclusion>
<exclusion>
<artifactId>discovery-server</artifactId>
<groupId>com.facebook.airlift.discovery</groupId>
</exclusion>
<exclusion>
<artifactId>node</artifactId>
<groupId>com.facebook.airlift</groupId>
</exclusion>
<exclusion>
<artifactId>stats</artifactId>
<groupId>com.facebook.airlift</groupId>
</exclusion>
<exclusion>
<artifactId>tpch</artifactId>
<groupId>io.airlift.tpch</groupId>
</exclusion>
<exclusion>
<artifactId>jmxutils</artifactId>
<groupId>org.weakref</groupId>
</exclusion>
<exclusion>
<artifactId>commons-math3</artifactId>
<groupId>org.apache.commons</groupId>
</exclusion>
<exclusion>
<artifactId>h2</artifactId>
<groupId>com.h2database</groupId>
</exclusion>
<exclusion>
<artifactId>http-client</artifactId>
<groupId>com.facebook.airlift</groupId>
</exclusion>
<exclusion>
<artifactId>javax.ws.rs-api</artifactId>
<groupId>javax.ws.rs</groupId>
</exclusion>
<exclusion>
<artifactId>drift-codec</artifactId>
<groupId>com.facebook.drift</groupId>
</exclusion>
<exclusion>
<artifactId>javax.servlet-api</artifactId>
<groupId>javax.servlet</groupId>
</exclusion>
<exclusion>
<artifactId>bootstrap</artifactId>
<groupId>com.facebook.airlift</groupId>
</exclusion>
<exclusion>
<artifactId>configuration</artifactId>
<groupId>com.facebook.airlift</groupId>
</exclusion>
<exclusion>
<artifactId>javax.annotation-api</artifactId>
<groupId>javax.annotation</groupId>
</exclusion>
<exclusion>
<artifactId>jdbi3-core</artifactId>
<groupId>org.jdbi</groupId>
</exclusion>
<exclusion>
<artifactId>jdbi3-sqlobject</artifactId>
<groupId>org.jdbi</groupId>
</exclusion>
<exclusion>
<artifactId>drift-transport-netty</artifactId>
<groupId>com.facebook.drift</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.facebook.presto</groupId>
<artifactId>presto-testng-services</artifactId>
<version>0.291</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.facebook.presto</groupId>
<artifactId>presto-main</artifactId>
<version>0.291</version>
<scope>test</scope>
<exclusions>
<exclusion>
<artifactId>presto-ui</artifactId>
<groupId>com.facebook.presto</groupId>
</exclusion>
<exclusion>
<artifactId>esri-geometry-api</artifactId>
<groupId>com.esri.geometry</groupId>
</exclusion>
<exclusion>
<artifactId>presto-geospatial-toolkit</artifactId>
<groupId>com.facebook.presto</groupId>
</exclusion>
<exclusion>
<artifactId>fastutil</artifactId>
<groupId>it.unimi.dsi</groupId>
</exclusion>
<exclusion>
<artifactId>presto-bytecode</artifactId>
<groupId>com.facebook.presto</groupId>
</exclusion>
<exclusion>
<artifactId>presto-matching</artifactId>
<groupId>com.facebook.presto</groupId>
</exclusion>
<exclusion>
<artifactId>presto-memory-context</artifactId>
<groupId>com.facebook.presto</groupId>
</exclusion>
<exclusion>
<artifactId>presto-expressions</artifactId>
<groupId>com.facebook.presto</groupId>
</exclusion>
<exclusion>
<artifactId>aircompressor</artifactId>
<groupId>io.airlift</groupId>
</exclusion>
<exclusion>
<artifactId>discovery</artifactId>
<groupId>com.facebook.airlift</groupId>
</exclusion>
<exclusion>
<artifactId>event</artifactId>
<groupId>com.facebook.airlift</groupId>
</exclusion>
<exclusion>
<artifactId>http-server</artifactId>
<groupId>com.facebook.airlift</groupId>
</exclusion>
<exclusion>
<artifactId>jaxrs</artifactId>
<groupId>com.facebook.airlift</groupId>
</exclusion>
<exclusion>
<artifactId>jmx</artifactId>
<groupId>com.facebook.airlift</groupId>
</exclusion>
<exclusion>
<artifactId>jmx-http</artifactId>
<groupId>com.facebook.airlift</groupId>
</exclusion>
<exclusion>
<artifactId>resolver</artifactId>
<groupId>io.airlift.resolver</groupId>
</exclusion>
<exclusion>
<artifactId>trace-token</artifactId>
<groupId>com.facebook.airlift</groupId>
</exclusion>
<exclusion>
<artifactId>joni</artifactId>
<groupId>io.airlift</groupId>
</exclusion>
<exclusion>
<artifactId>drift-server</artifactId>
<groupId>com.facebook.drift</groupId>
</exclusion>
<exclusion>
<artifactId>drift-protocol</artifactId>
<groupId>com.facebook.drift</groupId>
</exclusion>
<exclusion>
<artifactId>drift-codec-utils</artifactId>
<groupId>com.facebook.drift</groupId>
</exclusion>
<exclusion>
<artifactId>re2j-td</artifactId>
<groupId>com.teradata</groupId>
</exclusion>
<exclusion>
<artifactId>jackson-module-afterburner</artifactId>
<groupId>com.fasterxml.jackson.module</groupId>
</exclusion>
<exclusion>
<artifactId>json-path</artifactId>
<groupId>com.jayway.jsonpath</groupId>
</exclusion>
<exclusion>
<artifactId>aether-api</artifactId>
<groupId>org.sonatype.aether</groupId>
</exclusion>
<exclusion>
<artifactId>asm</artifactId>
<groupId>org.ow2.asm</groupId>
</exclusion>
<exclusion>
<artifactId>jgrapht-core</artifactId>
<groupId>org.jgrapht</groupId>
</exclusion>
<exclusion>
<artifactId>pcollections</artifactId>
<groupId>org.pcollections</groupId>
</exclusion>
<exclusion>
<artifactId>lucene-analyzers-common</artifactId>
<groupId>org.apache.lucene</groupId>
</exclusion>
<exclusion>
<artifactId>jts-core</artifactId>
<groupId>org.locationtech.jts</groupId>
</exclusion>
<exclusion>
<artifactId>datasketches-memory</artifactId>
<groupId>org.apache.datasketches</groupId>
</exclusion>
<exclusion>
<artifactId>datasketches-java</artifactId>
<groupId>org.apache.datasketches</groupId>
</exclusion>
<exclusion>
<artifactId>netty-transport</artifactId>
<groupId>io.netty</groupId>
</exclusion>
<exclusion>
<artifactId>netty-common</artifactId>
<groupId>io.netty</groupId>
</exclusion>
<exclusion>
<artifactId>commons-math3</artifactId>
<groupId>org.apache.commons</groupId>
</exclusion>
<exclusion>
<artifactId>presto-analyzer</artifactId>
<groupId>com.facebook.presto</groupId>
</exclusion>
<exclusion>
<artifactId>node</artifactId>
<groupId>com.facebook.airlift</groupId>
</exclusion>
<exclusion>
<artifactId>stats</artifactId>
<groupId>com.facebook.airlift</groupId>
</exclusion>
<exclusion>
<artifactId>drift-transport-spi</artifactId>
<groupId>com.facebook.drift</groupId>
</exclusion>
<exclusion>
<artifactId>drift-client</artifactId>
<groupId>com.facebook.drift</groupId>
</exclusion>
<exclusion>
<artifactId>drift-codec</artifactId>
<groupId>com.facebook.drift</groupId>
</exclusion>
<exclusion>
<artifactId>discovery-server</artifactId>
<groupId>com.facebook.airlift.discovery</groupId>
</exclusion>
<exclusion>
<artifactId>javax.servlet-api</artifactId>
<groupId>javax.servlet</groupId>
</exclusion>
<exclusion>
<artifactId>javax.ws.rs-api</artifactId>
<groupId>javax.ws.rs</groupId>
</exclusion>
<exclusion>
<artifactId>jmxutils</artifactId>
<groupId>org.weakref</groupId>
</exclusion>
<exclusion>
<artifactId>validation-api</artifactId>
<groupId>javax.validation</groupId>
</exclusion>
<exclusion>
<artifactId>http-client</artifactId>
<groupId>com.facebook.airlift</groupId>
</exclusion>
<exclusion>
<artifactId>presto-plugin-toolkit</artifactId>
<groupId>com.facebook.presto</groupId>
</exclusion>
<exclusion>
<artifactId>bootstrap</artifactId>
<groupId>com.facebook.airlift</groupId>
</exclusion>
<exclusion>
<artifactId>configuration</artifactId>
<groupId>com.facebook.airlift</groupId>
</exclusion>
<exclusion>
<artifactId>drift-transport-netty</artifactId>
<groupId>com.facebook.drift</groupId>
</exclusion>
<exclusion>
<artifactId>javax.annotation-api</artifactId>
<groupId>javax.annotation</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.facebook.presto</groupId>
<artifactId>presto-parser</artifactId>
<version>0.291</version>
<scope>test</scope>
<exclusions>
<exclusion>
<artifactId>antlr4-runtime</artifactId>
<groupId>org.antlr</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.facebook.presto</groupId>
<artifactId>presto-tpch</artifactId>
<version>0.291</version>
<scope>test</scope>
<exclusions>
<exclusion>
<artifactId>tpch</artifactId>
<groupId>io.airlift.tpch</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.facebook.presto</groupId>
<artifactId>presto-hive-hadoop2</artifactId>
<version>0.291</version>
<scope>test</scope>
<exclusions>
<exclusion>
<artifactId>presto-hive</artifactId>
<groupId>com.facebook.presto</groupId>
</exclusion>
<exclusion>
<artifactId>presto-hive-common</artifactId>
<groupId>com.facebook.presto</groupId>
</exclusion>
<exclusion>
<artifactId>presto-hive-metastore</artifactId>
<groupId>com.facebook.presto</groupId>
</exclusion>
<exclusion>
<artifactId>hadoop-apache2</artifactId>
<groupId>com.facebook.presto.hadoop</groupId>
</exclusion>
<exclusion>
<artifactId>presto-cache</artifactId>
<groupId>com.facebook.presto</groupId>
</exclusion>
<exclusion>
<artifactId>stats</artifactId>
<groupId>com.facebook.airlift</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.facebook.presto</groupId>
<artifactId>presto-blackhole</artifactId>
<version>0.291</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>7.5</version>
<scope>test</scope>
<exclusions>
<exclusion>
<artifactId>junit</artifactId>
<groupId>junit</groupId>
</exclusion>
<exclusion>
<artifactId>guice</artifactId>
<groupId>com.google.inject</groupId>
</exclusion>
<exclusion>
<artifactId>slf4j-api</artifactId>
<groupId>org.slf4j</groupId>
</exclusion>
<exclusion>
<artifactId>jcommander</artifactId>
<groupId>com.beust</groupId>
</exclusion>
<exclusion>
<artifactId>jquery</artifactId>
<groupId>org.webjars</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>3.8.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.facebook.airlift</groupId>
<artifactId>testing</artifactId>
<version>0.216</version>
<scope>test</scope>
<exclusions>
<exclusion>
<artifactId>bval-jsr</artifactId>
<groupId>org.apache.bval</groupId>
</exclusion>
<exclusion>
<artifactId>validation-api</artifactId>
<groupId>javax.validation</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.facebook.airlift</groupId>
<artifactId>log-manager</artifactId>
<version>0.216</version>
<scope>test</scope>
<exclusions>
<exclusion>
<artifactId>slf4j-jdk14</artifactId>
<groupId>org.slf4j</groupId>
</exclusion>
<exclusion>
<artifactId>log4j-over-slf4j</artifactId>
<groupId>org.slf4j</groupId>
</exclusion>
<exclusion>
<artifactId>jcl-over-slf4j</artifactId>
<groupId>org.slf4j</groupId>
</exclusion>
<exclusion>
<artifactId>logback-core</artifactId>
<groupId>ch.qos.logback</groupId>
</exclusion>
<exclusion>
<artifactId>jmxutils</artifactId>
<groupId>org.weakref</groupId>
</exclusion>
<exclusion>
<artifactId>configuration</artifactId>
<groupId>com.facebook.airlift</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.facebook.airlift</groupId>
<artifactId>concurrent</artifactId>
<version>0.216</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.inject</groupId>
<artifactId>guice</artifactId>
<version>5.1.0</version>
<scope>test</scope>
<exclusions>
<exclusion>
<artifactId>aopalliance</artifactId>
<groupId>aopalliance</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>mockwebserver</artifactId>
<version>3.9.0</version>
<scope>test</scope>
<exclusions>
<exclusion>
<artifactId>bcprov-jdk15on</artifactId>
<groupId>org.bouncycastle</groupId>
</exclusion>
<exclusion>
<artifactId>junit</artifactId>
<groupId>junit</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-api</artifactId>
<version>0.11.5</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-impl</artifactId>
<version>0.11.5</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-jackson</artifactId>
<version>0.11.5</version>
<scope>test</scope>
</dependency>
</dependencies>
<properties>
<air.main.basedir>${project.parent.basedir}</air.main.basedir>
<shadeBase>com.facebook.presto.jdbc.internal</shadeBase>
</properties>
</project>