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>
|
2019-11-28 09:28:48 +00:00
|
|
|
<artifactId>TotalFreedomMod</artifactId>
|
2023-03-09 02:58:14 +00:00
|
|
|
<version>2022.06.1</version>
|
2015-11-18 20:41:51 +00:00
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
2021-02-26 16:53:00 +00:00
|
|
|
<tfm.build.codename>Phoenix</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>
|
2020-12-24 18:09:42 +00:00
|
|
|
<url>https://github.com/AtlasMediaGroup/TotalFreedomMod</url>
|
2015-11-18 20:41:51 +00:00
|
|
|
|
|
|
|
<licenses>
|
|
|
|
<license>
|
|
|
|
<name>TotalFreedom General License</name>
|
|
|
|
<url>https://github.com/TotalFreedom/License/blob/master/LICENSE.md</url>
|
|
|
|
</license>
|
|
|
|
</licenses>
|
|
|
|
|
|
|
|
<organization>
|
2020-01-12 02:59:12 +00:00
|
|
|
<name>TotalFreedom</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>
|
2021-09-04 00:07:04 +00:00
|
|
|
|
2017-01-07 23:37:25 +00:00
|
|
|
<repository>
|
2021-09-11 00:19:08 +00:00
|
|
|
<id>atlas-nexus-01-totalfreedom-development</id>
|
|
|
|
<url>https://nexus-01.core.atlas-media.co.uk/repository/totalfreedom-development/</url>
|
2017-01-07 23:37:25 +00:00
|
|
|
</repository>
|
2018-07-25 00:06:58 +00:00
|
|
|
|
2020-08-02 20:26:21 +00:00
|
|
|
<repository>
|
|
|
|
<id>CodeMC</id>
|
2020-08-31 00:13:46 +00:00
|
|
|
<url>https://repo.codemc.org/repository/maven-public/</url>
|
|
|
|
</repository>
|
|
|
|
|
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
|
|
|
|
2020-04-14 06:40:22 +00:00
|
|
|
<repository>
|
|
|
|
<id>enginehub</id>
|
|
|
|
<url>https://maven.enginehub.org/repo/</url>
|
|
|
|
</repository>
|
|
|
|
|
2017-10-14 13:33:53 +00:00
|
|
|
<repository>
|
2018-07-25 00:06:58 +00:00
|
|
|
<id>elmakers-repo</id>
|
2020-12-24 22:52:35 +00:00
|
|
|
<url>https://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>
|
2020-12-24 22:52:35 +00:00
|
|
|
<url>https://maven.sk89q.com/artifactory/repo</url>
|
2018-07-25 00:06:58 +00:00
|
|
|
</repository>
|
|
|
|
|
|
|
|
<repository>
|
2021-04-09 11:20:33 +00:00
|
|
|
<id>dv8tion</id>
|
|
|
|
<name>m2-dv8tion</name>
|
|
|
|
<url>https://m2.dv8tion.net/releases/</url>
|
2018-07-25 00:06:58 +00:00
|
|
|
</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>
|
2020-12-24 22:52:35 +00:00
|
|
|
<url>https://repo.md-5.net/content/groups/public/</url>
|
2018-07-25 00:06:58 +00:00
|
|
|
</repository>
|
|
|
|
|
|
|
|
<repository>
|
|
|
|
<id>dmulloy2-repo</id>
|
2020-12-24 22:52:35 +00:00
|
|
|
<url>https://repo.dmulloy2.net/nexus/repository/public/</url>
|
2018-07-25 00:06:58 +00:00
|
|
|
</repository>
|
|
|
|
|
|
|
|
<repository>
|
|
|
|
<id>sk89q-repo</id>
|
2020-12-24 22:52:35 +00:00
|
|
|
<url>https://maven.sk89q.com/repo/</url>
|
2017-01-08 12:42:49 +00:00
|
|
|
</repository>
|
2019-11-13 02:50:53 +00:00
|
|
|
|
2020-01-15 23:10:00 +00:00
|
|
|
<repository>
|
2021-09-04 00:07:04 +00:00
|
|
|
<id>esentialsx-repo</id>
|
|
|
|
<url>https://repo.essentialsx.net/releases/</url>
|
2020-08-13 03:07:15 +00:00
|
|
|
</repository>
|
2022-07-16 22:03:23 +00:00
|
|
|
|
2015-11-18 20:41:51 +00:00
|
|
|
</repositories>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
2019-07-17 19:35:36 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>commons-io</groupId>
|
|
|
|
<artifactId>commons-io</artifactId>
|
2023-07-24 23:10:19 +00:00
|
|
|
<version>2.13.0</version>
|
2019-07-17 19:35:36 +00:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2019-07-31 04:35:41 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
2021-09-12 08:09:28 +00:00
|
|
|
<version>3.12.0</version>
|
2019-07-31 04:35:41 +00:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2020-10-29 23:47:53 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.bstats</groupId>
|
|
|
|
<artifactId>bstats-bukkit</artifactId>
|
2023-07-24 23:10:19 +00:00
|
|
|
<version>3.0.2</version>
|
2022-03-06 10:20:47 +00:00
|
|
|
<scope>compile</scope>
|
2020-01-25 06:27:16 +00:00
|
|
|
</dependency>
|
|
|
|
|
2015-11-18 20:41:51 +00:00
|
|
|
<dependency>
|
2022-07-16 22:03:23 +00:00
|
|
|
<groupId>me.totalfreedom.scissors</groupId>
|
2023-02-20 17:44:57 +00:00
|
|
|
<artifactId>Scissors-API</artifactId>
|
2023-06-11 20:27:27 +00:00
|
|
|
<version>1.19.4-R0.1-SNAPSHOT</version>
|
2017-12-29 18:12:47 +00:00
|
|
|
<scope>provided</scope>
|
2015-11-18 20:41:51 +00:00
|
|
|
</dependency>
|
|
|
|
|
2017-01-07 23:37:25 +00:00
|
|
|
<dependency>
|
2020-10-29 23:47:53 +00:00
|
|
|
<groupId>com.github.TotalFreedomMC</groupId>
|
2017-01-07 23:37:25 +00:00
|
|
|
<artifactId>BukkitTelnet</artifactId>
|
2020-10-29 23:47:53 +00:00
|
|
|
<version>541e9fdb84</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>
|
2021-06-24 20:21:39 +00:00
|
|
|
<groupId>com.github.AtlasMediaGroup</groupId>
|
2020-07-07 08:36:29 +00:00
|
|
|
<artifactId>TF-LibsDisguises</artifactId>
|
2021-06-24 20:21:39 +00:00
|
|
|
<version>5a340341b0</version>
|
2020-08-18 04:53:21 +00:00
|
|
|
<scope>provided</scope>
|
2019-07-17 19:35:36 +00:00
|
|
|
</dependency>
|
|
|
|
|
2018-07-25 00:06:58 +00:00
|
|
|
<dependency>
|
2020-04-14 06:40:22 +00:00
|
|
|
<groupId>com.sk89q.worldedit</groupId>
|
|
|
|
<artifactId>worldedit-bukkit</artifactId>
|
2023-07-01 22:28:55 +00:00
|
|
|
<version>7.2.15</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
|
|
|
|
2015-11-18 20:41:51 +00:00
|
|
|
<dependency>
|
2018-07-25 00:06:58 +00:00
|
|
|
<groupId>net.dv8tion</groupId>
|
|
|
|
<artifactId>JDA</artifactId>
|
2023-07-24 23:10:19 +00:00
|
|
|
<version>4.4.1_353</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>
|
2023-07-24 23:10:19 +00:00
|
|
|
<version>21.3</version>
|
2019-04-23 07:36:51 +00:00
|
|
|
<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>
|
2020-04-14 06:40:22 +00:00
|
|
|
<groupId>com.sk89q.worldguard</groupId>
|
|
|
|
<artifactId>worldguard-bukkit</artifactId>
|
2023-07-24 23:16:26 +00:00
|
|
|
<version>7.0.8</version>
|
2018-07-25 00:06:58 +00:00
|
|
|
<scope>provided</scope>
|
2017-10-14 13:33:53 +00:00
|
|
|
</dependency>
|
2020-01-15 23:10:00 +00:00
|
|
|
|
|
|
|
<dependency>
|
2020-08-31 00:13:46 +00:00
|
|
|
<groupId>io.papermc</groupId>
|
|
|
|
<artifactId>paperlib</artifactId>
|
2023-07-24 23:10:19 +00:00
|
|
|
<version>1.0.8</version>
|
2020-08-31 00:13:46 +00:00
|
|
|
<scope>compile</scope>
|
2020-01-15 23:10:00 +00:00
|
|
|
</dependency>
|
2020-01-25 06:27:16 +00:00
|
|
|
|
2020-04-08 02:20:01 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.vexsoftware</groupId>
|
|
|
|
<artifactId>votifier</artifactId>
|
|
|
|
<version>v1.9</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2021-09-04 00:07:04 +00:00
|
|
|
|
2020-04-29 23:29:43 +00:00
|
|
|
<dependency>
|
2022-02-16 21:02:00 +00:00
|
|
|
<groupId>net.essentialsx</groupId>
|
2021-09-04 00:07:04 +00:00
|
|
|
<artifactId>EssentialsX</artifactId>
|
2023-07-24 23:16:26 +00:00
|
|
|
<version>2.20.0</version>
|
2022-02-16 21:02:00 +00:00
|
|
|
<scope>provided</scope>
|
2020-04-29 23:29:43 +00:00
|
|
|
</dependency>
|
|
|
|
|
2020-07-01 01:51:06 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.reflections</groupId>
|
|
|
|
<artifactId>reflections</artifactId>
|
2022-06-05 19:18:11 +00:00
|
|
|
<version>0.10.2</version>
|
2020-10-29 23:47:53 +00:00
|
|
|
<scope>compile</scope>
|
2020-07-01 01:51:06 +00:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
2020-10-29 23:47:53 +00:00
|
|
|
<groupId>org.javassist</groupId>
|
2020-07-01 01:51:06 +00:00
|
|
|
<artifactId>javassist</artifactId>
|
2022-08-12 01:27:24 +00:00
|
|
|
<version>3.29.1-GA</version>
|
2020-10-29 23:47:53 +00:00
|
|
|
<scope>compile</scope>
|
2020-07-01 01:51:06 +00:00
|
|
|
</dependency>
|
|
|
|
|
2021-03-02 05:03:49 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.jetbrains</groupId>
|
|
|
|
<artifactId>annotations</artifactId>
|
2023-07-24 23:10:19 +00:00
|
|
|
<version>24.0.1</version>
|
2021-03-02 05:03:49 +00:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2020-08-01 04:10:44 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
2023-07-24 23:10:19 +00:00
|
|
|
<version>3.4.1</version>
|
2020-10-29 23:47:53 +00:00
|
|
|
<scope>compile</scope>
|
2020-08-01 04:10:44 +00:00
|
|
|
</dependency>
|
2021-09-04 00:07:04 +00:00
|
|
|
|
2021-03-02 05:03:49 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.junit.jupiter</groupId>
|
|
|
|
<artifactId>junit-jupiter</artifactId>
|
2023-07-24 23:10:19 +00:00
|
|
|
<version>5.10.0</version>
|
2021-03-02 05:03:49 +00:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2021-09-04 00:07:04 +00:00
|
|
|
|
2021-05-17 05:50:09 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.sisu</groupId>
|
|
|
|
<artifactId>org.eclipse.sisu.inject</artifactId>
|
2022-06-05 21:09:23 +00:00
|
|
|
<version>0.3.5</version>
|
2021-05-17 05:50:09 +00:00
|
|
|
</dependency>
|
2015-11-18 20:41:51 +00:00
|
|
|
</dependencies>
|
|
|
|
|
2021-11-29 09:35:36 +00:00
|
|
|
<pluginRepositories>
|
|
|
|
<pluginRepository>
|
|
|
|
<id>apache.snapshots</id>
|
|
|
|
<url>https://repository.apache.org/snapshots/</url>
|
|
|
|
</pluginRepository>
|
|
|
|
</pluginRepositories>
|
|
|
|
|
2015-11-18 20:41:51 +00:00
|
|
|
<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>
|
2023-07-24 23:10:19 +00:00
|
|
|
<version>3.11.0</version>
|
2016-03-06 15:56:15 +00:00
|
|
|
<configuration>
|
|
|
|
<outputFileName>TotalFreedomMod.jar</outputFileName>
|
2021-11-29 14:03:29 +00:00
|
|
|
<compilerVersion>17</compilerVersion>
|
|
|
|
<source>17</source>
|
|
|
|
<target>17</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>
|
2021-09-12 11:13:56 +00:00
|
|
|
<version>4.9.10</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>
|
2022-05-01 11:42:11 +00:00
|
|
|
<version>3.1.0</version>
|
2015-11-18 20:41:51 +00:00
|
|
|
<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}"/>
|
2020-08-13 03:07:15 +00:00
|
|
|
<!--suppress UnresolvedMavenProperty -->
|
|
|
|
<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>
|
2022-06-05 21:44:38 +00:00
|
|
|
<version>1.1.0</version>
|
2015-11-18 20:41:51 +00:00
|
|
|
<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>
|
|
|
|
|
|
|
|
<!-- Buildnumber -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>buildnumber-maven-plugin</artifactId>
|
2023-07-24 23:10:19 +00:00
|
|
|
<version>3.2.0</version>
|
2015-11-18 20:41:51 +00:00
|
|
|
<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>
|
2020-08-03 01:59:47 +00:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
2022-05-01 14:41:53 +00:00
|
|
|
<version>3.3.0</version>
|
2020-08-03 01:59:47 +00:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<minimizeJar>true</minimizeJar>
|
2020-09-12 03:27:26 +00:00
|
|
|
<relocations>
|
|
|
|
<relocation>
|
|
|
|
<pattern>io.papermc.lib</pattern>
|
2021-05-17 05:50:09 +00:00
|
|
|
<shadedPattern>me.totalfreedom.totalfreedommod.paperlib
|
|
|
|
</shadedPattern> <!-- Replace this -->
|
2020-09-12 03:27:26 +00:00
|
|
|
</relocation>
|
2020-10-29 23:47:53 +00:00
|
|
|
<relocation>
|
|
|
|
<pattern>org.bstats</pattern>
|
|
|
|
<shadedPattern>me.totalfreedom.totalfreedommod</shadedPattern>
|
|
|
|
</relocation>
|
2020-09-12 03:27:26 +00:00
|
|
|
</relocations>
|
2020-08-03 01:59:47 +00:00
|
|
|
<artifactSet>
|
|
|
|
<includes>
|
|
|
|
<include>org.reflections:reflections</include>
|
2020-09-12 03:27:26 +00:00
|
|
|
<include>io.papermc:paperlib</include>
|
2020-10-29 23:47:53 +00:00
|
|
|
<include>org.bstats:bstats-bukkit</include>
|
2021-10-03 12:45:02 +00:00
|
|
|
<include>org.bstats:bstats-base</include>
|
2020-08-03 01:59:47 +00:00
|
|
|
</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>
|
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
2021-08-21 14:21:18 +00:00
|
|
|
<version>3.1.2</version>
|
2015-11-22 18:26:47 +00:00
|
|
|
<configuration>
|
|
|
|
<configLocation>checkstyle.xml</configLocation>
|
|
|
|
<failOnViolation>true</failOnViolation>
|
|
|
|
<failsOnError>true</failsOnError>
|
|
|
|
<consoleOutput>true</consoleOutput>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</reporting>
|
2020-12-24 22:52:35 +00:00
|
|
|
</project>
|