<?xml version="1.0"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.github.dmulloy2.LWC</groupId>
  <artifactId>lwc</artifactId>
  <version>master-SNAPSHOT</version>
  <name>LWC</name>
  <url>getlwc.org</url>
  <distributionManagement>
    <repository>
      <id>mcstats.releases</id>
      <url>http://repo.mcstats.org/content/repositories/releases/</url>
    </repository>
    <snapshotRepository>
      <id>mcstats.snapshots</id>
      <url>http://repo.mcstats.org/content/repositories/snapshots/</url>
    </snapshotRepository>
  </distributionManagement>
  <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  </properties>
  <dependencies>
    <dependency>
      <groupId>org.spigotmc</groupId>
      <artifactId>spigot-api</artifactId>
      <version>1.11-R0.1-SNAPSHOT</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.10</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>net.milkbowl.vault</groupId>
      <artifactId>VaultAPI</artifactId>
      <version>1.6</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>com.sk89q.worldedit</groupId>
      <artifactId>worldedit-bukkit</artifactId>
      <version>6.1.5</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>com.sk89q</groupId>
      <artifactId>worldguard</artifactId>
      <version>6.1</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>Heroes</groupId>
      <artifactId>Heroes</artifactId>
      <version>1.5.1-dev-b1666</version>
      <scope>system</scope>
      <systemPath>${project.basedir}/lib/plugins/Heroes.jar</systemPath>
    </dependency>
    <dependency>
      <groupId>MobArena</groupId>
      <artifactId>MobArena</artifactId>
      <version>0.94.4.52</version>
      <scope>system</scope>
      <systemPath>${project.basedir}/lib/plugins/MobArena-v0.94.4.52.jar</systemPath>
    </dependency>
    <dependency>
      <groupId>Showcase</groupId>
      <artifactId>Showcase</artifactId>
      <version>0.7.7</version>
      <scope>system</scope>
      <systemPath>${project.basedir}/lib/plugins/Showcase0.7.7.jar</systemPath>
    </dependency>
    <dependency>
      <groupId>Towny</groupId>
      <artifactId>Towny</artifactId>
      <version>0.74.0</version>
      <scope>system</scope>
      <systemPath>${project.basedir}/lib/plugins/Towny.jar</systemPath>
    </dependency>
    <dependency>
      <groupId>Towny_Advanced</groupId>
      <artifactId>Towny_Advanced</artifactId>
      <version>0.76.3.1</version>
      <scope>system</scope>
      <systemPath>${project.basedir}/lib/plugins/Towny_Advanced.jar</systemPath>
    </dependency>
  </dependencies>
  <repositories>
    <repository>
      <id>spigot-repo</id>
      <url>https://hub.spigotmc.org/nexus/content/groups/public/</url>
    </repository>
    <repository>
      <id>vault-repo</id>
      <url>http://nexus.hc.to/content/repositories/pub_releases/</url>
    </repository>
    <repository>
      <id>sk89q-repo</id>
      <url>http://maven.sk89q.com/repo/</url>
    </repository>
  </repositories>
  <build>
    <defaultGoal>clean package</defaultGoal>
    <resources>
      <resource>
        <filtering>true</filtering>
        <directory>${basedir}/src/main/resources</directory>
      </resource>
    </resources>
    <finalName>${project.name}</finalName>
    <plugins>
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>2.3.2</version>
        <configuration>
          <source>1.7</source>
          <target>1.7</target>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <version>1.4</version>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
            <configuration>
              <artifactSet>
                <includes>
                  <include>org.mcstats.bukkit:metrics</include>
                </includes>
              </artifactSet>
              <relocations>
                <relocation>
                  <pattern>org.mcstats</pattern>
                  <shadedPattern>com.griefcraft.util.mcstats</shadedPattern>
                </relocation>
              </relocations>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-deploy-plugin</artifactId>
        <version>2.7</version>
        <configuration>
          <skip>false</skip>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>
