<?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>de.epiceric</groupId>
  <artifactId>ShopChest</artifactId>
  <name>ShopChest</name>
  <version>${version.final}</version>
  <description>Let your players create their own nice-looking shops to sell their stuff to other players!</description>
  <url>https://www.spigotmc.org/resources/shopchest.11431/</url>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-resources-plugin</artifactId>
        <executions>
          <execution>
            <phase>prepare-package</phase>
            <goals>
              <goal>resources</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <resources>
            <resource>
              <directory>src/main/resources</directory>
              <targetPath>.</targetPath>
              <filtering>true</filtering>
            </resource>
          </resources>
        </configuration>
      </plugin>
      <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>de.epiceric.shopchest.utils</shadedPattern>
            </relocation>
          </relocations>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-deploy-plugin</artifactId>
        <version>2.7</version>
        <configuration>
          <altDeploymentRepository>internal-maven-repo::default::file://${project.build.directory}/gh-pages/maven</altDeploymentRepository>
          <javadoc>${project.build.directory}/${project.build.finalName}-javadoc.jar</javadoc>
        </configuration>
      </plugin>
      <plugin>
        <groupId>com.github.github</groupId>
        <artifactId>site-maven-plugin</artifactId>
        <version>0.12</version>
        <executions>
          <execution>
            <phase>deploy</phase>
            <goals>
              <goal>site</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <message>Updated Maven Artifact

Artifact: ${project.artifactId}
Version: ${project.version}
Timestamp: ${maven.build.timestamp}</message>
          <outputDirectory>${project.build.directory}/gh-pages</outputDirectory>
          <branch>refs/heads/gh-pages</branch>
          <merge>true</merge>
          <repositoryName>ShopChest</repositoryName>
          <repositoryOwner>EpicEricEE</repositoryOwner>
        </configuration>
      </plugin>
    </plugins>
  </build>
  <profiles>
    <profile>
      <build>
        <plugins>
          <plugin>
            <groupId>net.md-5</groupId>
            <artifactId>scriptus</artifactId>
            <version>0.2</version>
            <executions>
              <execution>
                <phase>initialize</phase>
                <goals>
                  <goal>describe</goal>
                </goals>
              </execution>
            </executions>
            <configuration>
              <descriptionProperty>version.git</descriptionProperty>
              <format>%s</format>
            </configuration>
          </plugin>
        </plugins>
      </build>
    </profile>
    <profile>
      <id>doclint-java8</id>
      <properties>
        <javadoc.opts>-Xdoclint:none</javadoc.opts>
      </properties>
    </profile>
    <profile>
      <id>release</id>
      <build>
        <plugins>
          <plugin>
            <artifactId>maven-javadoc-plugin</artifactId>
            <version>2.10.4</version>
            <executions>
              <execution>
                <phase>package</phase>
                <goals>
                  <goal>jar</goal>
                </goals>
                <configuration>
                  <additionalparam />
                </configuration>
              </execution>
            </executions>
            <configuration>
              <additionalparam />
            </configuration>
          </plugin>
        </plugins>
      </build>
      <properties>
        <version.final>${version.number}</version.final>
      </properties>
    </profile>
  </profiles>
  <repositories>
    <repository>
      <id>spigot-repo</id>
      <url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
    </repository>
    <repository>
      <id>vault-repo</id>
      <url>http://nexus.hc.to/content/repositories/pub_releases/</url>
    </repository>
    <repository>
      <id>bstats-repo</id>
      <url>http://repo.bstats.org/content/repositories/releases/</url>
    </repository>
    <repository>
      <id>xephi-repo</id>
      <url>http://ci.xephi.fr/plugin/repository/everything/</url>
    </repository>
    <repository>
      <id>sk89q-repo</id>
      <url>http://maven.sk89q.com/artifactory/repo/</url>
    </repository>
    <repository>
      <id>athion-repo</id>
      <url>http://ci.athion.net/job/PlotSquared/ws/mvn/</url>
    </repository>
    <repository>
      <id>uskyblock-repo</id>
      <url>https://raw.github.com/rlf/uSkyBlock/mvn-repo/</url>
    </repository>
    <repository>
      <id>tastybento-repo</id>
      <url>http://dl.bintray.com/tastybento/maven-repo</url>
    </repository>
    <repository>
      <id>jitpack-repo</id>
      <url>https://jitpack.io</url>
    </repository>
  </repositories>
  <dependencies>
    <dependency>
      <groupId>org.bukkit</groupId>
      <artifactId>bukkit</artifactId>
      <version>1.12-pre5-SNAPSHOT</version>
      <scope>provided</scope>
      <exclusions>
        <exclusion>
          <artifactId>commons-lang</artifactId>
          <groupId>commons-lang</groupId>
        </exclusion>
        <exclusion>
          <artifactId>json-simple</artifactId>
          <groupId>com.googlecode.json-simple</groupId>
        </exclusion>
        <exclusion>
          <artifactId>guava</artifactId>
          <groupId>com.google.guava</groupId>
        </exclusion>
        <exclusion>
          <artifactId>gson</artifactId>
          <groupId>com.google.code.gson</groupId>
        </exclusion>
        <exclusion>
          <artifactId>snakeyaml</artifactId>
          <groupId>org.yaml</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>net.milkbowl.vault</groupId>
      <artifactId>VaultAPI</artifactId>
      <version>1.6</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>fr.xephi</groupId>
      <artifactId>authme</artifactId>
      <version>5.2</version>
      <scope>provided</scope>
      <exclusions>
        <exclusion>
          <artifactId>PBKDF2</artifactId>
          <groupId>de.rtner</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>com.plotsquared</groupId>
      <artifactId>plotsquared-api</artifactId>
      <version>latest</version>
      <scope>provided</scope>
      <exclusions>
        <exclusion>
          <artifactId>worldedit-core</artifactId>
          <groupId>com.sk89q.worldedit</groupId>
        </exclusion>
        <exclusion>
          <artifactId>guava</artifactId>
          <groupId>com.google.guava</groupId>
        </exclusion>
        <exclusion>
          <artifactId>snakeyaml</artifactId>
          <groupId>org.yaml</groupId>
        </exclusion>
        <exclusion>
          <artifactId>gson</artifactId>
          <groupId>com.google.code.gson</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>com.github.rlf</groupId>
      <artifactId>uSkyBlock-API</artifactId>
      <version>2.6.4</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>com.wasteofplastic</groupId>
      <artifactId>askyblock</artifactId>
      <version>3.0.6.2</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>com.github.TechFortress</groupId>
      <artifactId>GriefPrevention</artifactId>
      <version>16.6</version>
      <scope>provided</scope>
      <exclusions>
        <exclusion>
          <artifactId>worldedit-bukkit</artifactId>
          <groupId>com.sk89q.worldedit</groupId>
        </exclusion>
        <exclusion>
          <artifactId>json-simple</artifactId>
          <groupId>com.googlecode.json-simple</groupId>
        </exclusion>
        <exclusion>
          <artifactId>guava</artifactId>
          <groupId>com.google.guava</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>com.palmergames</groupId>
      <artifactId>Towny</artifactId>
      <version>0.91.4.0</version>
      <scope>system</scope>
      <systemPath>C:\Users\ericb\Documents\GitHub\ShopChest/lib/Towny-0.91.4.0.jar</systemPath>
    </dependency>
    <dependency>
      <groupId>pl.gnacik</groupId>
      <artifactId>IslandWorld</artifactId>
      <version>7.0</version>
      <scope>system</scope>
      <systemPath>C:\Users\ericb\Documents\GitHub\ShopChest/lib/IslandWorld-7.0.jar</systemPath>
    </dependency>
    <dependency>
      <groupId>com.sk89q</groupId>
      <artifactId>worldguard</artifactId>
      <version>6.1.3-SNAPSHOT</version>
      <scope>system</scope>
      <systemPath>C:\Users\ericb\Documents\GitHub\ShopChest/lib/worldguard-6.1.3-SNAPSHOT.jar</systemPath>
    </dependency>
    <dependency>
      <groupId>me.wiefferink</groupId>
      <artifactId>areashop</artifactId>
      <version>2.4.0</version>
      <scope>system</scope>
      <systemPath>C:\Users\ericb\Documents\GitHub\ShopChest/lib/AreaShop-2.4.0.jar</systemPath>
    </dependency>
  </dependencies>
  <distributionManagement>
    <repository>
      <id>internal-maven-repo</id>
      <url>file://${project.build.directory}/gh-pages/maven</url>
    </repository>
  </distributionManagement>
  <properties>
    <github.global.server>github</github.global.server>
    <version.final>${version.number}-${version.git}</version.final>
    <version.number>1.12</version.number>
    <maven.compiler.source>1.7</maven.compiler.source>
    <maven.compiler.target>1.7</maven.compiler.target>
  </properties>
</project>

