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>
|
2021-06-20 21:18:10 +02:00
|
|
|
<java.version>16</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>
|
|
|
|
<mongodb.version>3.12.8</mongodb.version>
|
2020-02-13 10:34:37 +01:00
|
|
|
<!-- More visible way to change dependency versions -->
|
2021-12-06 06:03:21 +01:00
|
|
|
<spigot.version>1.18-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 -->
|
2021-06-20 21:18:10 +02:00
|
|
|
<paper.version>1.16.5-R0.1-SNAPSHOT</paper.version>
|
|
|
|
<bstats.version>2.2.1</bstats.version>
|
2019-03-13 21:26:32 +01:00
|
|
|
<vault.version>1.7</vault.version>
|
2021-01-16 10:50:29 +01:00
|
|
|
<placeholderapi.version>2.10.9</placeholderapi.version>
|
2019-09-14 21:08:08 +02:00
|
|
|
<githubapi.version>d5f5e0bbd8</githubapi.version>
|
|
|
|
<dynmap.version>3.0-SNAPSHOT</dynmap.version>
|
2021-06-20 21:18:10 +02:00
|
|
|
<worldedit.version>7.2.5</worldedit.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. -->
|
2021-12-31 19:49:46 +01:00
|
|
|
<build.version>1.20.0</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>
|
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>
|
|
|
|
<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-06-30 14:12:51 +02:00
|
|
|
<repository>
|
|
|
|
<id>worldedit-repo</id>
|
2019-11-14 00:10:33 +01:00
|
|
|
<url>https://maven.sk89q.com/repo/</url>
|
|
|
|
</repository>
|
|
|
|
<repository>
|
|
|
|
<id>papermc</id>
|
|
|
|
<url>https://papermc.io/repo/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>
|
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>
|
|
|
|
<!-- Spigot API -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.spigotmc</groupId>
|
|
|
|
<artifactId>spigot-api</artifactId>
|
|
|
|
<version>${spigot.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2020-04-02 10:43:49 +02:00
|
|
|
<!-- Paper API -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.destroystokyo.paper</groupId>
|
|
|
|
<artifactId>paper-api</artifactId>
|
|
|
|
<version>${paper.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2022-01-02 02:38:27 +01:00
|
|
|
<!-- AuthLib. Used for Head Getter. -->
|
2020-08-30 18:19:20 +02:00
|
|
|
<dependency>
|
2022-01-02 02:38:27 +01:00
|
|
|
<groupId>com.mojang</groupId>
|
|
|
|
<artifactId>authlib</artifactId>
|
|
|
|
<version>3.2.38</version>
|
2020-08-30 18:19:20 +02:00
|
|
|
<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>
|
|
|
|
<!-- Mockito (Unit testing) -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
<artifactId>mockito-core</artifactId>
|
2021-06-20 21:18:10 +02:00
|
|
|
<version>3.11.1</version>
|
2019-11-14 00:10:33 +01:00
|
|
|
<scope>test</scope>
|
|
|
|
</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>
|
|
|
|
<!-- Database -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mongodb</groupId>
|
|
|
|
<artifactId>mongodb-driver</artifactId>
|
|
|
|
<version>${mongodb.version}</version>
|
|
|
|
</dependency>
|
2020-01-23 16:56:30 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>postgresql</groupId>
|
|
|
|
<artifactId>postgresql</artifactId>
|
|
|
|
<version>9.1-901-1.jdbc4</version>
|
|
|
|
</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>
|
2019-06-30 14:12:51 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.sk89q.worldedit</groupId>
|
|
|
|
<artifactId>worldedit-core</artifactId>
|
2019-09-14 21:08:08 +02:00
|
|
|
<version>${worldedit.version}</version>
|
2019-06-30 14:12:51 +02:00
|
|
|
<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>
|
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>
|
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>
|
2021-06-20 21:18:10 +02:00
|
|
|
<release>16</release>
|
|
|
|
<!-- <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>
|
|
|
|
<configuration>
|
|
|
|
<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
|
|
|
|
--add-opens
|
|
|
|
java.base/java.util.stream=ALL-UNNAMED
|
|
|
|
--add-opens java.base/java.text=ALL-UNNAMED
|
|
|
|
--add-opens
|
|
|
|
java.base/java.util.regex=ALL-UNNAMED
|
|
|
|
--add-opens
|
|
|
|
java.base/java.nio.channels.spi=ALL-UNNAMED
|
|
|
|
--add-opens java.base/sun.nio.ch=ALL-UNNAMED
|
|
|
|
--add-opens java.base/java.net=ALL-UNNAMED
|
|
|
|
--add-opens
|
|
|
|
java.base/java.util.concurrent=ALL-UNNAMED
|
|
|
|
--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
|
|
|
|
--add-opens
|
|
|
|
java.base/java.nio.charset=ALL-UNNAMED
|
2021-09-13 05:22:43 +02:00
|
|
|
--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
|
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>
|
2021-06-20 21:18:10 +02:00
|
|
|
<version>3.3.0</version>
|
2020-01-23 16:56:30 +01:00
|
|
|
<configuration>
|
2021-07-31 19:16:23 +02:00
|
|
|
<source>16</source>
|
2019-02-11 14:12:59 +01:00
|
|
|
<show>private</show>
|
|
|
|
<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>
|
2021-06-20 21:18:10 +02:00
|
|
|
<version>0.8.7</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>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>pre-unit-test</id>
|
|
|
|
<goals>
|
|
|
|
<goal>prepare-agent</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>post-unit-test</id>
|
|
|
|
<goals>
|
|
|
|
<goal>report</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2017-05-24 17:23:38 +02:00
|
|
|
</project>
|