2015-11-18 20:41:51 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2018-08-01 05:58:38 +00:00
|
|
|
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
|
2018-07-25 00:06:58 +00:00
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
2015-11-18 20:41:51 +00:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<groupId>me.totalfreedom</groupId>
|
2016-03-06 15:56:15 +00:00
|
|
|
<artifactId>totalfreedom</artifactId>
|
2018-06-02 08:18:28 +00:00
|
|
|
<version>5.2</version>
|
2015-11-18 20:41:51 +00:00
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
2018-06-02 08:18:28 +00:00
|
|
|
<tfm.build.codename>God</tfm.build.codename>
|
2015-11-22 18:26:47 +00:00
|
|
|
<jar.finalName>${project.name}</jar.finalName>
|
2018-07-25 00:06:58 +00:00
|
|
|
<timestamp>${maven.build.timestamp}</timestamp>
|
|
|
|
<maven.build.timestamp.format>MM/dd/yyyy HH:mm</maven.build.timestamp.format>
|
2015-11-18 20:41:51 +00:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<name>TotalFreedomMod</name>
|
|
|
|
<description>Server modification for the TotalFreedom server</description>
|
|
|
|
<url>https://github.com/TotalFreedom/TotalFreedomMod</url>
|
|
|
|
|
|
|
|
<licenses>
|
|
|
|
<license>
|
|
|
|
<name>TotalFreedom General License</name>
|
|
|
|
<url>https://github.com/TotalFreedom/License/blob/master/LICENSE.md</url>
|
|
|
|
</license>
|
|
|
|
</licenses>
|
|
|
|
|
|
|
|
<organization>
|
2016-03-06 15:56:15 +00:00
|
|
|
<name>Total Freedom</name>
|
2015-11-18 20:41:51 +00:00
|
|
|
<url>https://totalfreedom.me</url>
|
|
|
|
</organization>
|
|
|
|
|
|
|
|
<scm>
|
2018-07-25 00:06:58 +00:00
|
|
|
<connection>scm:git:git@github.com:TFPatches/TotalFreedomMod.git</connection>
|
|
|
|
<developerConnection>scm:git:git@github.com:TFPatches/TotalFreedomMod.git</developerConnection>
|
2018-07-25 02:44:00 +00:00
|
|
|
<url>git@github.com:TFPatches/TotalFreedomMod.git</url>
|
2015-11-18 20:41:51 +00:00
|
|
|
</scm>
|
|
|
|
|
|
|
|
<repositories>
|
|
|
|
<repository>
|
2017-01-07 23:37:25 +00:00
|
|
|
<id>ess-repo</id>
|
|
|
|
<url>http://repo.ess3.net</url>
|
|
|
|
</repository>
|
2018-07-26 07:35:31 +00:00
|
|
|
|
2017-01-07 23:37:25 +00:00
|
|
|
<repository>
|
|
|
|
<id>jitpack.io</id>
|
|
|
|
<url>https://jitpack.io</url>
|
|
|
|
</repository>
|
2018-07-25 00:06:58 +00:00
|
|
|
|
2017-01-07 23:37:25 +00:00
|
|
|
<repository>
|
|
|
|
<id>spigot-repo</id>
|
|
|
|
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
|
|
|
|
</repository>
|
2018-07-25 00:06:58 +00:00
|
|
|
|
2017-10-14 13:33:53 +00:00
|
|
|
<repository>
|
2018-07-25 00:06:58 +00:00
|
|
|
<id>elmakers-repo</id>
|
|
|
|
<url>http://maven.elmakers.com/repository/</url>
|
2017-10-14 13:33:53 +00:00
|
|
|
</repository>
|
2018-07-25 00:06:58 +00:00
|
|
|
|
2017-01-08 12:42:49 +00:00
|
|
|
<repository>
|
|
|
|
<id>sk89q-snapshots</id>
|
2018-07-25 00:06:58 +00:00
|
|
|
<url>http://maven.sk89q.com/artifactory/repo</url>
|
|
|
|
</repository>
|
|
|
|
|
|
|
|
<repository>
|
|
|
|
<id>jcenter</id>
|
|
|
|
<name>jcenter-bintray</name>
|
|
|
|
<url>http://jcenter.bintray.com</url>
|
|
|
|
</repository>
|
|
|
|
|
2018-07-26 07:35:31 +00:00
|
|
|
<repository>
|
2018-07-26 21:08:48 +00:00
|
|
|
<id>playpro</id>
|
|
|
|
<url>https://maven.playpro.com/</url>
|
2018-07-26 07:35:31 +00:00
|
|
|
</repository>
|
|
|
|
|
2018-07-25 00:06:58 +00:00
|
|
|
<repository>
|
|
|
|
<id>md_5-public</id>
|
|
|
|
<url>http://repo.md-5.net/content/groups/public/</url>
|
|
|
|
</repository>
|
|
|
|
|
|
|
|
<repository>
|
|
|
|
<id>dmulloy2-repo</id>
|
|
|
|
<url>http://repo.dmulloy2.net/nexus/repository/public/</url>
|
|
|
|
</repository>
|
|
|
|
|
|
|
|
<repository>
|
|
|
|
<id>sk89q-repo</id>
|
|
|
|
<url>http://maven.sk89q.com/repo/</url>
|
2017-01-08 12:42:49 +00:00
|
|
|
</repository>
|
2015-11-18 20:41:51 +00:00
|
|
|
</repositories>
|
|
|
|
|
|
|
|
<dependencies>
|
2017-07-26 01:07:22 +00:00
|
|
|
<dependency>
|
2018-07-25 00:06:58 +00:00
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
<version>1.18.0</version>
|
2017-12-29 18:12:47 +00:00
|
|
|
<scope>provided</scope>
|
2017-07-26 01:07:22 +00:00
|
|
|
</dependency>
|
2015-11-18 20:41:51 +00:00
|
|
|
|
2019-07-17 19:35:36 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>commons-io</groupId>
|
|
|
|
<artifactId>commons-io</artifactId>
|
|
|
|
<version>2.6</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2015-11-18 20:41:51 +00:00
|
|
|
<dependency>
|
2018-07-25 00:06:58 +00:00
|
|
|
<groupId>org.spigotmc</groupId>
|
|
|
|
<artifactId>spigot</artifactId>
|
2019-07-17 19:35:36 +00:00
|
|
|
<version>1.14-R0.1-SNAPSHOT</version>
|
2017-12-29 18:12:47 +00:00
|
|
|
<scope>provided</scope>
|
2015-11-18 20:41:51 +00:00
|
|
|
</dependency>
|
|
|
|
|
2016-03-02 19:28:01 +00:00
|
|
|
<dependency>
|
2017-01-07 23:37:25 +00:00
|
|
|
<groupId>com.github.Pravian</groupId>
|
|
|
|
<artifactId>Aero</artifactId>
|
2018-07-25 00:06:58 +00:00
|
|
|
<version>5f82926</version>
|
|
|
|
<scope>provided</scope>
|
2017-01-07 23:37:25 +00:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.TotalFreedom</groupId>
|
|
|
|
<artifactId>BukkitTelnet</artifactId>
|
2017-07-25 08:46:48 +00:00
|
|
|
<version>4.5-pre1</version>
|
2017-12-29 18:12:47 +00:00
|
|
|
<scope>provided</scope>
|
2016-03-02 19:28:01 +00:00
|
|
|
</dependency>
|
|
|
|
|
2018-07-25 00:06:58 +00:00
|
|
|
<dependency>
|
2018-07-25 00:16:04 +00:00
|
|
|
<groupId>com.github.TFPatches</groupId>
|
2018-07-25 00:06:58 +00:00
|
|
|
<artifactId>TF-LibsDisguises</artifactId>
|
2018-12-29 19:41:48 +00:00
|
|
|
<version>89efd2c93e</version>
|
2018-07-25 00:06:58 +00:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2019-07-17 19:35:36 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.TFPatches</groupId>
|
|
|
|
<artifactId>TotalFreedomMod</artifactId>
|
|
|
|
<version>4a91c81</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2018-07-25 00:06:58 +00:00
|
|
|
<dependency>
|
2018-08-08 21:37:48 +00:00
|
|
|
<groupId>com.github.TFPatches</groupId>
|
|
|
|
<artifactId>TF-WorldEdit</artifactId>
|
2019-01-28 01:49:07 +00:00
|
|
|
<version>0909dc1972</version>
|
2018-08-08 21:37:48 +00:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2017-07-26 01:07:22 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>net.ess3</groupId>
|
|
|
|
<artifactId>Essentials</artifactId>
|
|
|
|
<version>2.13.1</version>
|
2017-12-29 18:12:47 +00:00
|
|
|
<scope>provided</scope>
|
2017-07-26 01:07:22 +00:00
|
|
|
</dependency>
|
2018-01-14 21:53:05 +00:00
|
|
|
|
2017-10-14 13:33:53 +00:00
|
|
|
<dependency>
|
2018-07-25 00:06:58 +00:00
|
|
|
<groupId>org.bukkit</groupId>
|
|
|
|
<artifactId>craftbukkit</artifactId>
|
2018-12-29 19:41:48 +00:00
|
|
|
<version>1.13.2-R0.1-SNAPSHOT</version>
|
2018-07-25 00:06:58 +00:00
|
|
|
<scope>provided</scope>
|
2017-10-14 13:33:53 +00:00
|
|
|
</dependency>
|
2017-07-26 01:07:22 +00:00
|
|
|
|
2015-11-18 20:41:51 +00:00
|
|
|
<dependency>
|
2018-07-25 00:06:58 +00:00
|
|
|
<groupId>net.dv8tion</groupId>
|
|
|
|
<artifactId>JDA</artifactId>
|
2018-10-06 18:44:58 +00:00
|
|
|
<version>3.8.0_423</version>
|
2018-07-25 02:44:00 +00:00
|
|
|
<scope>provided</scope>
|
2015-11-18 20:41:51 +00:00
|
|
|
</dependency>
|
|
|
|
|
2017-10-14 13:33:53 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>net.coreprotect</groupId>
|
2018-07-26 21:08:48 +00:00
|
|
|
<artifactId>coreprotect</artifactId>
|
2019-04-23 07:36:51 +00:00
|
|
|
<version>2.16.3</version>
|
|
|
|
<scope>provided</scope>
|
2017-10-14 13:33:53 +00:00
|
|
|
</dependency>
|
2018-01-14 21:53:05 +00:00
|
|
|
|
2017-10-14 13:33:53 +00:00
|
|
|
<dependency>
|
2019-01-28 01:49:07 +00:00
|
|
|
<groupId>com.github.TFPatches</groupId>
|
|
|
|
<artifactId>TF-WorldGuard</artifactId>
|
|
|
|
<version>50fd4cb470</version>
|
2018-07-25 00:06:58 +00:00
|
|
|
<scope>provided</scope>
|
2017-10-14 13:33:53 +00:00
|
|
|
</dependency>
|
2015-11-18 20:41:51 +00:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<!-- Filter resources for build.properties -->
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
|
|
|
|
<plugins>
|
2016-03-06 15:56:15 +00:00
|
|
|
<!-- Compiler -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
2018-07-25 00:06:58 +00:00
|
|
|
<version>3.7.0</version>
|
2016-03-06 15:56:15 +00:00
|
|
|
<configuration>
|
|
|
|
<outputFileName>TotalFreedomMod.jar</outputFileName>
|
2018-06-02 05:36:37 +00:00
|
|
|
<compilerVersion>1.8</compilerVersion>
|
|
|
|
<source>1.8</source>
|
|
|
|
<target>1.8</target>
|
2016-03-06 15:56:15 +00:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2018-01-14 21:53:05 +00:00
|
|
|
|
2018-08-08 20:05:57 +00:00
|
|
|
<!-- Git describe -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>pl.project13.maven</groupId>
|
|
|
|
<artifactId>git-commit-id-plugin</artifactId>
|
2018-10-06 18:44:58 +00:00
|
|
|
<version>2.2.5</version>
|
2018-08-08 20:05:57 +00:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>get-the-git-infos</id>
|
|
|
|
<goals>
|
|
|
|
<goal>revision</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>validate-the-git-infos</id>
|
|
|
|
<goals>
|
|
|
|
<goal>validateRevision</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>package</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<dotGitDirectory>${project.basedir}/.git</dotGitDirectory>
|
|
|
|
<prefix>git</prefix>
|
|
|
|
<dateFormat>yyyy-MM-dd HH:mm:ss</dateFormat>
|
|
|
|
<verbose>false</verbose>
|
|
|
|
<format>properties</format>
|
|
|
|
<failOnNoGitDirectory>false</failOnNoGitDirectory>
|
|
|
|
<failOnUnableToExtractRepoInfo>false</failOnUnableToExtractRepoInfo>
|
|
|
|
<includeOnlyProperties>
|
|
|
|
<includeOnlyProperty>git.commit.id.abbrev</includeOnlyProperty>
|
|
|
|
</includeOnlyProperties>
|
|
|
|
<gitDescribe>
|
|
|
|
<skip>false</skip>
|
|
|
|
<always>false</always>
|
|
|
|
<abbrev>7</abbrev>
|
|
|
|
<dirty>-dirty</dirty>
|
|
|
|
<match>*</match>
|
|
|
|
</gitDescribe>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
2015-11-18 20:41:51 +00:00
|
|
|
<!-- Antrun -->
|
|
|
|
<plugin>
|
2018-06-02 08:18:28 +00:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2015-11-18 20:41:51 +00:00
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<version>1.8</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
2018-08-08 20:05:57 +00:00
|
|
|
<id>default-cli</id>
|
2015-11-18 20:41:51 +00:00
|
|
|
<phase>initialize</phase>
|
|
|
|
<configuration>
|
2016-03-06 15:56:15 +00:00
|
|
|
<target>
|
2018-08-08 20:05:57 +00:00
|
|
|
<propertyfile file="${project.basedir}/src/main/resources/build.properties"
|
2018-07-25 00:06:58 +00:00
|
|
|
comment="Build information. Edit this to your liking.">
|
|
|
|
<entry key="buildAuthor" default="unknown"/>
|
|
|
|
<entry key="buildNumber" default="0"/>
|
2018-08-08 21:51:40 +00:00
|
|
|
<entry key="buildCodeName" value="${tfm.build.codename}"/>
|
|
|
|
<entry key="buildVersion" value="${project.version}"/>
|
|
|
|
<entry key="buildDate" value="${timestamp}"/>
|
|
|
|
<entry key="buildHead" value="${git.commit.id.abbrev}"/>
|
2015-11-18 20:41:51 +00:00
|
|
|
</propertyfile>
|
2016-03-06 15:56:15 +00:00
|
|
|
</target>
|
2015-11-18 20:41:51 +00:00
|
|
|
</configuration>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<!-- Properties -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>properties-maven-plugin</artifactId>
|
|
|
|
<version>1.0.0</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>initialize</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>read-project-properties</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<files>
|
2018-08-08 20:05:57 +00:00
|
|
|
<file>${project.basedir}/src/main/resources/build.properties</file>
|
2015-11-18 20:41:51 +00:00
|
|
|
</files>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
2015-11-22 18:26:47 +00:00
|
|
|
<!-- Checkstyle -->
|
2015-11-18 20:41:51 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2015-11-22 18:26:47 +00:00
|
|
|
<version>2.17</version>
|
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>process-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>check</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2015-11-18 20:41:51 +00:00
|
|
|
<configuration>
|
2015-11-22 18:26:47 +00:00
|
|
|
<configLocation>checkstyle.xml</configLocation>
|
|
|
|
<consoleOutput>true</consoleOutput>
|
|
|
|
<failsOnError>true</failsOnError>
|
|
|
|
<failOnViolation>true</failOnViolation>
|
2015-11-18 20:41:51 +00:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<!-- Buildnumber -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>buildnumber-maven-plugin</artifactId>
|
|
|
|
<version>1.4</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>create</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
|
|
|
|
<configuration>
|
|
|
|
<buildNumberPropertyName>maven.buildnumber</buildNumberPropertyName>
|
2018-08-08 20:05:57 +00:00
|
|
|
<buildNumberPropertiesFileLocation>${project.basedir}/src/main/resources/build.properties
|
2018-07-25 00:06:58 +00:00
|
|
|
</buildNumberPropertiesFileLocation>
|
2016-05-12 19:40:39 +00:00
|
|
|
<format>{0,number,#}</format>
|
2015-11-18 20:41:51 +00:00
|
|
|
<items>
|
|
|
|
<item>buildNumber</item>
|
|
|
|
</items>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2019-07-17 19:35:36 +00:00
|
|
|
|
|
|
|
<!-- Shade -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
|
|
<version>2.4.3</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<minimizeJar>true</minimizeJar>
|
|
|
|
<artifactSet>
|
|
|
|
<includes>
|
|
|
|
<include>commons-io:commons-io</include>
|
|
|
|
</includes>
|
|
|
|
</artifactSet>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2015-11-18 20:41:51 +00:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
2015-11-22 18:26:47 +00:00
|
|
|
|
|
|
|
<reporting>
|
|
|
|
<!-- Checkstyle -->
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<version>2.17</version>
|
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<configLocation>checkstyle.xml</configLocation>
|
|
|
|
<failOnViolation>true</failOnViolation>
|
|
|
|
<failsOnError>true</failsOnError>
|
|
|
|
<consoleOutput>true</consoleOutput>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</reporting>
|
2018-07-25 00:06:58 +00:00
|
|
|
</project>
|