<?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>aws-athena-query-federation</artifactId>
    <groupId>com.amazonaws</groupId>
    <version>2025.43.1</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <artifactId>athena-jdbc</artifactId>
  <name>Amazon Athena JDBC Connector</name>
  <version>2025.43.1</version>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-jar-plugin</artifactId>
        <version>${mvn.jar.plugin.version}</version>
        <executions>
          <execution>
            <goals>
              <goal>test-jar</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <version>${mvn.shade.plugin.version}</version>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
          </execution>
        </executions>
        <dependencies>
          <dependency>
            <groupId>com.github.edwgiz</groupId>
            <artifactId>maven-shade-plugin.log4j2-cachefile-transformer</artifactId>
            <version>${log4j2.cachefile.transformer.version}</version>
          </dependency>
        </dependencies>
        <configuration>
          <createDependencyReducedPom>true</createDependencyReducedPom>
          <shadeTestJar>false</shadeTestJar>
          <filters>
            <filter>
              <artifact>*:*</artifact>
              <excludes>
                <exclude>META-INF/*.SF</exclude>
                <exclude>META-INF/*.DSA</exclude>
                <exclude>META-INF/*.RSA</exclude>
              </excludes>
            </filter>
          </filters>
          <transformers>
            <transformer />
          </transformers>
        </configuration>
      </plugin>
    </plugins>
  </build>
  <repositories>
    <repository>
      <id>redshift</id>
      <url>https://s3.amazonaws.com/redshift-maven-repository/release</url>
    </repository>
  </repositories>
  <dependencies>
    <dependency>
      <groupId>com.amazonaws</groupId>
      <artifactId>athena-federation-integ-test</artifactId>
      <version>2025.43.1</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>commons-cli</artifactId>
          <groupId>commons-cli</groupId>
        </exclusion>
        <exclusion>
          <artifactId>cloudformation</artifactId>
          <groupId>software.amazon.awssdk</groupId>
        </exclusion>
        <exclusion>
          <artifactId>core</artifactId>
          <groupId>software.amazon.awscdk</groupId>
        </exclusion>
        <exclusion>
          <artifactId>iam</artifactId>
          <groupId>software.amazon.awscdk</groupId>
        </exclusion>
        <exclusion>
          <artifactId>lambda</artifactId>
          <groupId>software.amazon.awscdk</groupId>
        </exclusion>
        <exclusion>
          <artifactId>athena</artifactId>
          <groupId>software.amazon.awscdk</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>software.amazon.awssdk</groupId>
      <artifactId>redshift</artifactId>
      <version>2.35.8</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>software.amazon.awscdk</groupId>
      <artifactId>redshift</artifactId>
      <version>1.204.0</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>ec2</artifactId>
          <groupId>software.amazon.awscdk</groupId>
        </exclusion>
        <exclusion>
          <artifactId>kms</artifactId>
          <groupId>software.amazon.awscdk</groupId>
        </exclusion>
        <exclusion>
          <artifactId>s3</artifactId>
          <groupId>software.amazon.awscdk</groupId>
        </exclusion>
        <exclusion>
          <artifactId>secretsmanager</artifactId>
          <groupId>software.amazon.awscdk</groupId>
        </exclusion>
        <exclusion>
          <artifactId>cdk-customresources</artifactId>
          <groupId>software.amazon.awscdk</groupId>
        </exclusion>
        <exclusion>
          <artifactId>constructs</artifactId>
          <groupId>software.constructs</groupId>
        </exclusion>
        <exclusion>
          <artifactId>jsii-runtime</artifactId>
          <groupId>software.amazon.jsii</groupId>
        </exclusion>
        <exclusion>
          <artifactId>annotations</artifactId>
          <groupId>org.jetbrains</groupId>
        </exclusion>
        <exclusion>
          <artifactId>javax.annotation-api</artifactId>
          <groupId>javax.annotation</groupId>
        </exclusion>
        <exclusion>
          <artifactId>iam</artifactId>
          <groupId>software.amazon.awscdk</groupId>
        </exclusion>
        <exclusion>
          <artifactId>lambda</artifactId>
          <groupId>software.amazon.awscdk</groupId>
        </exclusion>
        <exclusion>
          <artifactId>core</artifactId>
          <groupId>software.amazon.awscdk</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>software.amazon.awssdk</groupId>
      <artifactId>rds</artifactId>
      <version>2.35.8</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>netty-nio-client</artifactId>
          <groupId>software.amazon.awssdk</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>software.amazon.awscdk</groupId>
      <artifactId>rds</artifactId>
      <version>1.204.0</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>cloudwatch</artifactId>
          <groupId>software.amazon.awscdk</groupId>
        </exclusion>
        <exclusion>
          <artifactId>events</artifactId>
          <groupId>software.amazon.awscdk</groupId>
        </exclusion>
        <exclusion>
          <artifactId>logs</artifactId>
          <groupId>software.amazon.awscdk</groupId>
        </exclusion>
        <exclusion>
          <artifactId>cdk-cx-api</artifactId>
          <groupId>software.amazon.awscdk</groupId>
        </exclusion>
        <exclusion>
          <artifactId>ec2</artifactId>
          <groupId>software.amazon.awscdk</groupId>
        </exclusion>
        <exclusion>
          <artifactId>kms</artifactId>
          <groupId>software.amazon.awscdk</groupId>
        </exclusion>
        <exclusion>
          <artifactId>s3</artifactId>
          <groupId>software.amazon.awscdk</groupId>
        </exclusion>
        <exclusion>
          <artifactId>secretsmanager</artifactId>
          <groupId>software.amazon.awscdk</groupId>
        </exclusion>
        <exclusion>
          <artifactId>constructs</artifactId>
          <groupId>software.constructs</groupId>
        </exclusion>
        <exclusion>
          <artifactId>jsii-runtime</artifactId>
          <groupId>software.amazon.jsii</groupId>
        </exclusion>
        <exclusion>
          <artifactId>annotations</artifactId>
          <groupId>org.jetbrains</groupId>
        </exclusion>
        <exclusion>
          <artifactId>javax.annotation-api</artifactId>
          <groupId>javax.annotation</groupId>
        </exclusion>
        <exclusion>
          <artifactId>iam</artifactId>
          <groupId>software.amazon.awscdk</groupId>
        </exclusion>
        <exclusion>
          <artifactId>core</artifactId>
          <groupId>software.amazon.awscdk</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>commons-logging</groupId>
      <artifactId>commons-logging</artifactId>
      <version>[1.2,)</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>com.google.protobuf</groupId>
      <artifactId>protobuf-bom</artifactId>
      <version>4.32.1</version>
      <type>pom</type>
      <scope>import</scope>
    </dependency>
    <dependency>
      <groupId>net.jqwik</groupId>
      <artifactId>jqwik</artifactId>
      <version>1.9.3</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>jqwik-api</artifactId>
          <groupId>net.jqwik</groupId>
        </exclusion>
        <exclusion>
          <artifactId>jqwik-web</artifactId>
          <groupId>net.jqwik</groupId>
        </exclusion>
        <exclusion>
          <artifactId>jqwik-time</artifactId>
          <groupId>net.jqwik</groupId>
        </exclusion>
        <exclusion>
          <artifactId>jqwik-engine</artifactId>
          <groupId>net.jqwik</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.assertj</groupId>
      <artifactId>assertj-core</artifactId>
      <version>3.27.6</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>byte-buddy</artifactId>
          <groupId>net.bytebuddy</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.junit.jupiter</groupId>
      <artifactId>junit-jupiter-api</artifactId>
      <version>5.13.4</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>opentest4j</artifactId>
          <groupId>org.opentest4j</groupId>
        </exclusion>
        <exclusion>
          <artifactId>junit-platform-commons</artifactId>
          <groupId>org.junit.platform</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.13.2</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>hamcrest-core</artifactId>
          <groupId>org.hamcrest</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.junit.jupiter</groupId>
      <artifactId>junit-jupiter-engine</artifactId>
      <version>5.13.4</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>junit-platform-engine</artifactId>
          <groupId>org.junit.platform</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.junit.vintage</groupId>
      <artifactId>junit-vintage-engine</artifactId>
      <version>5.13.4</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>junit-platform-engine</artifactId>
          <groupId>org.junit.platform</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.mockito</groupId>
      <artifactId>mockito-core</artifactId>
      <version>4.11.0</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>byte-buddy-agent</artifactId>
          <groupId>net.bytebuddy</groupId>
        </exclusion>
        <exclusion>
          <artifactId>objenesis</artifactId>
          <groupId>org.objenesis</groupId>
        </exclusion>
        <exclusion>
          <artifactId>byte-buddy</artifactId>
          <groupId>net.bytebuddy</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.testng</groupId>
      <artifactId>testng</artifactId>
      <version>7.11.0</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>jcommander</artifactId>
          <groupId>org.jcommander</groupId>
        </exclusion>
        <exclusion>
          <artifactId>jquery</artifactId>
          <groupId>org.webjars</groupId>
        </exclusion>
      </exclusions>
    </dependency>
  </dependencies>
</project>
