From 1fc846a241630205e14eed154d03fb0d3724fc9f Mon Sep 17 00:00:00 2001 From: Christian Koop Date: Mon, 26 Jun 2023 16:44:28 +0200 Subject: [PATCH] Modernize and clean up `pom.xml` and `plugin.yml` --- pom.xml | 140 ++++++++++++++++------------------ src/main/resources/plugin.yml | 18 +++-- 2 files changed, 76 insertions(+), 82 deletions(-) diff --git a/pom.xml b/pom.xml index 7c3f1ba..7724fb7 100644 --- a/pom.xml +++ b/pom.xml @@ -1,104 +1,94 @@ - + + + 4.0.0 + com.songoda EpicHoppers - 4.0.0 4.7.9 - - clean install - EpicHoppers-${project.version} + EpicHoppers + Connect hoppers over long distances, filter out unwanted items, auto break blocks, auto sell items and much more. + https://craftaro.com/marketplace/product/15 + + + 8 + 1.8 + 1.8 + + UTF-8 + + + + https://discord.gg/craftaro + Discord server + + + + https://github.com/craftaro/EpicHoppers + scm:git:git://github.com/craftaro/EpicHoppers.git + + + - - org.apache.maven.plugins - maven-compiler-plugin - 3.8.0 - - - 1.8 - 1.8 - - - - - com.google.code.maven-replacer-plugin - replacer - 1.5.3 - - - - prepare-package - - replace - - - - - - ${project.build.directory}/classes/plugin.yml - - - maven-version-number - ${project.version} - - - - - org.apache.maven.plugins maven-shade-plugin - 3.3.0 + 3.4.1 - shaded package shade - false - false + ${project.name}-${project.version} - - - com.songoda:SongodaCore - - + false + true + true + + + + com.craftaro.core + com.songoda.epichoppers.core + + *:* + - META-INF/*.SF - META-INF/*.DSA - META-INF/*.RSA + META-INF/** + LICENSE + LICENSE.** - - - - com.songoda.core - ${project.groupId}.epichoppers.core - - + + + + src/main/resources + true + + - - - apache.snapshots - https://repository.apache.org/snapshots/ - - - + + craftaro-minecraft-plugins + https://repo.craftaro.com/repository/minecraft-plugins/ + + public https://repo.songoda.com/repository/public/ @@ -110,12 +100,19 @@ - spigotmc-repo + spigot-repo https://hub.spigotmc.org/nexus/content/repositories/snapshots/ + + com.songoda + SongodaCore + 2.6.20 + compile + + org.spigotmc spigot-api @@ -130,13 +127,6 @@ provided - - com.songoda - SongodaCore - 2.6.20 - compile - - com.songoda EpicFarming diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 64c9f68..91b21e0 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,9 +1,12 @@ -name: EpicHoppers -description: EpicHoppers +name: ${project.name} +description: ${project.description} +version: ${project.version} +api-version: 1.13 + main: com.songoda.epichoppers.EpicHoppers softdepend: - - ASkyBlock - AdvancedChests + - ASkyBlock - EconomyShopGUI - EconomyShopGUI-Premium - EpicFarming @@ -16,14 +19,15 @@ softdepend: - RedProtect - Reserve - Towny - - USkyBlock - UltimateStacker + - USkyBlock - Vault - WildStacker - WorldGuard -version: maven-version-number -author: Songoda -api-version: 1.13 + +author: Craftaro +website: ${project.url} + commands: eh: description: View information on this plugin.