<?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.147</version> <relativePath>../../pom.xml</relativePath> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>presto-jdbc</artifactId> <name>presto-jdbc</name> <build> <plugins> <plugin> <artifactId>maven-shade-plugin</artifactId> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> <configuration> <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.fasterxml.jackson</pattern> <shadedPattern>${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}.airlift</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>org.eclipse.jetty</pattern> <shadedPattern>${shadeBase}.jetty</shadedPattern> </relocation> </relocations> <filters> <filter> <artifact>*:*</artifact> <excludes> <exclude>META-INF/maven/**</exclude> <exclude>META-INF/*.xml</exclude> <exclude>LICENSE</exclude> </excludes> </filter> <filter> <artifact>com.fasterxml.jackson.*:*</artifact> <excludes> <exclude>META-INF/**</exclude> </excludes> </filter> <filter> <artifact>com.google.code.findbugs:annotations</artifact> <excludes> <exclude>**</exclude> </excludes> </filter> <filter> <artifact>javax.validation:validation-api</artifact> <excludes> <exclude>**</exclude> </excludes> </filter> <filter> <artifact>io.airlift</artifact> <excludes> <exclude>jetty-logging.properties</exclude> </excludes> </filter> <filter> <artifact>org.eclipse.jetty:jetty-util</artifact> <excludes> <exclude>jetty-dir.css</exclude> </excludes> </filter> <filter> <artifact>org.eclipse.jetty:*</artifact> <excludes> <exclude>about.html</exclude> </excludes> </filter> <filter> <artifact>net.sf.opencsv:opencsv</artifact> <excludes> <exclude>**</exclude> </excludes> </filter> </filters> </configuration> </execution> </executions> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>com.facebook.presto</groupId> <artifactId>presto-main</artifactId> <version>0.147</version> <scope>test</scope> <exclusions> <exclusion> <artifactId>fastutil</artifactId> <groupId>it.unimi.dsi</groupId> </exclusion> <exclusion> <artifactId>commons-math3</artifactId> <groupId>org.apache.commons</groupId> </exclusion> <exclusion> <artifactId>presto-parser</artifactId> <groupId>com.facebook.presto</groupId> </exclusion> <exclusion> <artifactId>presto-bytecode</artifactId> <groupId>com.facebook.presto</groupId> </exclusion> <exclusion> <artifactId>bootstrap</artifactId> <groupId>io.airlift</groupId> </exclusion> <exclusion> <artifactId>node</artifactId> <groupId>io.airlift</groupId> </exclusion> <exclusion> <artifactId>configuration</artifactId> <groupId>io.airlift</groupId> </exclusion> <exclusion> <artifactId>discovery</artifactId> <groupId>io.airlift</groupId> </exclusion> <exclusion> <artifactId>event</artifactId> <groupId>io.airlift</groupId> </exclusion> <exclusion> <artifactId>http-server</artifactId> <groupId>io.airlift</groupId> </exclusion> <exclusion> <artifactId>jaxrs</artifactId> <groupId>io.airlift</groupId> </exclusion> <exclusion> <artifactId>jmx</artifactId> <groupId>io.airlift</groupId> </exclusion> <exclusion> <artifactId>jmx-http</artifactId> <groupId>io.airlift</groupId> </exclusion> <exclusion> <artifactId>resolver</artifactId> <groupId>io.airlift.resolver</groupId> </exclusion> <exclusion> <artifactId>trace-token</artifactId> <groupId>io.airlift</groupId> </exclusion> <exclusion> <artifactId>joni</artifactId> <groupId>io.airlift</groupId> </exclusion> <exclusion> <artifactId>discovery-server</artifactId> <groupId>io.airlift.discovery</groupId> </exclusion> <exclusion> <artifactId>javax.servlet-api</artifactId> <groupId>javax.servlet</groupId> </exclusion> <exclusion> <artifactId>javax.annotation-api</artifactId> <groupId>javax.annotation</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>guice</artifactId> <groupId>com.google.inject</groupId> </exclusion> <exclusion> <artifactId>guice-multibindings</artifactId> <groupId>com.google.inject.extensions</groupId> </exclusion> <exclusion> <artifactId>aether-api</artifactId> <groupId>org.sonatype.aether</groupId> </exclusion> <exclusion> <artifactId>asm-all</artifactId> <groupId>org.ow2.asm</groupId> </exclusion> <exclusion> <artifactId>jgrapht-core</artifactId> <groupId>org.jgrapht</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>com.facebook.presto</groupId> <artifactId>presto-tpch</artifactId> <version>0.147</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-blackhole</artifactId> <version>0.147</version> <scope>test</scope> </dependency> <dependency> <groupId>org.testng</groupId> <artifactId>testng</artifactId> <version>6.8.21</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>bsh</artifactId> <groupId>org.beanshell</groupId> </exclusion> <exclusion> <artifactId>jcommander</artifactId> <groupId>com.beust</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>io.airlift</groupId> <artifactId>testing</artifactId> <version>0.128</version> <scope>test</scope> <exclusions> <exclusion> <artifactId>bval-jsr303</artifactId> <groupId>org.apache.bval</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>io.airlift</groupId> <artifactId>log-manager</artifactId> <version>0.128</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>configuration</artifactId> <groupId>io.airlift</groupId> </exclusion> <exclusion> <artifactId>guice</artifactId> <groupId>com.google.inject</groupId> </exclusion> <exclusion> <artifactId>jmxutils</artifactId> <groupId>org.weakref</groupId> </exclusion> </exclusions> </dependency> </dependencies> <properties> <air.main.basedir>${project.parent.basedir}</air.main.basedir> <shadeBase>com.facebook.presto.jdbc.internal</shadeBase> </properties> </project>
<dependency> <groupId>com.facebook.presto</groupId> <artifactId>presto-jdbc</artifactId> <version>0.147</version> </dependency>
com.facebook.presto:presto-jdbc:0.147