<?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>2024.10.1</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <artifactId>athena-jdbc</artifactId>
  <version>2024.10.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>true</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>2024.10.1</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>commons-cli</artifactId>
          <groupId>commons-cli</groupId>
        </exclusion>
        <exclusion>
          <artifactId>aws-java-sdk-cloudformation</artifactId>
          <groupId>com.amazonaws</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>com.amazonaws</groupId>
      <artifactId>aws-java-sdk-redshift</artifactId>
      <version>1.12.676</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>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>com.amazonaws</groupId>
      <artifactId>aws-java-sdk-rds</artifactId>
      <version>1.12.676</version>
      <scope>test</scope>
    </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>iam</artifactId>
          <groupId>software.amazon.awscdk</groupId>
        </exclusion>
        <exclusion>
          <artifactId>core</artifactId>
          <groupId>software.amazon.awscdk</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>net.jqwik</groupId>
      <artifactId>jqwik</artifactId>
      <version>1.8.3</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>apiguardian-api</artifactId>
          <groupId>org.apiguardian</groupId>
        </exclusion>
        <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.25.3</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.10.2</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>
        <exclusion>
          <artifactId>apiguardian-api</artifactId>
          <groupId>org.apiguardian</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.10.2</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>junit-platform-engine</artifactId>
          <groupId>org.junit.platform</groupId>
        </exclusion>
        <exclusion>
          <artifactId>apiguardian-api</artifactId>
          <groupId>org.apiguardian</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.junit.vintage</groupId>
      <artifactId>junit-vintage-engine</artifactId>
      <version>5.10.2</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>junit-platform-engine</artifactId>
          <groupId>org.junit.platform</groupId>
        </exclusion>
        <exclusion>
          <artifactId>apiguardian-api</artifactId>
          <groupId>org.apiguardian</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.9.0</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>jcommander</artifactId>
          <groupId>com.beust</groupId>
        </exclusion>
        <exclusion>
          <artifactId>jquery</artifactId>
          <groupId>org.webjars</groupId>
        </exclusion>
      </exclusions>
    </dependency>
  </dependencies>
</project>
