From a5026d57477a790f6e702d706dead243c515f926 Mon Sep 17 00:00:00 2001 From: Christian Koop Date: Sun, 2 Jan 2022 23:21:16 +0100 Subject: [PATCH] Recreate pom.xml and plugin.yml (#1) Removed unneeded dependencies and mostly cleanup --- pom.xml | 160 ++++++++++++++++++---------------- src/main/resources/plugin.yml | 44 +++++++--- 2 files changed, 119 insertions(+), 85 deletions(-) diff --git a/pom.xml b/pom.xml index dcc1233..639583f 100644 --- a/pom.xml +++ b/pom.xml @@ -1,104 +1,126 @@ - + + + 4.0.0 + com.songoda UltimateKits - 4.0.0 2.7.0 + + UltimateKits + Creating and displaying your servers kits has never been easier + https://songoda.com/marketplace/product/14 + + + 1.8 + 8 + + UTF-8 + + + + https://support.songoda.com/servicedesk/customer/portal/3 + Jira Service Desk + + + + https://github.com/songoda/UltimateKits + scm:git:git:github.com/songoda/UltimateKits.git + + - clean install - UltimateKits-${project.version} org.apache.maven.plugins maven-compiler-plugin - 3.8.0 + 3.8.1 + - 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} - - + ${java.version} + ${java.version} + + ${java.release} + org.apache.maven.plugins maven-shade-plugin 3.3.0-SNAPSHOT + - shaded package + shade + - false + ${project.name}-${project.version} + false true - - - com.songoda:SongodaCore - com.zaxxer:HikariCP - org.slf4j:slf4j-api - org.slf4j:slf4j-nop - - - - - *:* - - META-INF/*.SF - META-INF/*.DSA - META-INF/*.RSA - - - + com.songoda.core - ${project.groupId}.ultimatekits.core + com.songoda.epicanchors.core + + + + *:* + + + META-INF/** + LICENSE + LICENSE.** + + + + + + + + + + + + + + src/main/resources + true + + + apache.snapshots https://repository.apache.org/snapshots/ + - public - https://repo.songoda.com/repository/public/ - - - spigot-repo + spigotmc-repo https://hub.spigotmc.org/nexus/content/repositories/snapshots/ + + + songoda-public + https://repo.songoda.com/repository/public/ + + org.spigotmc @@ -106,52 +128,40 @@ 1.18-R0.1-SNAPSHOT provided + com.songoda SongodaCore 2.6.9 compile + me.clip placeholderapi 2.5.1 + provided + com.earth2me essentials 2.17.1 + provided + bammerbom UltimateCore 2.1.26 + provided + com.github.Zrips CMI-API 7.6.2.0 provided - - com.zaxxer - HikariCP - 3.2.0 - - - org.xerial - sqlite-jdbc - 3.23.1 - - - org.slf4j - slf4j-api - 1.7.25 - - - org.slf4j - slf4j-nop - 1.7.25 - diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 231edb4..b2a0e53 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,29 +1,53 @@ -name: UltimateKits -main: com.songoda.ultimatekits.UltimateKits -version: maven-version-number -softdepend: [HolographicDisplays, Holograms, CMI, Vault, PlayerPoints, Reserve, PlaceholderAPI, UltimateCore, Essentials, MiniKitPvP] -description: View a kit before you purchase it! -author: Songoda +name: ${project.name} +description: ${project.description} +version: ${project.version} api-version: 1.13 + +main: com.songoda.ultimatekits.UltimateKits +softdepend: + - CMI + - Essentials + - Holograms + - HolographicDisplays + - MiniKitPvP + - PlaceholderAPI + - PlayerPoints + - Reserve + - UltimateCore + - Vault + +author: Songoda +website: ${project.url} + commands: kitadmin: description: View information on this plugin. default: true - aliases: [ultimatekits, kp, uk] usage: / [reload] + aliases: + - kp + - uk + - ultimatekits + kit: description: Preview a kit default: true - aliases: [kits] usage: / + aliases: + - kits + previewkit: description: Preview a kit default: true - aliases: [pk, preview] usage: / [kit] + aliases: + - pk + - preview + permissions: ultimatekits.use: description: allows the user to preview kit default: true + ultimatekits.admin: - description: Gives access to admin commands. \ No newline at end of file + description: Gives access to admin commands.