Move BadRabbit loader into it's own submodule

This commit is contained in:
GeorgH93 2023-01-29 14:20:50 +01:00
parent fb29e780dd
commit 350aaa60a6
No known key found for this signature in database
GPG Key ID: D1630D37F9E4B3C8
5 changed files with 60 additions and 7 deletions

View File

@ -0,0 +1,45 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" 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>
<artifactId>Minepacks-BadRabbit-Bukkit</artifactId>
<parent>
<artifactId>Minepacks-Parent</artifactId>
<groupId>at.pcgamingfreaks</groupId>
<version>${revision}</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<version>${revision}</version>
<packaging>jar</packaging>
<name>Minepacks-BadRabbit-Bukkit</name>
<description>BadRabbit loader for Minepacks.</description>
<url>https://www.spigotmc.org/resources/19286/</url>
<dependencies>
<dependency>
<groupId>at.pcgamingfreaks</groupId>
<artifactId>Minepacks-MagicValues</artifactId>
<version>${revision}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>at.pcgamingfreaks.pcgf_pluginlib</groupId>
<artifactId>pcgf_pluginlib-common</artifactId>
<version>${pcgfPluginLibVersion}</version>
<scope>provided</scope>
</dependency>
<!-- BadRabbit -->
<dependency>
<groupId>at.pcgamingfreaks</groupId>
<artifactId>BadRabbit-Bukkit</artifactId>
<version>1.11</version>
<scope>provided</scope>
</dependency>
<!-- Bukkit -->
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
<version>${bukkitVersion}</version>
<scope>provided</scope>
</dependency>
</dependencies>
</project>

View File

@ -15,7 +15,6 @@
<build> <build>
<defaultGoal>clean install</defaultGoal> <defaultGoal>clean install</defaultGoal>
<sourceDirectory>src</sourceDirectory>
<resources> <resources>
<resource> <resource>
<directory>resources</directory> <directory>resources</directory>

View File

@ -26,10 +26,6 @@
<releaseType>Normal</releaseType> <releaseType>Normal</releaseType>
<updateChannel>Release</updateChannel> <updateChannel>Release</updateChannel>
<mavenShade.version>3.3.0</mavenShade.version> <mavenShade.version>3.3.0</mavenShade.version>
<configFileVersion>33</configFileVersion>
<languageFileVersion>20</languageFileVersion>
<pcgfPluginLibVersion>1.0.39-SNAPSHOT</pcgfPluginLibVersion>
</properties> </properties>
<pluginRepositories> <pluginRepositories>
@ -74,7 +70,6 @@
<build> <build>
<defaultGoal>clean package test</defaultGoal> <defaultGoal>clean package test</defaultGoal>
<sourceDirectory>src</sourceDirectory>
<testSourceDirectory>test/src</testSourceDirectory> <testSourceDirectory>test/src</testSourceDirectory>
<resources> <resources>
<resource> <resource>
@ -260,6 +255,11 @@
<version>${project.version}</version> <version>${project.version}</version>
<classifier>Standalone</classifier> <classifier>Standalone</classifier>
</dependency> </dependency>
<dependency>
<groupId>at.pcgamingfreaks</groupId>
<artifactId>Minepacks-BadRabbit-Bukkit</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies> </dependencies>
<build> <build>
<plugins> <plugins>
@ -283,6 +283,7 @@
<include>at.pcgamingfreaks:Minepacks-API</include> <include>at.pcgamingfreaks:Minepacks-API</include>
<include>at.pcgamingfreaks:Minepacks-MagicValues</include> <include>at.pcgamingfreaks:Minepacks-MagicValues</include>
<include>at.pcgamingfreaks:BadRabbit-Bukkit</include> <include>at.pcgamingfreaks:BadRabbit-Bukkit</include>
<include>at.pcgamingfreaks:Minepacks-BadRabbit-Bukkit</include>
<include>at.pcgamingfreaks:Minepacks</include> <include>at.pcgamingfreaks:Minepacks</include>
</includes> </includes>
</artifactSet> </artifactSet>

10
pom.xml
View File

@ -11,6 +11,12 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<configFileVersion>33</configFileVersion>
<languageFileVersion>20</languageFileVersion>
<pcgfPluginLibVersion>1.0.39-SNAPSHOT</pcgfPluginLibVersion>
<bukkitVersion>1.15.2-R0.1-SNAPSHOT</bukkitVersion>
<sonar.organization>georgh93</sonar.organization> <sonar.organization>georgh93</sonar.organization>
<sonar.host.url>https://sonarcloud.io</sonar.host.url> <sonar.host.url>https://sonarcloud.io</sonar.host.url>
</properties> </properties>
@ -62,7 +68,7 @@
<dependency> <dependency>
<groupId>org.bukkit</groupId> <groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId> <artifactId>bukkit</artifactId>
<version>1.15.2-R0.1-SNAPSHOT</version> <version>${bukkitVersion}</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<!-- Lombok --> <!-- Lombok -->
@ -76,6 +82,7 @@
<build> <build>
<defaultGoal>clean package</defaultGoal> <defaultGoal>clean package</defaultGoal>
<sourceDirectory>src</sourceDirectory>
<plugins> <plugins>
<plugin> <plugin>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
@ -143,6 +150,7 @@
<modules> <modules>
<module>Minepacks-API</module> <module>Minepacks-API</module>
<module>Components/Minepacks-MagicValues</module> <module>Components/Minepacks-MagicValues</module>
<module>Components/Minepacks-BadRabbit-Bukkit</module>
<module>Minepacks</module> <module>Minepacks</module>
</modules> </modules>