2015-07-17 03:38:41 +02:00
|
|
|
<?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/xsd/maven-4.0.0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<groupId>com.garbagemule</groupId>
|
|
|
|
<artifactId>mobarena</artifactId>
|
|
|
|
<name>MobArena</name>
|
2021-05-09 16:28:27 +02:00
|
|
|
<version>0.106.1-SNAPSHOT</version>
|
2015-07-17 03:38:41 +02:00
|
|
|
|
2018-06-12 00:32:49 +02:00
|
|
|
<properties>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
</properties>
|
|
|
|
|
2015-07-17 03:38:41 +02:00
|
|
|
<build>
|
|
|
|
<plugins>
|
2018-04-17 18:18:05 +02:00
|
|
|
<!-- Use Java 8 for compilation -->
|
2015-07-17 03:38:41 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
2020-03-28 16:47:27 +01:00
|
|
|
<version>3.8.1</version>
|
2015-07-17 03:38:41 +02:00
|
|
|
<configuration>
|
2018-04-17 18:18:05 +02:00
|
|
|
<source>1.8</source>
|
|
|
|
<target>1.8</target>
|
2015-07-17 03:38:41 +02:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2015-07-21 15:55:02 +02:00
|
|
|
|
2015-07-17 03:38:41 +02:00
|
|
|
<!-- Rename the final jar-file to MobArena.jar -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
2020-03-28 16:47:53 +01:00
|
|
|
<version>3.2.0</version>
|
2015-07-17 03:38:41 +02:00
|
|
|
<configuration>
|
|
|
|
<finalName>MobArena</finalName>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2018-05-14 21:11:25 +02:00
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
|
|
<version>3.1.0</version>
|
|
|
|
<configuration>
|
|
|
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
|
|
|
<minimizeJar>true</minimizeJar>
|
|
|
|
<relocations>
|
|
|
|
<relocation>
|
|
|
|
<pattern>org.bstats</pattern>
|
|
|
|
<shadedPattern>com.garbagemule.MobArena.metrics</shadedPattern>
|
|
|
|
</relocation>
|
|
|
|
</relocations>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2015-07-17 03:38:41 +02:00
|
|
|
</plugins>
|
|
|
|
|
|
|
|
<resources>
|
|
|
|
<!-- Resource filtering; use Maven version in plugin.yml -->
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<repositories>
|
|
|
|
<!-- Spigot repo -->
|
|
|
|
<repository>
|
|
|
|
<id>spigot-repo</id>
|
2021-07-11 01:09:41 +02:00
|
|
|
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
|
2015-07-17 03:38:41 +02:00
|
|
|
</repository>
|
2015-07-21 15:55:02 +02:00
|
|
|
|
2020-07-16 22:19:33 +02:00
|
|
|
<!-- JitPack for Vault -->
|
2018-08-19 10:50:24 +02:00
|
|
|
<repository>
|
|
|
|
<id>jitpack.io</id>
|
|
|
|
<url>https://jitpack.io</url>
|
|
|
|
</repository>
|
2015-07-17 03:38:41 +02:00
|
|
|
</repositories>
|
|
|
|
|
|
|
|
<dependencies>
|
2021-07-11 01:09:41 +02:00
|
|
|
<!-- Spigot API -->
|
2015-07-17 03:38:41 +02:00
|
|
|
<dependency>
|
2021-07-11 01:09:41 +02:00
|
|
|
<groupId>org.spigotmc</groupId>
|
|
|
|
<artifactId>spigot-api</artifactId>
|
|
|
|
<version>1.17-R0.1-SNAPSHOT</version>
|
2018-05-14 21:39:50 +02:00
|
|
|
<scope>provided</scope>
|
2015-07-17 03:38:41 +02:00
|
|
|
</dependency>
|
2015-07-21 15:55:02 +02:00
|
|
|
|
2015-07-17 03:38:41 +02:00
|
|
|
<!-- Vault -->
|
|
|
|
<dependency>
|
2020-03-28 16:04:13 +01:00
|
|
|
<groupId>com.github.MilkBowl</groupId>
|
2015-07-17 03:38:41 +02:00
|
|
|
<artifactId>VaultAPI</artifactId>
|
2020-03-28 16:04:13 +01:00
|
|
|
<version>1.7</version>
|
2018-05-14 21:39:50 +02:00
|
|
|
<scope>provided</scope>
|
2015-07-17 03:38:41 +02:00
|
|
|
</dependency>
|
2015-07-21 15:55:02 +02:00
|
|
|
|
2020-03-28 16:51:51 +01:00
|
|
|
<!-- bStats -->
|
2018-05-14 21:11:25 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.bstats</groupId>
|
|
|
|
<artifactId>bstats-bukkit</artifactId>
|
2021-04-11 13:11:47 +02:00
|
|
|
<version>2.2.1</version>
|
2018-05-14 21:11:25 +02:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2015-07-21 15:55:02 +02:00
|
|
|
<!-- JUnit -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
2021-10-13 22:56:43 +02:00
|
|
|
<version>4.13.2</version>
|
2018-05-14 21:39:50 +02:00
|
|
|
<scope>test</scope>
|
2015-07-21 15:55:02 +02:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- Hamcrest matchers -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hamcrest</groupId>
|
|
|
|
<artifactId>hamcrest-all</artifactId>
|
|
|
|
<version>1.3</version>
|
2018-05-14 21:39:50 +02:00
|
|
|
<scope>test</scope>
|
2015-07-21 15:55:02 +02:00
|
|
|
</dependency>
|
2015-07-27 22:23:32 +02:00
|
|
|
|
|
|
|
<!-- Mockito -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
2018-05-13 16:43:48 +02:00
|
|
|
<artifactId>mockito-core</artifactId>
|
2021-10-13 22:56:27 +02:00
|
|
|
<version>3.12.4</version>
|
2018-05-14 21:39:50 +02:00
|
|
|
<scope>test</scope>
|
2015-07-27 22:23:32 +02:00
|
|
|
</dependency>
|
2015-07-17 03:38:41 +02:00
|
|
|
</dependencies>
|
2018-06-22 23:32:57 +02:00
|
|
|
</project>
|