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>
|
2020-01-13 01:20:42 +01:00
|
|
|
<java.version>1.8</java.version>
|
2019-03-08 20:36:53 +01:00
|
|
|
<!-- Non-minecraft related dependencies -->
|
2019-11-08 02:44:59 +01:00
|
|
|
<powermock.version>2.0.4</powermock.version>
|
2019-03-08 20:36:53 +01:00
|
|
|
<mongodb.version>3.8.0</mongodb.version>
|
|
|
|
<!-- More visible way how to change dependency versions -->
|
2019-12-11 03:10:51 +01:00
|
|
|
<spigot.version>1.15-R0.1-SNAPSHOT</spigot.version>
|
2019-05-21 06:24:24 +02:00
|
|
|
<bstats.version>1.5</bstats.version>
|
2019-03-13 21:26:32 +01:00
|
|
|
<vault.version>1.7</vault.version>
|
2019-12-30 15:31:41 +01:00
|
|
|
<placeholderapi.version>2.10.4</placeholderapi.version>
|
2019-09-14 21:08:08 +02:00
|
|
|
<mvdwplaceholderapi.version>master-SNAPSHOT</mvdwplaceholderapi.version>
|
|
|
|
<githubapi.version>d5f5e0bbd8</githubapi.version>
|
|
|
|
<dynmap.version>3.0-SNAPSHOT</dynmap.version>
|
|
|
|
<worldedit.version>7.0.0</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. -->
|
2020-01-05 12:55:29 +01:00
|
|
|
<build.version>1.11.0</build.version>
|
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>
|
|
|
|
<profile>
|
|
|
|
<id>sonar</id>
|
|
|
|
<properties>
|
|
|
|
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
|
2019-10-30 03:45:51 +01:00
|
|
|
<sonar.organization>bentobox-world</sonar.organization>
|
2019-03-08 20:36:53 +01:00
|
|
|
</properties>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.sonarsource.scanner.maven</groupId>
|
|
|
|
<artifactId>sonar-maven-plugin</artifactId>
|
2019-11-14 00:10:33 +01:00
|
|
|
<!-- was <version>3.4.1.1168</version> -->
|
2019-05-04 07:54:13 +02:00
|
|
|
<version>3.6.0.1398</version>
|
2019-03-08 20:36:53 +01:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>verify</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>sonar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
|
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>
|
2019-12-30 15:31:41 +01:00
|
|
|
<url>http://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>
|
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>
|
|
|
|
<!-- 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>
|
|
|
|
<version>3.1.0</version>
|
|
|
|
<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>
|
|
|
|
<dependency>
|
|
|
|
<!-- We have to use a forked version of this api because Maxim
|
|
|
|
had the brilliant idea to make one of the dependencies rely on an illegal
|
|
|
|
artifact thus making its repository unusable. -->
|
|
|
|
<groupId>com.github.BentoBoxWorld</groupId>
|
2019-05-31 10:56:03 +02:00
|
|
|
<artifactId>MVdWPlaceholderAPI</artifactId>
|
2019-09-14 21:08:08 +02:00
|
|
|
<version>${mvdwplaceholderapi.version}</version>
|
2019-12-21 10:26:53 +01:00
|
|
|
<scope>provided</scope>
|
2019-05-31 10:56:03 +02:00
|
|
|
</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>
|
|
|
|
<version>2.2.200</version>
|
|
|
|
</dependency>
|
2019-11-14 00:10:33 +01:00
|
|
|
<!-- PaperLib -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.papermc</groupId>
|
|
|
|
<artifactId>paperlib</artifactId>
|
|
|
|
<version>1.0.2</version>
|
|
|
|
<scope>compile</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>
|
|
|
|
<version>3.1.0</version>
|
|
|
|
</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>
|
2020-01-14 03:11:04 +01: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>
|
2019-11-08 02:44:59 +01:00
|
|
|
<version>2.22.2</version>
|
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>
|
2020-01-14 01:57:38 +01:00
|
|
|
<version>3.1.1</version>
|
2020-01-23 16:56:30 +01:00
|
|
|
<configuration>
|
2020-01-14 03:11:04 +01:00
|
|
|
<source>8</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 -->
|
2020-01-23 16:56:30 +01:00
|
|
|
<!-- <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable> -->
|
2019-02-11 14:12:59 +01:00
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-javadocs</id>
|
2020-01-14 03:11:04 +01:00
|
|
|
<phase>install</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>
|
2019-03-10 09:15:57 +01:00
|
|
|
<version>3.2.1</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>
|
|
|
|
<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>
|
|
|
|
<version>0.8.3</version>
|
|
|
|
<configuration>
|
|
|
|
<append>true</append>
|
|
|
|
<excludes>
|
2019-11-14 00:10:33 +01:00
|
|
|
<!-- This is required to prevent Jacoco from adding
|
|
|
|
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>
|