<?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">
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.expedia.dsp</groupId>
  <artifactId>datasqueeze</artifactId>
  <name>datasqueeze</name>
  <version>2.0.2</version>
  <description>Hadoop utility to compact small files</description>
  <url>https://expediaincecommerceplatform.github.io/datasqueeze/</url>
  <issueManagement>
    <system>github</system>
    <url>https://github.com/ExpediaInceCommercePlatform/datasqueeze/issues</url>
  </issueManagement>
  <inceptionYear>2018</inceptionYear>
  <developers>
    <developer>
      <name>Yashraj R. Sontakke</name>
      <organization>Expedia Group (Data Services and Platforms)</organization>
      <organizationUrl>https://www.expediagroup.com/</organizationUrl>
    </developer>
  </developers>
  <licenses>
    <license>
      <name>Apache 2.0</name>
      <url>https://www.apache.org/licenses/LICENSE-2.0</url>
    </license>
  </licenses>
  <scm>
    <connection>scm:git:git://github.com/ExpediaInceCommercePlatform/datasqueeze.git</connection>
    <developerConnection>scm:git:ssh://github.com:ExpediaInceCommercePlatform/datasqueeze.git</developerConnection>
    <url>https://github.com/ExpediaInceCommercePlatform/datasqueeze/tree/master</url>
  </scm>
  <organization>
    <name>Expedia Group (Data Services and Platforms)</name>
    <url>https://www.expediagroup.com/</url>
  </organization>
  <build>
    <finalName>${project.artifactId}</finalName>
    <plugins>
      <plugin>
        <groupId>com.mycila</groupId>
        <artifactId>license-maven-plugin</artifactId>
        <version>${license-maven-plugin.version}</version>
        <executions>
          <execution>
            <goals>
              <goal>check</goal>
            </goals>
          </execution>
        </executions>
        <dependencies>
          <dependency>
            <groupId>com.mycila</groupId>
            <artifactId>license-maven-plugin-git</artifactId>
            <version>${license-maven-plugin.version}</version>
          </dependency>
        </dependencies>
        <configuration>
          <header>resources/APACHE-2.txt</header>
          <headerDefinitions>
            <headerDefinition>resources/header-definitions.xml</headerDefinition>
          </headerDefinitions>
          <properties>
            <owner>Expedia Group</owner>
          </properties>
          <includes>
            <include>src/main/java/**</include>
            <include>src/main/resources/*.xml</include>
            <include>src/test/java/**</include>
            <include>src/test/resources/*.xml</include>
          </includes>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>${maven-compiler-plugin.version}</version>
        <configuration>
          <source>${jdk.version}</source>
          <target>${jdk.version}</target>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <version>3.0.0</version>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
            <configuration>
              <filters>
                <filter>
                  <artifact>*:*</artifact>
                  <excludes>
                    <exclude>META-INF/*.SF</exclude>
                    <exclude>META-INF/*.DSA</exclude>
                    <exclude>META-INF/*.RSA</exclude>
                  </excludes>
                </filter>
              </filters>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>${maven-javadoc-plugin.version}</version>
        <executions>
          <execution>
            <id>attach-javadocs</id>
            <goals>
              <goal>jar</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
  <profiles>
    <profile>
      <id>rpm</id>
      <build>
        <plugins>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>rpm-maven-plugin</artifactId>
            <version>${rpm-maven-plugin.version}</version>
            <executions>
              <execution>
                <id>attach-rpm</id>
                <phase>package</phase>
                <goals>
                  <goal>attached-rpm</goal>
                </goals>
                <configuration>
                  <description>${project.description}</description>
                  <group>Applications/Engineering</group>
                  <targetOS>Linux</targetOS>
                  <targetVendor>redhat</targetVendor>
                  <defaultUsername>${rpm.install.user}</defaultUsername>
                  <defaultGroupname>${rpm.install.group}</defaultGroupname>
                  <defaultDirmode>775</defaultDirmode>
                  <defaultFilemode>644</defaultFilemode>
                  <mappings>
                    <mapping>
                      <directory>${rpm.install.dir}/lib</directory>
                      <sources>
                        <source>
                          <location>${project.build.directory}/datasqueeze.jar</location>
                          <destination>datasqueeze.jar</destination>
                        </source>
                      </sources>
                    </mapping>
                  </mappings>
                </configuration>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
    <profile>
      <id>sonatype-oss-release</id>
      <build>
        <plugins>
          <plugin>
            <artifactId>maven-gpg-plugin</artifactId>
            <version>1.6</version>
            <executions>
              <execution>
                <id>sign-artifacts</id>
                <phase>verify</phase>
                <goals>
                  <goal>sign</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
          <plugin>
            <artifactId>maven-source-plugin</artifactId>
            <version>3.0.1</version>
            <executions>
              <execution>
                <id>attach-sources</id>
                <goals>
                  <goal>jar-no-fork</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
          <plugin>
            <groupId>org.sonatype.plugins</groupId>
            <artifactId>nexus-staging-maven-plugin</artifactId>
            <version>1.6.8</version>
            <extensions>true</extensions>
            <executions>
              <execution>
                <id>injected-nexus-deploy</id>
                <phase>deploy</phase>
                <goals>
                  <goal>deploy</goal>
                </goals>
                <configuration>
                  <serverId>sonatype-nexus-staging</serverId>
                  <nexusUrl>https://oss.sonatype.org/</nexusUrl>
                  <autoReleaseAfterClose>true</autoReleaseAfterClose>
                </configuration>
              </execution>
            </executions>
            <configuration>
              <serverId>sonatype-nexus-staging</serverId>
              <nexusUrl>https://oss.sonatype.org/</nexusUrl>
              <autoReleaseAfterClose>true</autoReleaseAfterClose>
            </configuration>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>
  <repositories>
    <repository>
      <id>central</id>
      <url>http://repo1.maven.org/maven2/</url>
    </repository>
  </repositories>
  <dependencies>
    <dependency>
      <groupId>org.apache.hadoop</groupId>
      <artifactId>hadoop-mapreduce-client-common</artifactId>
      <version>2.7.4</version>
      <scope>provided</scope>
      <exclusions>
        <exclusion>
          <artifactId>avro</artifactId>
          <groupId>org.apache.avro</groupId>
        </exclusion>
        <exclusion>
          <artifactId>hadoop-yarn-client</artifactId>
          <groupId>org.apache.hadoop</groupId>
        </exclusion>
        <exclusion>
          <artifactId>hadoop-yarn-server-common</artifactId>
          <groupId>org.apache.hadoop</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.projectlombok</groupId>
      <artifactId>lombok</artifactId>
      <version>1.16.18</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.12</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>hamcrest-core</artifactId>
          <groupId>org.hamcrest</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.powermock</groupId>
      <artifactId>powermock-api-mockito</artifactId>
      <version>1.6.1</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>powermock-api-support</artifactId>
          <groupId>org.powermock</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.apache.mrunit</groupId>
      <artifactId>mrunit</artifactId>
      <version>1.1.0</version>
      <classifier>hadoop2</classifier>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>mockito-core</artifactId>
          <groupId>org.mockito</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.mockito</groupId>
      <artifactId>mockito-all</artifactId>
      <version>1.10.19</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.powermock</groupId>
      <artifactId>powermock-module-junit4</artifactId>
      <version>1.6.1</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>powermock-module-junit4-common</artifactId>
          <groupId>org.powermock</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.powermock</groupId>
      <artifactId>powermock-core</artifactId>
      <version>1.6.1</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>powermock-reflect</artifactId>
          <groupId>org.powermock</groupId>
        </exclusion>
        <exclusion>
          <artifactId>javassist</artifactId>
          <groupId>org.javassist</groupId>
        </exclusion>
      </exclusions>
    </dependency>
  </dependencies>
  <distributionManagement>
    <repository>
      <id>ossrh</id>
      <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
    </repository>
    <snapshotRepository>
      <id>ossrh</id>
      <url>https://oss.sonatype.org/content/repositories/snapshots</url>
    </snapshotRepository>
  </distributionManagement>
  <properties>
    <httpcore.version>4.4.6</httpcore.version>
    <rpm.install.group>hadoop</rpm.install.group>
    <junit.version>4.12</junit.version>
    <rpm-maven-plugin.version>2.1.5</rpm-maven-plugin.version>
    <jdk.version>1.7</jdk.version>
    <powermock.version>1.6.1</powermock.version>
    <mrunit.version>1.1.0</mrunit.version>
    <avro.version>1.7.4</avro.version>
    <lombok.version>1.16.18</lombok.version>
    <rpm.install.user>hadoop</rpm.install.user>
    <commons-cli.version>1.2</commons-cli.version>
    <hive.metastore.version>2.1.1</hive.metastore.version>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <httpclient.version>4.5.3</httpclient.version>
    <mockito.version>1.10.19</mockito.version>
    <maven-source-plugin.version>3.0.1</maven-source-plugin.version>
    <directory>${project.basedir}/target</directory>
    <xerces.version>2.8.1</xerces.version>
    <hadoop.version>2.7.4</hadoop.version>
    <maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
    <commons.lang3.version>3.0</commons.lang3.version>
    <maven-jar-plugin.version>3.1.0</maven-jar-plugin.version>
    <aws.java.sdk.version>1.11.98</aws.java.sdk.version>
    <license-maven-plugin.version>3.0</license-maven-plugin.version>
    <rpm.install.dir>/opt/dataSqueeze</rpm.install.dir>
    <jmimemagic.version>0.1.4</jmimemagic.version>
    <json.version>20160212</json.version>
    <nexus-staging-maven-plugin.version>1.6.8</nexus-staging-maven-plugin.version>
    <maven-javadoc-plugin.version>3.0.1</maven-javadoc-plugin.version>
    <apache.commons.io.version>1.3.2</apache.commons.io.version>
    <maven-compiler-plugin.version>3.7.0</maven-compiler-plugin.version>
    <commons-lang3.version>3.0</commons-lang3.version>
    <slf4j.version>1.7.25</slf4j.version>
    <hive.jdbc.version>1.2.1</hive.jdbc.version>
    <orc.version>1.3.2</orc.version>
    <maven-model.version>3.3.9</maven-model.version>
    <commons.io.version>2.4</commons.io.version>
    <commons-io-1x.version>1.3.2</commons-io-1x.version>
  </properties>
</project>

