<?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.github.kaskadee</groupId>
  <artifactId>knack</artifactId>
  <name>Knack</name>
  <version>1.8.1</version>
  <description>Provides you with more inventory space for long journeys</description>
  <url>https://github.com/Kaskadee/Knack</url>
  <issueManagement>
    <system>GitHub</system>
    <url>https://github.com/Kaskadee/Knack/issues</url>
  </issueManagement>
  <developers>
    <developer>
      <name>Kaskadee</name>
      <url>https://github.com/Kaskadee</url>
    </developer>
  </developers>
  <licenses>
    <license>
      <name>GNU GENERAL PUBLIC LICENSE, Version 3.0</name>
      <url>https://www.gnu.org/licenses/gpl-3.0.en.html</url>
    </license>
  </licenses>
  <scm>
    <connection>scm:git:ssh://github.com:Kaskadee/Knack.git</connection>
    <developerConnection>scm:git:ssh://github.com:Kaskadee/Knack.git</developerConnection>
    <url>https://github.com/Kaskadee/Knack/tree/master/</url>
  </scm>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <version>2.3</version>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <artifactSet>
            <includes>
              <include>org.bstats:*</include>
            </includes>
          </artifactSet>
          <relocations>
            <relocation>
              <pattern>org.bstats</pattern>
              <shadedPattern>com.github.kaskadee.knack</shadedPattern>
            </relocation>
          </relocations>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-source-plugin</artifactId>
        <version>3.0.1</version>
        <executions>
          <execution>
            <id>attach-sources</id>
            <goals>
              <goal>jar</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>2.10.4</version>
        <executions>
          <execution>
            <id>attach-javadocs</id>
            <goals>
              <goal>jar</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
  <profiles>
    <profile>
      <id>sonatype</id>
      <build>
        <finalName>knack-${project.version}-${env.SHORT_HASH}</finalName>
        <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>
        </plugins>
      </build>
      <properties>
        <gpg.keyname>A6C3C7CF</gpg.keyname>
        <gpg.passphrase>${env.GPG_PASSPHRASE}</gpg.passphrase>
        <gpg.executable>gpg</gpg.executable>
      </properties>
    </profile>
  </profiles>
  <repositories>
    <repository>
      <id>spigot-repo</id>
      <url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
    </repository>
    <repository>
      <id>sk89q-repo</id>
      <url>http://maven.sk89q.com/repo/</url>
    </repository>
    <repository>
      <id>bstats-repo</id>
      <url>http://repo.bstats.org/content/repositories/releases/</url>
    </repository>
  </repositories>
  <dependencies>
    <dependency>
      <groupId>org.spigotmc</groupId>
      <artifactId>spigot-api</artifactId>
      <version>1.12-R0.1-SNAPSHOT</version>
      <scope>provided</scope>
      <exclusions>
        <exclusion>
          <artifactId>bungeecord-chat</artifactId>
          <groupId>net.md-5</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>com.sk89q</groupId>
      <artifactId>worldguard</artifactId>
      <version>LATEST</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>net.minecraft</groupId>
      <artifactId>minecraft-server-1-8</artifactId>
      <version>1.8</version>
      <scope>system</scope>
      <systemPath>/home/travis/build/Kaskadee/Knack/lib/spigot-1.8.jar</systemPath>
    </dependency>
    <dependency>
      <groupId>net.minecraft</groupId>
      <artifactId>minecraft-server-1-8-3</artifactId>
      <version>1.8.3</version>
      <scope>system</scope>
      <systemPath>/home/travis/build/Kaskadee/Knack/lib/spigot-1.8.3.jar</systemPath>
    </dependency>
    <dependency>
      <groupId>net.minecraft</groupId>
      <artifactId>minecraft-server-1-8-8</artifactId>
      <version>1.8.8</version>
      <scope>system</scope>
      <systemPath>/home/travis/build/Kaskadee/Knack/lib/spigot-1.8.8.jar</systemPath>
    </dependency>
    <dependency>
      <groupId>net.minecraft</groupId>
      <artifactId>minecraft-server-1-9-2</artifactId>
      <version>1.9.2</version>
      <scope>system</scope>
      <systemPath>/home/travis/build/Kaskadee/Knack/lib/spigot-1.9.2.jar</systemPath>
    </dependency>
    <dependency>
      <groupId>net.minecraft</groupId>
      <artifactId>minecraft-server-1-9-4</artifactId>
      <version>1.9.4</version>
      <scope>system</scope>
      <systemPath>/home/travis/build/Kaskadee/Knack/lib/spigot-1.9.4.jar</systemPath>
    </dependency>
    <dependency>
      <groupId>net.minecraft</groupId>
      <artifactId>minecraft-server-1-10-2</artifactId>
      <version>1.10.2</version>
      <scope>system</scope>
      <systemPath>/home/travis/build/Kaskadee/Knack/lib/spigot-1.10.2.jar</systemPath>
    </dependency>
    <dependency>
      <groupId>net.minecraft</groupId>
      <artifactId>minecraft-server-1-11-2</artifactId>
      <version>1.11.2</version>
      <scope>system</scope>
      <systemPath>/home/travis/build/Kaskadee/Knack/lib/spigot-1.11.2.jar</systemPath>
    </dependency>
    <dependency>
      <groupId>net.minecraft</groupId>
      <artifactId>minecraft-server-1-12</artifactId>
      <version>1.12</version>
      <scope>system</scope>
      <systemPath>/home/travis/build/Kaskadee/Knack/lib/spigot-1.12.jar</systemPath>
    </dependency>
  </dependencies>
  <distributionManagement>
    <repository>
      <id>sonatype</id>
      <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
    </repository>
    <snapshotRepository>
      <uniqueVersion>false</uniqueVersion>
      <id>sonatype</id>
      <url>https://oss.sonatype.org/content/repositories/snapshots</url>
    </snapshotRepository>
  </distributionManagement>
  <properties>
    <maven.compiler.source>1.8</maven.compiler.source>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <maven.compiler.target>1.8</maven.compiler.target>
  </properties>
</project>

