1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-19 19:25:48 +00:00
Slimefun4/pom.xml

362 lines
14 KiB
XML
Raw Normal View History

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-05-09 16:22:50 +00:00
<groupId>io.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 -->
<version>4.3-UNOFFICIAL</version>
2020-05-09 16:22:50 +00:00
<inceptionYear>2013</inceptionYear>
<packaging>jar</packaging>
<description>Slimefun is a Spigot plugin that simulates a modpack-like atmosphere by adding over 500 new items and recipes to your Minecraft Server.</description>
2020-05-09 16:22:50 +00:00
<url>https://github.com/TheBusyBiscuit/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
<!-- Spigot properties -->
<spigot.version>1.16.1</spigot.version>
<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>
<url>https://github.com/TheBusyBiscuit/Slimefun4/issues</url>
</issueManagement>
<licenses>
<license>
<name>GNU General Public License v3.0</name>
<url>https://github.com/TheBusyBiscuit/Slimefun4/blob/master/LICENSE</url>
<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>
<url>https://repo.destroystokyo.com/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>
<repository>
2020-03-26 17:56:14 +00:00
<id>bStats-repo</id>
2019-12-11 23:20:01 +00:00
<url>https://repo.codemc.org/repository/maven-public</url>
</repository>
<repository>
<id>placeholderapi-repo</id>
<url>https://repo.extendedclip.com/content/repositories/placeholderapi/</url>
</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>
<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
<plugins>
2020-05-09 16:00:10 +00:00
<!-- Compiler plugin -->
<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 -->
<exclude>**/package-info.java</exclude>
</excludes>
</configuration>
</plugin>
2020-05-09 16:00:10 +00:00
<!-- Attach sources -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.1</version>
<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>
<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>
<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
<!-- Shade bStats and CS-CoreLib2 into the output jar -->
2019-12-11 23:20:01 +00:00
<relocations>
<relocation>
<pattern>org.bstats</pattern>
<shadedPattern>me.mrCookieSlime.Slimefun.bstats</shadedPattern>
</relocation>
<relocation>
<pattern>io.github.thebusybiscuit.cscorelib2</pattern>
<shadedPattern>me.mrCookieSlime.Slimefun.cscorelib2</shadedPattern>
</relocation>
</relocations>
2020-05-09 16:00:10 +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>
<!-- We can reference Bukkit's API in our Javadocs -->
<links>
<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>
<title>Slimefun4 - Items</title>
2020-05-09 16:00:10 +00:00
<packages>io.github.thebusybiscuit.slimefun4.implementation.items*</packages>
</group>
<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>
</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>
<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>
<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>
<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>
<scope>provided</scope>
2018-05-05 17:42:27 +00:00
</dependency>
2020-05-09 16:00:10 +00:00
<!-- Development / Testing dependencies -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>5.6.2</version>
2020-05-09 16:00:10 +00:00
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.github.seeseemelk</groupId>
<artifactId>MockBukkit</artifactId>
2020-06-13 19:05:55 +00:00
<version>v1.15-d952559324-1</version>
2020-05-09 16:00:10 +00:00
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>3.4.4</version>
2020-05-09 16:00:10 +00:00
<scope>test</scope>
</dependency>
2020-03-26 17:56:14 +00:00
<!-- Shaded packages -->
<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-07-19 08:53:09 +00:00
<version>0.24</version>
2019-12-11 23:20:01 +00:00
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.bstats</groupId>
<artifactId>bstats-bukkit</artifactId>
<version>1.7</version>
<scope>compile</scope>
</dependency>
2020-05-09 16:00:10 +00:00
2020-03-26 17:56:14 +00:00
<!-- Third party plugin integrations -->
<dependency>
<groupId>com.sk89q.worldedit</groupId>
<artifactId>worldedit-bukkit</artifactId>
<version>7.2.0-SNAPSHOT</version>
<scope>provided</scope>
2020-05-16 14:12:30 +00:00
<exclusions>
<!-- This one is ignored because it pops up everytime -->
<!-- I try to import File... yes, I want the java.io one... -->
<exclusion>
<groupId>de.schlichtherle</groupId>
<artifactId>truezip</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
2019-12-11 23:20:01 +00:00
<groupId>me.clip</groupId>
<artifactId>placeholderapi</artifactId>
<version>2.10.6</version>
2019-12-11 23:20:01 +00:00
<scope>provided</scope>
</dependency>
<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>
<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>