2017-07-27 17:21:36 +00:00
<?xml version="1.0" encoding="UTF-8"?>
2020-05-06 20:08:15 +00:00
<project xmlns= "http://maven.apache.org/POM/4.0.0"
2020-05-09 16:00:10 +00: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">
2017-07-27 17:21:36 +00:00
<modelVersion > 4.0.0</modelVersion>
2020-08-09 09:33:48 +00:00
<groupId > com.github.thebusybiscuit</groupId>
2017-07-27 17:21:36 +00:00
<artifactId > Slimefun</artifactId>
2020-05-09 16:00:10 +00:00
<!-- Our default version will be UNOFFICIAL, this will prevent auto updates -->
2020-03-26 17:56:14 +00:00
<!-- from overriding our local test file -->
2020-09-08 10:06:12 +00:00
<version > 4.8-UNOFFICIAL</version>
2020-05-09 16:22:50 +00:00
<inceptionYear > 2013</inceptionYear>
<packaging > jar</packaging>
2020-08-23 15:56:38 +00:00
<description > Slimefun is a Spigot/Paper plugin that simulates a modpack-like atmosphere by adding over 500 new items and recipes to your Minecraft Server.</description>
2020-09-06 15:19:02 +00:00
<url > https://github.com/Slimefun/Slimefun4</url>
2020-05-09 16:00:10 +00:00
2017-07-27 17:21:36 +00:00
<properties >
2020-04-17 09:59:40 +00:00
<project.build.sourceEncoding > UTF-8</project.build.sourceEncoding>
2017-07-27 17:21:36 +00:00
<maven.compiler.source > 1.8</maven.compiler.source>
<maven.compiler.target > 1.8</maven.compiler.target>
2020-05-09 16:00:10 +00:00
2020-06-27 12:04:31 +00:00
<!-- Spigot properties -->
2020-08-16 22:32:18 +00:00
<spigot.version > 1.16.2</spigot.version>
2020-06-27 12:04:31 +00:00
<spigot.javadocs > https://hub.spigotmc.org/javadocs/spigot/</spigot.javadocs>
2020-05-09 16:00:10 +00:00
2020-03-26 17:56:14 +00:00
<!-- Default settings for sonarcloud.io -->
2020-05-09 16:00:10 +00:00
<sonar.projectKey > TheBusyBiscuit_Slimefun4</sonar.projectKey>
<sonar.organization > thebusybiscuit-github</sonar.organization>
<sonar.host.url > https://sonarcloud.io</sonar.host.url>
2020-05-09 16:22:50 +00:00
<sonar.log.level > DEBUG</sonar.log.level>
2020-05-09 16:00:10 +00:00
<sonar.coverage.jacoco.xmlReportPaths > target/site/jacoco/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
2017-07-27 17:21:36 +00:00
</properties>
2020-05-09 16:00:10 +00:00
<issueManagement >
<system > GitHub Issues</system>
2020-09-06 15:19:02 +00:00
<url > https://github.com/Slimefun/Slimefun4/issues</url>
2020-05-09 16:00:10 +00:00
</issueManagement>
<licenses >
<license >
<name > GNU General Public License v3.0</name>
2020-09-06 15:19:02 +00:00
<url > https://github.com/Slimefun/Slimefun4/blob/master/LICENSE</url>
2020-05-09 16:00:10 +00:00
<distribution > repo</distribution>
</license>
</licenses>
2017-07-27 17:21:36 +00:00
<repositories >
<repository >
2020-06-20 19:02:03 +00:00
<id > jitpack.io</id>
<url > https://jitpack.io</url>
2017-07-27 17:21:36 +00:00
</repository>
<repository >
2017-11-25 21:07:17 +00:00
<id > spigot-repo</id>
<url > https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
2017-07-27 17:21:36 +00:00
</repository>
2019-10-14 18:50:57 +00:00
<repository >
2020-06-20 19:02:03 +00:00
<id > paper-repo</id>
2020-08-08 09:50:56 +00:00
<url > https://papermc.io/repo/repository/maven-public/</url>
2019-10-14 18:50:57 +00:00
</repository>
2017-07-27 17:21:36 +00:00
<repository >
2020-07-07 08:54:32 +00:00
<id > worldedit-repo</id>
2019-03-26 20:17:33 +00:00
<url > https://maven.sk89q.com/repo/</url>
2017-07-27 17:21:36 +00:00
</repository>
2019-12-11 23:20:01 +00:00
<repository >
2019-08-25 19:41:47 +00:00
<id > placeholderapi-repo</id>
2020-06-22 10:26:03 +00:00
<url > https://repo.extendedclip.com/content/repositories/placeholderapi/</url>
2019-08-25 19:41:47 +00:00
</repository>
2020-06-20 19:02:03 +00:00
<repository >
<id > walshy-public</id>
<url > https://repo.walshy.dev/public/</url>
</repository>
2017-07-27 17:21:36 +00:00
</repositories>
2020-05-09 16:00:10 +00:00
2017-07-27 17:21:36 +00:00
<build >
2019-10-16 22:37:46 +00:00
<sourceDirectory > ${project.basedir}/src/main/java</sourceDirectory>
2020-05-09 16:00:10 +00:00
<testSourceDirectory > ${project.basedir}/src/test/java</testSourceDirectory>
2017-11-27 14:49:16 +00:00
<finalName > ${project.name} v${project.version}</finalName>
2020-05-09 16:00:10 +00:00
2019-06-27 10:19:32 +00:00
<plugins >
2020-05-09 16:00:10 +00:00
<!-- Compiler plugin -->
2020-03-21 20:16:25 +00:00
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-compiler-plugin</artifactId>
<version > 3.8.1</version>
<configuration >
<excludes >
2020-05-09 16:00:10 +00:00
<!-- package info files are only important for Javadocs -->
<!-- We can safely exclude them from the final jar -->
2020-03-21 20:16:25 +00:00
<exclude > **/package-info.java</exclude>
</excludes>
</configuration>
</plugin>
2020-05-09 16:00:10 +00:00
<!-- Attach sources -->
2019-06-27 10:19:32 +00:00
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-source-plugin</artifactId>
2020-02-07 22:52:12 +00:00
<version > 3.2.1</version>
2019-06-27 10:19:32 +00:00
<executions >
<execution >
<id > attach-sources</id>
<goals >
<goal > jar</goal>
</goals>
</execution>
</executions>
</plugin>
2020-05-09 16:00:10 +00:00
<!-- Plugin for Unit Tests -->
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-surefire-plugin</artifactId>
2020-06-17 21:55:23 +00:00
<version > 3.0.0-M5</version>
2020-05-09 16:00:10 +00:00
</plugin>
<!-- Sonarcloud Scanner -->
<plugin >
<groupId > org.sonarsource.scanner.maven</groupId>
<artifactId > sonar-maven-plugin</artifactId>
<version > 3.7.0.1746</version>
</plugin>
<!-- Code Coverage Reports -->
<plugin >
<groupId > org.jacoco</groupId>
<artifactId > jacoco-maven-plugin</artifactId>
<version > 0.8.5</version>
<executions >
<execution >
<id > prepare</id>
<goals >
<goal > prepare-agent</goal>
</goals>
</execution>
<execution >
<id > report</id>
<phase > test</phase>
<goals >
<goal > report</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Dependency shading -->
2019-12-11 23:20:01 +00:00
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-shade-plugin</artifactId>
2020-06-02 19:20:57 +00:00
<version > 3.2.4</version>
2020-05-09 16:00:10 +00:00
2019-12-11 23:20:01 +00:00
<configuration >
2020-05-09 16:00:10 +00:00
2020-09-05 11:56:56 +00:00
<!-- Shade dependencies into the output jar -->
2019-12-11 23:20:01 +00:00
<relocations >
<relocation >
<pattern > io.github.thebusybiscuit.cscorelib2</pattern>
<shadedPattern > me.mrCookieSlime.Slimefun.cscorelib2</shadedPattern>
</relocation>
2020-07-19 23:51:14 +00:00
<relocation >
<pattern > io.papermc.lib</pattern>
<shadedPattern > io.github.thebusybiscuit.slimefun4.libraries.paperlib</shadedPattern>
</relocation>
2020-09-08 10:06:12 +00:00
<relocation >
<pattern > kong.unirest</pattern>
<shadedPattern > io.github.thebusybiscuit.slimefun4.libraries.unirest</shadedPattern>
</relocation>
2019-12-11 23:20:01 +00:00
</relocations>
2020-05-09 16:00:10 +00:00
2020-04-18 16:28:20 +00:00
<!-- Exclude unneeded metadata files from shaded dependencies -->
2020-03-26 17:56:14 +00:00
<filters >
2020-05-09 16:00:10 +00:00
<filter >
<artifact > *:*</artifact>
<excludes >
<exclude > META-INF/*</exclude>
</excludes>
</filter>
2020-03-26 17:56:14 +00:00
</filters>
2019-12-11 23:20:01 +00:00
</configuration>
2020-05-09 16:00:10 +00:00
2019-12-11 23:20:01 +00:00
<executions >
<execution >
<phase > package</phase>
<goals >
<goal > shade</goal>
</goals>
</execution>
</executions>
</plugin>
2020-05-09 16:00:10 +00:00
<!-- Javadocs Settings -->
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-javadoc-plugin</artifactId>
<version > 3.2.0</version>
<configuration >
<reportOutputDirectory > ${project.basedir}</reportOutputDirectory>
<destDir > docs</destDir>
<doctitle > Slimefun4 - Javadocs</doctitle>
<windowtitle > Slimefun4 - Javadocs</windowtitle>
<detectOfflineLinks > false</detectOfflineLinks>
<additionalJOption > -html5</additionalJOption>
2020-08-23 15:56:38 +00:00
<!-- We can reference the Spigot API in our Javadocs -->
2020-05-09 16:00:10 +00:00
<links >
2020-06-27 12:04:31 +00:00
<link > ${spigot.javadocs}</link>
2020-05-09 16:00:10 +00:00
</links>
<!-- We can group pakages together in our Javadocs -->
<groups >
<group >
<title > Slimefun4 - API</title>
<packages > io.github.thebusybiscuit.slimefun4.api*</packages>
</group>
<group >
<title > Slimefun4 - Core packages</title>
<packages > io.github.thebusybiscuit.slimefun4.core*</packages>
</group>
<group >
<title > Slimefun4 - Implementations</title>
<packages > io.github.thebusybiscuit.slimefun4.implementation*</packages>
</group>
<group >
<title > Slimefun4 - Common utility packages</title>
<packages > io.github.thebusybiscuit.slimefun4.utils*</packages>
</group>
<group >
2020-07-15 16:23:21 +00:00
<title > Slimefun4 - Items</title>
2020-05-09 16:00:10 +00:00
<packages > io.github.thebusybiscuit.slimefun4.implementation.items*</packages>
</group>
2020-07-15 16:23:21 +00:00
<group >
<title > Slimefun4 - Multiblocks</title>
<packages > io.github.thebusybiscuit.slimefun4.implementation.items.multiblocks*</packages>
</group>
<group >
<title > Slimefun4 - Electrical Machines</title>
<packages > io.github.thebusybiscuit.slimefun4.implementation.items.electric*</packages>
</group>
2020-05-09 16:00:10 +00:00
<group >
<title > Slimefun4 - Old packages</title>
<packages > me.mrCookieSlime.Slimefun*</packages>
</group>
</groups>
</configuration>
</plugin>
2019-06-27 10:19:32 +00:00
</plugins>
2020-05-09 16:00:10 +00:00
2017-07-27 17:21:36 +00:00
<resources >
2020-05-09 16:00:10 +00:00
<!-- Resources we want to include, e.g. configs or language files -->
2017-07-27 17:21:36 +00:00
<resource >
2019-10-16 22:37:46 +00:00
<directory > ${basedir}/src/main/resources</directory>
2017-07-27 17:21:36 +00:00
<filtering > true</filtering>
2020-05-09 16:00:10 +00:00
2017-07-27 17:21:36 +00:00
<includes >
2019-10-16 22:37:46 +00:00
<include > *</include>
2020-01-10 15:25:10 +00:00
<include > languages/*</include>
2017-07-27 17:21:36 +00:00
</includes>
</resource>
2020-05-09 16:00:10 +00:00
<!-- We also want to include our LICENSE file -->
2020-03-26 17:56:14 +00:00
<resource >
<directory > ${basedir}</directory>
2020-05-09 16:00:10 +00:00
2020-03-26 17:56:14 +00:00
<includes >
<include > LICENSE</include>
</includes>
</resource>
2017-07-27 17:21:36 +00:00
</resources>
</build>
2020-05-09 16:00:10 +00:00
2017-07-27 17:21:36 +00:00
<dependencies >
2020-05-09 16:00:10 +00:00
<!-- Hard dependencies -->
2017-07-27 17:21:36 +00:00
<dependency >
2020-06-25 05:05:17 +00:00
<groupId > org.spigotmc</groupId>
<artifactId > spigot-api</artifactId>
2020-06-27 12:04:31 +00:00
<version > ${spigot.version}-R0.1-SNAPSHOT</version>
2019-02-20 11:20:44 +00:00
<scope > provided</scope>
2017-07-27 17:21:36 +00:00
</dependency>
<dependency >
2020-06-25 08:31:50 +00:00
<groupId > com.github.TheBusyBiscuit</groupId>
2018-05-05 17:42:27 +00:00
<artifactId > CS-CoreLib</artifactId>
2020-06-25 08:31:50 +00:00
<version > 31390302cf</version>
2019-12-11 21:39:37 +00:00
<scope > provided</scope>
2018-05-05 17:42:27 +00:00
</dependency>
2020-05-09 16:00:10 +00:00
2020-09-05 11:56:56 +00:00
<!-- Development dependencies -->
2020-09-02 08:31:35 +00:00
<dependency >
2020-09-05 11:56:56 +00:00
<groupId > com.google.code.findbugs</groupId>
<artifactId > jsr305</artifactId>
<version > 3.0.2</version>
2020-09-02 08:31:35 +00:00
<scope > provided</scope>
</dependency>
2020-09-05 11:56:56 +00:00
<!-- Testing dependencies -->
2020-05-09 16:00:10 +00:00
<dependency >
<groupId > org.junit.jupiter</groupId>
<artifactId > junit-jupiter</artifactId>
2020-05-13 22:53:19 +00:00
<version > 5.6.2</version>
2020-05-09 16:00:10 +00:00
<scope > test</scope>
</dependency>
<dependency >
<groupId > com.github.seeseemelk</groupId>
2020-08-23 15:56:38 +00:00
<artifactId > MockBukkit-v1.16</artifactId>
2020-08-24 21:23:34 +00:00
<version > 0.5.0</version>
2020-05-09 16:00:10 +00:00
<scope > test</scope>
2020-09-02 12:08:40 +00:00
<exclusions >
<exclusion >
<!-- We use javax.annotation instead. Excluding this -->
<!-- prevents us from using inconsistent annotations -->
<groupId > org.jetbrains</groupId>
<artifactId > annotations</artifactId>
</exclusion>
</exclusions>
2020-05-09 16:00:10 +00:00
</dependency>
<dependency >
<groupId > org.mockito</groupId>
<artifactId > mockito-core</artifactId>
2020-09-04 14:18:52 +00:00
<version > 3.5.10</version>
2020-05-09 16:00:10 +00:00
<scope > test</scope>
</dependency>
2020-03-26 17:56:14 +00:00
<!-- Shaded packages -->
2019-07-17 12:57:52 +00:00
<dependency >
2020-06-25 08:31:50 +00:00
<groupId > com.github.TheBusyBiscuit</groupId>
2019-12-11 23:20:01 +00:00
<artifactId > CS-CoreLib2</artifactId>
2020-08-29 11:25:29 +00:00
<version > 0.25.1</version>
2019-12-11 23:20:01 +00:00
<scope > compile</scope>
</dependency>
2020-08-23 15:56:38 +00:00
<dependency >
<groupId > io.papermc</groupId>
<artifactId > paperlib</artifactId>
<version > 1.0.5</version>
<scope > compile</scope>
</dependency>
2019-12-11 22:15:33 +00:00
<dependency >
2020-07-20 14:15:21 +00:00
<groupId > com.konghq</groupId>
<artifactId > unirest-java</artifactId>
2020-08-22 22:08:54 +00:00
<version > 3.10.00</version>
2020-08-23 15:56:38 +00:00
<scope > compile</scope>
2020-07-22 19:07:55 +00:00
<exclusions >
2020-07-20 14:15:21 +00:00
<exclusion >
<groupId > com.google.code.gson</groupId>
<artifactId > gson</artifactId>
</exclusion>
</exclusions>
2019-12-11 22:15:33 +00:00
</dependency>
2020-05-09 16:00:10 +00:00
2020-09-05 11:56:56 +00:00
<!-- Third party plugin integrations / soft dependencies -->
2019-08-25 19:41:47 +00:00
<dependency >
<groupId > com.sk89q.worldedit</groupId>
<artifactId > worldedit-bukkit</artifactId>
2020-05-20 15:13:04 +00:00
<version > 7.2.0-SNAPSHOT</version>
2019-08-25 19:41:47 +00:00
<scope > provided</scope>
2020-05-16 14:12:30 +00:00
<exclusions >
<exclusion >
2020-09-02 12:08:40 +00:00
<!-- This one is ignored because it pops up everytime -->
<!-- I try to import File... yes, I want java.io.File -->
2020-05-16 14:12:30 +00:00
<groupId > de.schlichtherle</groupId>
<artifactId > truezip</artifactId>
</exclusion>
</exclusions>
2019-08-25 19:41:47 +00:00
</dependency>
<dependency >
2019-12-11 23:20:01 +00:00
<groupId > me.clip</groupId>
<artifactId > placeholderapi</artifactId>
2020-08-04 16:31:44 +00:00
<version > 2.10.9</version>
2019-12-11 23:20:01 +00:00
<scope > provided</scope>
2020-09-02 12:08:40 +00:00
<exclusions >
<exclusion >
<!-- We use javax.annotation instead. Excluding this -->
<!-- prevents us from using inconsistent annotations -->
<groupId > org.jetbrains</groupId>
<artifactId > annotations</artifactId>
</exclusion>
</exclusions>
2019-08-25 19:41:47 +00:00
</dependency>
2020-03-27 00:21:48 +00:00
<dependency >
<groupId > com.github.TheBusyBiscuit</groupId>
<artifactId > EmeraldEnchants2</artifactId>
<version > 3cd370b5d8</version>
<scope > provided</scope>
</dependency>
2017-07-27 17:21:36 +00:00
<dependency >
2018-05-05 17:42:27 +00:00
<groupId > me.minebuilders</groupId>
<artifactId > clearlag-core</artifactId>
2020-06-20 19:02:03 +00:00
<version > 3.1.6</version>
2020-06-20 19:39:41 +00:00
<scope > provided</scope>
2018-05-05 17:42:27 +00:00
</dependency>
2017-07-27 17:21:36 +00:00
</dependencies>
2020-06-25 11:41:30 +00:00
</project>