2018-08-04 04:10:09 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2018-08-17 04:00:01 +02:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
2019-02-11 14:12:59 +01:00
|
|
|
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>
|
2018-08-04 04:10:09 +02:00
|
|
|
|
2019-02-11 14:12:59 +01:00
|
|
|
<groupId>world.bentobox</groupId>
|
|
|
|
<artifactId>bentobox</artifactId>
|
2019-03-08 20:36:53 +01:00
|
|
|
<version>${revision}</version>
|
2018-08-04 04:10:09 +02:00
|
|
|
|
2019-02-11 14:12:59 +01:00
|
|
|
<name>BentoBox</name>
|
2019-05-19 16:16:20 +02:00
|
|
|
<description>Highly scalable and customizable Minecraft Spigot plugin that enables you to run island-type gamemodes.</description>
|
2019-02-11 14:12:59 +01:00
|
|
|
<url>https://github.com/BentoBoxWorld/BentoBox</url>
|
|
|
|
<inceptionYear>2017</inceptionYear>
|
2018-08-04 04:10:09 +02:00
|
|
|
|
2019-06-16 14:06:00 +02:00
|
|
|
<developers>
|
|
|
|
<developer>
|
|
|
|
<id>Poslovitch</id>
|
|
|
|
<email>poslovitch@bentobox.world</email>
|
|
|
|
<timezone>1</timezone>
|
|
|
|
<roles>
|
2019-09-14 21:08:08 +02:00
|
|
|
<role>Project Manager</role>
|
2019-06-16 14:06:00 +02:00
|
|
|
<role>Developer</role>
|
|
|
|
</roles>
|
|
|
|
</developer>
|
|
|
|
<developer>
|
|
|
|
<id>tastybento</id>
|
|
|
|
<email>tastybento@bentobox.world</email>
|
|
|
|
<timezone>-8</timezone>
|
|
|
|
<roles>
|
|
|
|
<role>Developer</role>
|
|
|
|
</roles>
|
|
|
|
</developer>
|
|
|
|
</developers>
|
|
|
|
|
2019-02-11 14:12:59 +01:00
|
|
|
<scm>
|
|
|
|
<connection>scm:git:https://github.com/BentoBoxWorld/BentoBox.git</connection>
|
|
|
|
<developerConnection>scm:git:git@github.com:BentoBoxWorld/BentoBox.git</developerConnection>
|
|
|
|
<url>https://github.com/BentoBoxWorld/BentoBox</url>
|
|
|
|
</scm>
|
2018-08-04 04:10:09 +02:00
|
|
|
|
2019-02-11 14:12:59 +01:00
|
|
|
<ciManagement>
|
|
|
|
<system>jenkins</system>
|
2019-11-14 00:10:33 +01:00
|
|
|
<url>https://ci.codemc.org/job/BentoBoxWorld/job/BentoBox</url>
|
2019-02-11 14:12:59 +01:00
|
|
|
</ciManagement>
|
2018-08-04 04:10:09 +02:00
|
|
|
|
2019-02-11 14:12:59 +01:00
|
|
|
<issueManagement>
|
|
|
|
<system>GitHub</system>
|
|
|
|
<url>https://github.com/BentoBoxWorld/BentoBox/issues</url>
|
|
|
|
</issueManagement>
|
2018-08-04 04:10:09 +02:00
|
|
|
|
2019-02-11 14:12:59 +01:00
|
|
|
<distributionManagement>
|
|
|
|
<snapshotRepository>
|
|
|
|
<id>codemc-snapshots</id>
|
|
|
|
<url>https://repo.codemc.org/repository/maven-snapshots</url>
|
|
|
|
</snapshotRepository>
|
|
|
|
<repository>
|
|
|
|
<id>codemc-releases</id>
|
|
|
|
<url>https://repo.codemc.org/repository/maven-releases</url>
|
|
|
|
</repository>
|
|
|
|
</distributionManagement>
|
2018-08-04 04:10:09 +02:00
|
|
|
|
2019-02-11 14:12:59 +01:00
|
|
|
<properties>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
2022-06-13 23:38:53 +02:00
|
|
|
<java.version>17</java.version>
|
2019-03-08 20:36:53 +01:00
|
|
|
<!-- Non-minecraft related dependencies -->
|
2021-06-20 21:18:10 +02:00
|
|
|
<powermock.version>2.0.9</powermock.version>
|
2022-10-04 11:31:51 +02:00
|
|
|
<!-- Database related dependencies -->
|
2023-07-08 17:33:24 +02:00
|
|
|
<mongodb.version>3.12.12</mongodb.version>
|
2022-10-04 11:31:51 +02:00
|
|
|
<mariadb.version>3.0.5</mariadb.version>
|
|
|
|
<mysql.version>8.0.27</mysql.version>
|
|
|
|
<postgresql.version>42.2.18</postgresql.version>
|
|
|
|
<hikaricp.version>5.0.1</hikaricp.version>
|
2020-02-13 10:34:37 +01:00
|
|
|
<!-- More visible way to change dependency versions -->
|
2024-01-05 05:22:03 +01:00
|
|
|
<spigot.version>1.20.4-R0.1-SNAPSHOT</spigot.version>
|
2020-12-19 19:29:26 +01:00
|
|
|
<!-- Might differ from the last Spigot release for short periods
|
|
|
|
of time -->
|
2024-01-05 05:22:03 +01:00
|
|
|
<paper.version>1.20.4-R0.1-SNAPSHOT</paper.version>
|
2022-12-29 19:01:25 +01:00
|
|
|
<bstats.version>3.0.0</bstats.version>
|
2022-12-28 21:37:33 +01:00
|
|
|
<vault.version>1.7.1</vault.version>
|
2021-01-16 10:50:29 +01:00
|
|
|
<placeholderapi.version>2.10.9</placeholderapi.version>
|
2022-12-29 19:01:25 +01:00
|
|
|
<githubapi.version>d5f5e0bbd8</githubapi.version>
|
2019-09-14 21:08:08 +02:00
|
|
|
<dynmap.version>3.0-SNAPSHOT</dynmap.version>
|
2023-01-01 01:41:17 +01:00
|
|
|
<myworlds.version>1.19.3-v1</myworlds.version>
|
2019-03-08 20:36:53 +01:00
|
|
|
<!-- Revision variable removes warning about dynamic version -->
|
2019-05-14 10:22:48 +02:00
|
|
|
<revision>${build.version}-SNAPSHOT</revision>
|
|
|
|
<!-- Do not change unless you want different name for local builds. -->
|
|
|
|
<build.number>-LOCAL</build.number>
|
2019-03-08 20:36:53 +01:00
|
|
|
<!-- This allows to change between versions. -->
|
2024-03-03 04:23:31 +01:00
|
|
|
<build.version>2.1.2</build.version>
|
2021-09-13 05:22:43 +02:00
|
|
|
<sonar.organization>bentobox-world</sonar.organization>
|
|
|
|
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
|
2023-03-26 19:05:54 +02:00
|
|
|
<server.jars>${project.basedir}/lib</server.jars>
|
2019-02-11 14:12:59 +01:00
|
|
|
</properties>
|
2018-08-04 04:10:09 +02:00
|
|
|
|
2019-03-08 20:36:53 +01:00
|
|
|
<!-- Profiles will allow to automatically change build version. -->
|
|
|
|
<profiles>
|
|
|
|
<profile>
|
2019-11-14 00:10:33 +01:00
|
|
|
<!-- ci profile is activated if exist environment variable BUILD_NUMBER. -->
|
|
|
|
<!-- It replaces ${build.number} that is currently '-LOCAL' with
|
|
|
|
correct build number from JENKINS machine. -->
|
2019-05-14 10:22:48 +02:00
|
|
|
<id>ci</id>
|
2019-03-08 20:36:53 +01:00
|
|
|
<activation>
|
2019-05-14 10:22:48 +02:00
|
|
|
<property>
|
|
|
|
<name>env.BUILD_NUMBER</name>
|
|
|
|
</property>
|
2019-03-08 20:36:53 +01:00
|
|
|
</activation>
|
|
|
|
<properties>
|
2019-05-14 10:22:48 +02:00
|
|
|
<!-- Override only if necessary -->
|
|
|
|
<build.number>-b${env.BUILD_NUMBER}</build.number>
|
2019-03-08 20:36:53 +01:00
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
2019-11-14 00:10:33 +01:00
|
|
|
<!-- Master profile is activated if exist environment variable
|
|
|
|
GIT_BRANCH and its value is origin/master. -->
|
|
|
|
<!-- It will replace 'revision' with '${build.version}' so it
|
|
|
|
removes '-SNAPSHOT' string at the end. -->
|
|
|
|
<!-- Also, as this is release build, build number can be set
|
|
|
|
to empty string. -->
|
|
|
|
<!-- This profile will be used only if exist environment variable
|
|
|
|
GIT_BRANCH with value origin/master. -->
|
2019-03-08 20:36:53 +01:00
|
|
|
<id>master</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>env.GIT_BRANCH</name>
|
|
|
|
<value>origin/master</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
2023-07-08 17:33:24 +02:00
|
|
|
<!--suppress CheckTagEmptyBody -->
|
2019-03-08 20:36:53 +01:00
|
|
|
<properties>
|
2019-05-14 10:22:48 +02:00
|
|
|
<!-- Override only if necessary -->
|
2019-03-08 20:36:53 +01:00
|
|
|
<revision>${build.version}</revision>
|
2019-11-14 00:10:33 +01:00
|
|
|
<!-- Empties build number variable. -->
|
2019-05-14 10:22:48 +02:00
|
|
|
<build.number></build.number>
|
2019-03-08 20:36:53 +01:00
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
|
2021-07-09 02:18:59 +02:00
|
|
|
<pluginRepositories>
|
|
|
|
<pluginRepository>
|
|
|
|
<id>apache.snapshots</id>
|
|
|
|
<url>https://repository.apache.org/snapshots/</url>
|
|
|
|
</pluginRepository>
|
|
|
|
</pluginRepositories>
|
|
|
|
|
2019-02-11 14:12:59 +01:00
|
|
|
<repositories>
|
|
|
|
<repository>
|
|
|
|
<id>spigot-repo</id>
|
|
|
|
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots</url>
|
|
|
|
</repository>
|
|
|
|
<repository>
|
|
|
|
<id>codemc-repo</id>
|
|
|
|
<url>https://repo.codemc.org/repository/maven-public</url>
|
|
|
|
</repository>
|
|
|
|
<repository>
|
2019-02-18 21:19:12 +01:00
|
|
|
<id>jitpack.io</id>
|
|
|
|
<url>https://jitpack.io</url>
|
2019-02-11 14:12:59 +01:00
|
|
|
</repository>
|
|
|
|
<repository>
|
|
|
|
<id>placeholderapi-repo</id>
|
2021-05-12 06:36:03 +02:00
|
|
|
<url>https://repo.extendedclip.com/content/repositories/placeholderapi/</url>
|
2019-02-11 14:12:59 +01:00
|
|
|
</repository>
|
2019-04-13 14:22:05 +02:00
|
|
|
<repository>
|
|
|
|
<id>dynmap-repo</id>
|
2019-11-14 00:10:33 +01:00
|
|
|
<url>https://repo.mikeprimm.com/</url>
|
2019-04-13 14:22:05 +02:00
|
|
|
</repository>
|
2019-11-14 00:10:33 +01:00
|
|
|
<repository>
|
|
|
|
<id>papermc</id>
|
2022-06-13 23:38:53 +02:00
|
|
|
<url>https://repo.papermc.io/repository/maven-public/</url>
|
2019-06-30 14:12:51 +02:00
|
|
|
</repository>
|
2021-07-07 03:16:21 +02:00
|
|
|
<repository>
|
|
|
|
<!-- This is a temporary reference as the Maven Shade plugin
|
|
|
|
that supports Java 16 is not released yet -->
|
|
|
|
<id>maven-snapshots</id>
|
|
|
|
<url>https://repository.apache.org/content/repositories/snapshots/</url>
|
|
|
|
</repository>
|
2022-01-02 02:38:27 +01:00
|
|
|
<repository>
|
|
|
|
<id>minecraft-repo</id>
|
|
|
|
<url>https://libraries.minecraft.net/</url>
|
|
|
|
</repository>
|
2022-08-26 11:17:19 +02:00
|
|
|
<!-- Spigot NMS required for world regeneration :( -->
|
|
|
|
<repository>
|
|
|
|
<id>nms-repo</id>
|
|
|
|
<url>https://repo.codemc.io/repository/nms/</url>
|
|
|
|
</repository>
|
2022-10-19 10:27:12 +02:00
|
|
|
<!-- Used for MyWorlds hook -->
|
|
|
|
<repository>
|
|
|
|
<id>MG-Dev Jenkins CI Maven Repository</id>
|
|
|
|
<url>https://ci.mg-dev.eu/plugin/repository/everything</url>
|
|
|
|
</repository>
|
2019-02-11 14:12:59 +01:00
|
|
|
</repositories>
|
2018-08-04 04:10:09 +02:00
|
|
|
|
2019-11-14 00:10:33 +01:00
|
|
|
<dependencies>
|
2024-01-02 04:54:50 +01:00
|
|
|
<!-- Mockito (Unit testing) This goes at the top to ensure the dependencies are accurate. -->
|
|
|
|
<!-- This is required for PowerMockito to work and must be placed before it -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.javassist</groupId>
|
|
|
|
<artifactId>javassist</artifactId>
|
|
|
|
<version>3.30.2-GA</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.powermock</groupId>
|
|
|
|
<artifactId>powermock-module-junit4</artifactId>
|
|
|
|
<version>${powermock.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.powermock</groupId>
|
|
|
|
<artifactId>powermock-api-mockito2</artifactId>
|
|
|
|
<version>${powermock.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
<artifactId>mockito-core</artifactId>
|
|
|
|
<version>3.11.1</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2024-01-08 12:50:26 +01:00
|
|
|
<!-- Spigot API -->
|
2019-11-14 00:10:33 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.spigotmc</groupId>
|
|
|
|
<artifactId>spigot-api</artifactId>
|
|
|
|
<version>${spigot.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2024-02-10 02:40:58 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.spigotmc.</groupId>
|
|
|
|
<artifactId>spigot</artifactId>
|
|
|
|
<version>1.20.3-R0.1-SNAPSHOT</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.spigotmc..</groupId>
|
|
|
|
<artifactId>spigot</artifactId>
|
|
|
|
<version>1.20.2-R0.1-SNAPSHOT</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.spigotmc...</groupId>
|
|
|
|
<artifactId>spigot</artifactId>
|
|
|
|
<version>1.20.1-R0.1-SNAPSHOT</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2020-04-02 10:43:49 +02:00
|
|
|
<!-- Paper API -->
|
|
|
|
<dependency>
|
2022-06-13 23:38:53 +02:00
|
|
|
<groupId>io.papermc.paper</groupId>
|
2020-04-02 10:43:49 +02:00
|
|
|
<artifactId>paper-api</artifactId>
|
|
|
|
<version>${paper.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2019-11-14 00:10:33 +01:00
|
|
|
<!-- Metrics -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.bstats</groupId>
|
|
|
|
<artifactId>bstats-bukkit</artifactId>
|
|
|
|
<version>${bstats.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- Database -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mongodb</groupId>
|
|
|
|
<artifactId>mongodb-driver</artifactId>
|
|
|
|
<version>${mongodb.version}</version>
|
2022-05-29 21:56:50 +02:00
|
|
|
<scope>provided</scope>
|
2019-11-14 00:10:33 +01:00
|
|
|
</dependency>
|
2022-10-04 11:31:51 +02:00
|
|
|
<!-- HikariCP database handler -->
|
2020-01-23 16:56:30 +01:00
|
|
|
<dependency>
|
2022-10-04 11:31:51 +02:00
|
|
|
<groupId>com.zaxxer</groupId>
|
|
|
|
<artifactId>HikariCP</artifactId>
|
|
|
|
<version>${hikaricp.version}</version>
|
2022-05-29 21:56:50 +02:00
|
|
|
<scope>provided</scope>
|
2020-01-23 16:56:30 +01:00
|
|
|
</dependency>
|
2019-11-14 00:10:33 +01:00
|
|
|
<!-- Vault: as their maven repo is down, we need to get it from jitpack -->
|
2019-02-18 21:19:12 +01:00
|
|
|
<!-- See https://github.com/MilkBowl/VaultAPI/issues/69 -->
|
2019-05-31 10:56:03 +02:00
|
|
|
<dependency>
|
2019-11-14 00:10:33 +01:00
|
|
|
<groupId>com.github.MilkBowl</groupId>
|
|
|
|
<artifactId>VaultAPI</artifactId>
|
|
|
|
<version>${vault.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<!-- Placeholders -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>me.clip</groupId>
|
|
|
|
<artifactId>placeholderapi</artifactId>
|
|
|
|
<version>${placeholderapi.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2019-04-13 14:22:05 +02:00
|
|
|
<!-- Hooks -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>us.dynmap</groupId>
|
|
|
|
<artifactId>dynmap-api</artifactId>
|
2019-09-14 21:08:08 +02:00
|
|
|
<version>${dynmap.version}</version>
|
2019-04-13 14:22:05 +02:00
|
|
|
<scope>provided</scope>
|
2019-06-27 21:20:12 +02:00
|
|
|
</dependency>
|
2022-10-19 10:27:12 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.bergerkiller.bukkit</groupId>
|
|
|
|
<artifactId>MyWorlds</artifactId>
|
|
|
|
<version>${myworlds.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2019-06-27 21:20:12 +02:00
|
|
|
<!-- Shaded APIs -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.TheBusyBiscuit</groupId>
|
|
|
|
<artifactId>GitHubWebAPI4Java</artifactId>
|
2019-09-14 21:08:08 +02:00
|
|
|
<version>${githubapi.version}</version>
|
2019-04-13 14:22:05 +02:00
|
|
|
</dependency>
|
2022-01-29 03:35:55 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.Marcono1234</groupId>
|
|
|
|
<artifactId>gson-record-type-adapter-factory</artifactId>
|
2022-12-28 21:37:33 +01:00
|
|
|
<version>0.3.0</version>
|
2022-01-29 03:35:55 +01:00
|
|
|
</dependency>
|
2019-11-14 00:10:33 +01:00
|
|
|
<!-- Static analysis -->
|
|
|
|
<!-- We are using Eclipse's annotations. If you're using IDEA, update
|
|
|
|
your project settings to take these into account for in real time static
|
|
|
|
analysis -->
|
2019-01-12 17:30:47 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jdt</groupId>
|
|
|
|
<artifactId>org.eclipse.jdt.annotation</artifactId>
|
2021-06-20 21:18:10 +02:00
|
|
|
<version>2.2.600</version>
|
2019-01-12 17:30:47 +01:00
|
|
|
</dependency>
|
2019-11-14 00:10:33 +01:00
|
|
|
<!-- PaperLib -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.papermc</groupId>
|
|
|
|
<artifactId>paperlib</artifactId>
|
2021-02-07 16:53:29 +01:00
|
|
|
<version>1.0.6</version>
|
2019-11-14 00:10:33 +01:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2021-03-13 05:04:34 +01:00
|
|
|
<!-- LangUtils -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.apachezy</groupId>
|
|
|
|
<artifactId>LangUtils</artifactId>
|
2021-06-20 21:18:10 +02:00
|
|
|
<version>3.2.2</version>
|
2021-03-13 05:04:34 +01:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2023-03-26 19:05:54 +02:00
|
|
|
<!-- Spigot NMS. Used for chunk deletion and pasting.-->
|
2022-02-19 19:05:57 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.spigotmc</groupId>
|
|
|
|
<artifactId>spigot</artifactId>
|
|
|
|
<version>${spigot.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2023-12-24 13:24:21 +01:00
|
|
|
<!-- Slimefun -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.Slimefun</groupId>
|
|
|
|
<artifactId>Slimefun4</artifactId>
|
|
|
|
<version>RC-36</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2023-12-28 02:30:20 +01:00
|
|
|
<!-- ItemsAdder -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.LoneDev6</groupId>
|
|
|
|
<artifactId>api-itemsadder</artifactId>
|
|
|
|
<version>3.6.1</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2019-02-11 14:12:59 +01:00
|
|
|
</dependencies>
|
2018-08-04 04:10:09 +02:00
|
|
|
|
2019-02-11 14:12:59 +01:00
|
|
|
<build>
|
2019-05-14 13:01:58 +02:00
|
|
|
<!-- By default ${revision} is ${build.version}-SNAPSHOT -->
|
2019-11-14 00:10:33 +01:00
|
|
|
<!-- If GIT_BRANCH variable is set to origin/master, then it will
|
|
|
|
be only ${build.version}. -->
|
2019-05-14 13:01:58 +02:00
|
|
|
|
|
|
|
<!-- By default ${build.number} is -LOCAL. -->
|
|
|
|
<!-- If the BUILD_NUMBER variable is set, then it will be -b[number]. -->
|
2019-11-14 00:10:33 +01:00
|
|
|
<!-- If GIT_BRANCH variable is set to origin/master, then it will
|
|
|
|
be the empty string. -->
|
2019-05-14 13:01:58 +02:00
|
|
|
<finalName>${project.name}-${revision}${build.number}</finalName>
|
2019-11-14 00:10:33 +01:00
|
|
|
|
2019-02-11 14:12:59 +01:00
|
|
|
<defaultGoal>clean package</defaultGoal>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources/locales</directory>
|
|
|
|
<targetPath>./locales</targetPath>
|
|
|
|
<filtering>false</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
|
|
<version>3.1.0</version>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
2021-06-20 21:18:10 +02:00
|
|
|
<version>3.2.0</version>
|
2019-02-11 14:12:59 +01:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
2019-11-08 02:44:59 +01:00
|
|
|
<version>3.8.1</version>
|
2019-02-11 14:12:59 +01:00
|
|
|
<configuration>
|
2022-06-16 13:57:42 +02:00
|
|
|
<release>${java.version}</release>
|
2021-06-20 21:18:10 +02:00
|
|
|
<!-- <source>${java.version}</source> <target>${java.version}</target> -->
|
2019-02-11 14:12:59 +01:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
2021-06-20 21:18:10 +02:00
|
|
|
<version>3.0.0-M5</version>
|
2023-07-08 17:33:24 +02:00
|
|
|
<!--suppress MavenModelInspection -->
|
2021-06-20 21:18:10 +02:00
|
|
|
<configuration>
|
|
|
|
<argLine>
|
2023-02-09 02:17:12 +01:00
|
|
|
${argLine}
|
2021-09-13 02:54:29 +02:00
|
|
|
--add-opens java.base/java.lang=ALL-UNNAMED
|
|
|
|
--add-opens java.base/java.math=ALL-UNNAMED
|
|
|
|
--add-opens java.base/java.io=ALL-UNNAMED
|
|
|
|
--add-opens java.base/java.util=ALL-UNNAMED
|
2023-11-25 16:45:56 +01:00
|
|
|
--add-opens java.base/java.util.stream=ALL-UNNAMED
|
2021-09-13 02:54:29 +02:00
|
|
|
--add-opens java.base/java.text=ALL-UNNAMED
|
2023-11-25 16:45:56 +01:00
|
|
|
--add-opens java.base/java.util.regex=ALL-UNNAMED
|
|
|
|
--add-opens java.base/java.nio.channels.spi=ALL-UNNAMED
|
2021-09-13 02:54:29 +02:00
|
|
|
--add-opens java.base/sun.nio.ch=ALL-UNNAMED
|
|
|
|
--add-opens java.base/java.net=ALL-UNNAMED
|
2023-11-25 16:45:56 +01:00
|
|
|
--add-opens java.base/java.util.concurrent=ALL-UNNAMED
|
2021-09-13 02:54:29 +02:00
|
|
|
--add-opens java.base/sun.nio.fs=ALL-UNNAMED
|
|
|
|
--add-opens java.base/sun.nio.cs=ALL-UNNAMED
|
|
|
|
--add-opens java.base/java.nio.file=ALL-UNNAMED
|
2023-11-25 16:45:56 +01:00
|
|
|
--add-opens java.base/java.nio.charset=ALL-UNNAMED
|
|
|
|
--add-opens java.base/java.lang.reflect=ALL-UNNAMED
|
|
|
|
--add-opens java.logging/java.util.logging=ALL-UNNAMED
|
2021-09-18 19:50:21 +02:00
|
|
|
--add-opens java.base/java.lang.ref=ALL-UNNAMED
|
|
|
|
--add-opens java.base/java.util.jar=ALL-UNNAMED
|
|
|
|
--add-opens java.base/java.util.zip=ALL-UNNAMED
|
2023-11-25 16:45:56 +01:00
|
|
|
--add-opens=java.base/java.security=ALL-UNNAMED
|
2021-06-20 21:18:10 +02:00
|
|
|
</argLine>
|
|
|
|
</configuration>
|
2019-02-11 14:12:59 +01:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
2019-11-08 02:44:59 +01:00
|
|
|
<version>3.2.0</version>
|
2019-02-11 14:12:59 +01:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
2023-01-01 18:19:20 +01:00
|
|
|
<version>3.4.1</version>
|
2020-01-23 16:56:30 +01:00
|
|
|
<configuration>
|
2022-06-16 13:57:42 +02:00
|
|
|
<source>${java.version}</source>
|
2019-02-11 14:12:59 +01:00
|
|
|
<show>private</show>
|
2023-01-01 18:19:20 +01:00
|
|
|
<quiet>true</quiet>
|
2019-02-11 14:12:59 +01:00
|
|
|
<failOnError>false</failOnError>
|
|
|
|
<additionalJOption>-Xdoclint:none</additionalJOption>
|
2020-01-13 02:41:48 +01:00
|
|
|
<!-- To compile with Java 11, this tag may be required -->
|
2021-09-18 17:15:07 +02:00
|
|
|
<javadocExecutable>${java.home}/bin/javadoc</javadocExecutable>
|
2019-02-11 14:12:59 +01:00
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-javadocs</id>
|
2021-09-18 17:15:07 +02:00
|
|
|
<phase>package</phase>
|
2019-02-11 14:12:59 +01:00
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2020-01-11 17:50:26 +01:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
|
|
<version>3.0.1</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-sources</id>
|
2020-01-13 02:07:08 +01:00
|
|
|
<phase>install</phase>
|
2020-01-11 17:50:26 +01:00
|
|
|
<goals>
|
|
|
|
<goal>jar-no-fork</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2019-02-11 14:12:59 +01:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
2021-08-29 22:00:48 +02:00
|
|
|
<version>3.3.1-SNAPSHOT</version>
|
2019-02-11 14:12:59 +01:00
|
|
|
<configuration>
|
|
|
|
<minimizeJar>true</minimizeJar>
|
|
|
|
<relocations>
|
|
|
|
<relocation>
|
|
|
|
<pattern>org.bstats</pattern>
|
|
|
|
<shadedPattern>world.bentobox.bentobox.util.metrics</shadedPattern>
|
|
|
|
</relocation>
|
2019-04-18 14:41:29 +02:00
|
|
|
<relocation>
|
2019-06-27 21:20:12 +02:00
|
|
|
<pattern>io.github.TheBusyBiscuit.GitHubWebAPI4Java</pattern>
|
2019-04-18 14:41:29 +02:00
|
|
|
<shadedPattern>world.bentobox.bentobox.api.github</shadedPattern>
|
|
|
|
</relocation>
|
2019-11-14 00:10:33 +01:00
|
|
|
<relocation>
|
|
|
|
<pattern>io.papermc.lib</pattern>
|
|
|
|
<shadedPattern>world.bentobox.bentobox.paperlib</shadedPattern> <!-- Replace this -->
|
|
|
|
</relocation>
|
2019-02-11 14:12:59 +01:00
|
|
|
</relocations>
|
|
|
|
<artifactSet>
|
|
|
|
<excludes>
|
2021-06-20 21:18:10 +02:00
|
|
|
<exclude>org.apache.maven.shared:*</exclude>
|
|
|
|
<exclude>org.apache.maven:*</exclude>
|
2020-02-13 10:34:11 +01:00
|
|
|
<exclude>com.google.code.gson:*</exclude>
|
2019-02-11 14:12:59 +01:00
|
|
|
<exclude>org.mongodb:*</exclude>
|
|
|
|
<exclude>org.eclipse.jdt:*</exclude>
|
|
|
|
</excludes>
|
|
|
|
</artifactSet>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-install-plugin</artifactId>
|
2020-01-11 02:48:54 +01:00
|
|
|
<version>2.5.2</version>
|
2019-02-11 14:12:59 +01:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
2020-01-11 02:48:54 +01:00
|
|
|
<version>2.8.2</version>
|
2020-01-11 17:50:26 +01:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>default-deploy</id>
|
|
|
|
<phase>deploy</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>deploy</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2019-02-11 14:12:59 +01:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.jacoco</groupId>
|
|
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
2023-07-11 06:18:58 +02:00
|
|
|
<version>0.8.10</version>
|
2019-02-11 14:12:59 +01:00
|
|
|
<configuration>
|
|
|
|
<append>true</append>
|
|
|
|
<excludes>
|
2020-12-19 19:29:26 +01:00
|
|
|
<!-- This is required to prevent Jacoco from adding
|
2019-11-14 00:10:33 +01:00
|
|
|
synthetic fields to a JavaBean class (causes errors in testing) -->
|
2019-02-11 14:12:59 +01:00
|
|
|
<exclude>**/*Names*</exclude>
|
2023-12-06 23:06:41 +01:00
|
|
|
<!-- Prevents the Material is too large to mock error -->
|
|
|
|
<exclude>org/bukkit/Material*</exclude>
|
2019-02-11 14:12:59 +01:00
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
2023-02-06 02:23:52 +01:00
|
|
|
<id>prepare-agent</id>
|
2019-02-11 14:12:59 +01:00
|
|
|
<goals>
|
|
|
|
<goal>prepare-agent</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
2023-02-06 02:23:52 +01:00
|
|
|
<id>report</id>
|
2019-02-11 14:12:59 +01:00
|
|
|
<goals>
|
|
|
|
<goal>report</goal>
|
|
|
|
</goals>
|
2023-02-06 02:23:52 +01:00
|
|
|
<configuration>
|
|
|
|
<formats>
|
|
|
|
<format>XML</format>
|
|
|
|
</formats>
|
|
|
|
</configuration>
|
2019-02-11 14:12:59 +01:00
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2017-05-24 17:23:38 +02:00
|
|
|
</project>
|