<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>
  <groupId>com.amazonaws.athena.jdbc</groupId>
  <artifactId>atl-athena-jdbc-driver</artifactId>
  <version>1.0.2-atlassian-1</version>
  <name>AthenaJDBC</name>

  <properties>
    <maven.compiler.source>1.8</maven.compiler.source>
    <maven.compiler.target>1.8</maven.compiler.target>
  </properties>

  <dependencies>
  <dependency>
	<groupId>org.apache.logging.log4j</groupId>
	<artifactId>log4j-1.2-api</artifactId>
	<version>2.8</version>
</dependency>
<dependency>
	<groupId>org.apache.logging.log4j</groupId>
	<artifactId>log4j-core</artifactId>
	<version>2.8</version>
</dependency>
  	<dependency>
  		<groupId>com.amazonaws.athena.jdbc</groupId>
  		<artifactId>AthenaJDBC41</artifactId>
  		<version>1.0.1-atlassian-hosted</version>
  	</dependency>
  	<dependency>
  	<groupId>com.sparkjava</groupId>
  	<artifactId>spark-core</artifactId>
  	<version>2.5.3</version>
  	</dependency>
  </dependencies>

  <build>
    <sourceDirectory>src</sourceDirectory>
    <plugins>
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>3.5.1</version>
        <configuration>
          <source/>
          <target/>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-shade-plugin</artifactId>
        <version>2.3</version>
        <configuration>
          <createDependencyReducedPom>false</createDependencyReducedPom>
        </configuration>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>

  <repositories>
  	<repository>
  		<id>atlassian-3rdparty</id>
  		<url>https://maven.atlassian.com/content/repositories/atlassian-3rdparty</url>
  	</repository>
  </repositories>

  <distributionManagement>
    <repository>
      <id>atlassian-3rdparty</id>
      <url>https://maven.atlassian.com/content/repositories/atlassian-3rdparty</url>
    </repository>
  </distributionManagement>
  
</project>