mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-16 20:36:12 +00:00
425 lines
15 KiB
XML
425 lines
15 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
|
|
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>me.totalfreedom</groupId>
|
|
<artifactId>TotalFreedomMod</artifactId>
|
|
<version>5.5</version>
|
|
<packaging>jar</packaging>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<tfm.build.codename>lttstore.com</tfm.build.codename>
|
|
<jar.finalName>${project.name}</jar.finalName>
|
|
<timestamp>${maven.build.timestamp}</timestamp>
|
|
<maven.build.timestamp.format>MM/dd/yyyy HH:mm</maven.build.timestamp.format>
|
|
</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>
|
|
<name>TotalFreedom</name>
|
|
<url>https://totalfreedom.me</url>
|
|
</organization>
|
|
|
|
<scm>
|
|
<connection>scm:git:git@github.com:TFPatches/TotalFreedomMod.git</connection>
|
|
<developerConnection>scm:git:git@github.com:TFPatches/TotalFreedomMod.git</developerConnection>
|
|
<url>git@github.com:TFPatches/TotalFreedomMod.git</url>
|
|
</scm>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>jitpack.io</id>
|
|
<url>https://jitpack.io</url>
|
|
</repository>
|
|
|
|
<repository>
|
|
<id>spigot-repo</id>
|
|
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
|
|
</repository>
|
|
|
|
<repository>
|
|
<id>enginehub</id>
|
|
<url>https://maven.enginehub.org/repo/</url>
|
|
</repository>
|
|
|
|
<repository>
|
|
<id>elmakers-repo</id>
|
|
<url>http://maven.elmakers.com/repository/</url>
|
|
</repository>
|
|
|
|
<repository>
|
|
<id>sk89q-snapshots</id>
|
|
<url>http://maven.sk89q.com/artifactory/repo</url>
|
|
</repository>
|
|
|
|
<repository>
|
|
<id>jcenter</id>
|
|
<name>jcenter-bintray</name>
|
|
<url>https://jcenter.bintray.com</url>
|
|
</repository>
|
|
|
|
<repository>
|
|
<id>playpro</id>
|
|
<url>https://maven.playpro.com/</url>
|
|
</repository>
|
|
|
|
<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>
|
|
</repository>
|
|
|
|
<repository>
|
|
<id>CodeMC</id>
|
|
<url>https://repo.codemc.org/repository/maven-public</url>
|
|
</repository>
|
|
|
|
<repository>
|
|
<id>papermc</id>
|
|
<url>https://papermc.io/repo/repository/maven-public/</url>
|
|
</repository>
|
|
|
|
<repository>
|
|
<id>rayzr-repo</id>
|
|
<url>https://cdn.rawgit.com/Rayzr522/maven-repo/master/</url>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<version>1.18.0</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>commons-io</groupId>
|
|
<artifactId>commons-io</artifactId>
|
|
<version>2.6</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-lang3</artifactId>
|
|
<version>3.9</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>commons-codec</groupId>
|
|
<artifactId>commons-codec</artifactId>
|
|
<version>1.9</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.spigotmc</groupId>
|
|
<artifactId>spigot</artifactId>
|
|
<version>1.16.1-R0.1-SNAPSHOT</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.github.TotalFreedom</groupId>
|
|
<artifactId>BukkitTelnet</artifactId>
|
|
<version>4.5-pre1</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.github.libraryaddict</groupId>
|
|
<artifactId>LibsDisguises</artifactId>
|
|
<version>31672fce7b</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.sk89q.worldedit</groupId>
|
|
<artifactId>worldedit-bukkit</artifactId>
|
|
<version>7.1.0</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>net.ess3</groupId>
|
|
<artifactId>EssentialsX</artifactId>
|
|
<version>2.16.1</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>net.dv8tion</groupId>
|
|
<artifactId>JDA</artifactId>
|
|
<version>4.0.0_39</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>net.coreprotect</groupId>
|
|
<artifactId>coreprotect</artifactId>
|
|
<version>2.16.3</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.sk89q.worldguard</groupId>
|
|
<artifactId>worldguard-bukkit</artifactId>
|
|
<version>7.0.2</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.destroystokyo.paper</groupId>
|
|
<artifactId>paper-api</artifactId>
|
|
<version>1.16.1-R0.1-SNAPSHOT</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>me.rayzr522</groupId>
|
|
<artifactId>jsonmessage</artifactId>
|
|
<version>1.0.0</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.github.vexsoftware</groupId>
|
|
<artifactId>votifier</artifactId>
|
|
<version>v1.9</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.bukkit</groupId>
|
|
<artifactId>bukkit</artifactId>
|
|
<version>1.16.1-R0.1-SNAPSHOT</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>net.goldtreeservers</groupId>
|
|
<artifactId>worldguardextraflags</artifactId>
|
|
<version>4.0.0</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.reflections</groupId>
|
|
<artifactId>reflections</artifactId>
|
|
<version>0.9.11</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>javassist</groupId>
|
|
<artifactId>javassist</artifactId>
|
|
<version>3.12.1.GA</version>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
<!-- Filter resources for build.properties -->
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<filtering>true</filtering>
|
|
</resource>
|
|
</resources>
|
|
|
|
<plugins>
|
|
<!-- Compiler -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.7.0</version>
|
|
<configuration>
|
|
<outputFileName>TotalFreedomMod.jar</outputFileName>
|
|
<compilerVersion>1.8</compilerVersion>
|
|
<source>1.8</source>
|
|
<target>1.8</target>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<!-- Git describe -->
|
|
<plugin>
|
|
<groupId>pl.project13.maven</groupId>
|
|
<artifactId>git-commit-id-plugin</artifactId>
|
|
<version>2.2.5</version>
|
|
<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>
|
|
|
|
<!-- Antrun -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
<version>1.8</version>
|
|
<executions>
|
|
<execution>
|
|
<id>default-cli</id>
|
|
<phase>initialize</phase>
|
|
<configuration>
|
|
<target>
|
|
<propertyfile file="${project.basedir}/src/main/resources/build.properties"
|
|
comment="Build information. Edit this to your liking.">
|
|
<entry key="buildAuthor" default="unknown"/>
|
|
<entry key="buildNumber" default="0"/>
|
|
<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}"/>-->
|
|
</propertyfile>
|
|
</target>
|
|
</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>
|
|
<file>${project.basedir}/src/main/resources/build.properties</file>
|
|
</files>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</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>
|
|
<buildNumberPropertiesFileLocation>${project.basedir}/src/main/resources/build.properties
|
|
</buildNumberPropertiesFileLocation>
|
|
<format>{0,number,#}</format>
|
|
<items>
|
|
<item>buildNumber</item>
|
|
</items>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<!-- Shade -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>3.2.4</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
<configuration>
|
|
<minimizeJar>true</minimizeJar>
|
|
<artifactSet>
|
|
<includes>
|
|
<include>commons-io:commons-io</include>
|
|
<include>org.apache.commons:commons-lang3</include>
|
|
<include>commons-codec:commons-codec</include>
|
|
<include>org.reflections:reflections</include>
|
|
<include>javassist:javassist</include>
|
|
</includes>
|
|
</artifactSet>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
|
|
<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>
|
|
</project> |