From 9017dadc15878a852f67510e00c93ead6802215c Mon Sep 17 00:00:00 2001 From: Phoenix616 Date: Wed, 23 Jan 2019 00:48:02 +0100 Subject: [PATCH] Fix issues with maven build --- pom.xml | 32 ++----------- randomteleport-plugin-hooks/pom.xml | 3 +- .../worldguard-7/pom.xml | 12 +++++ randomteleport-plugin/pom.xml | 48 +++++++++++++++++-- 4 files changed, 64 insertions(+), 31 deletions(-) diff --git a/pom.xml b/pom.xml index a7d4833..e9c91d0 100644 --- a/pom.xml +++ b/pom.xml @@ -14,6 +14,7 @@ UTF-8 ${buildNumber} + ${project.name} ${project.version} ${buildDescription} 1.8 1.8 @@ -37,6 +38,10 @@ spigot-repo https://hub.spigotmc.org/nexus/content/groups/public + + paper-repo + https://papermc.io/repo/content/groups/public + @@ -81,31 +86,4 @@ - - - - org.apache.maven.plugins - maven-shade-plugin - 3.1.1 - - ${project.build.directory}/dependency-reduced-pom.xml - - - io.papermc.lib - de.themoep.randomteleport.paperlib - - - - - - package - - shade - - - - - - - \ No newline at end of file diff --git a/randomteleport-plugin-hooks/pom.xml b/randomteleport-plugin-hooks/pom.xml index 22da68f..ea39f90 100644 --- a/randomteleport-plugin-hooks/pom.xml +++ b/randomteleport-plugin-hooks/pom.xml @@ -24,7 +24,8 @@ de.themoep.randomteleport randomteleport-hook - ${version} + ${project.version} + provided diff --git a/randomteleport-plugin-hooks/worldguard-7/pom.xml b/randomteleport-plugin-hooks/worldguard-7/pom.xml index ee13edc..e83c87c 100644 --- a/randomteleport-plugin-hooks/worldguard-7/pom.xml +++ b/randomteleport-plugin-hooks/worldguard-7/pom.xml @@ -25,6 +25,18 @@ worldguard-legacy 7.0.0-SNAPSHOT provided + + + org.bukkit + bukkit + + + + + org.bukkit + bukkit + 1.13-R0.1-SNAPSHOT + provided diff --git a/randomteleport-plugin/pom.xml b/randomteleport-plugin/pom.xml index 3967a96..accdd0d 100644 --- a/randomteleport-plugin/pom.xml +++ b/randomteleport-plugin/pom.xml @@ -19,15 +19,33 @@ - de.themoep.randomteleport - randomteleport-hooks + ${project.groupId} + randomteleport-hook + ${project.version} + compile + + + ${project.groupId}.pluginhook + worldguard-6 + ${project.version} + compile + + + ${project.groupId}.pluginhook + worldguard-7 + ${project.version} + compile + + + ${project.groupId}.pluginhook + worldborder ${project.version} compile - ${parent.name} + ${minecraft.plugin.name} ../target/ @@ -35,6 +53,30 @@ ${project.basedir}/src/main/resources + + + org.apache.maven.plugins + maven-shade-plugin + 3.1.1 + + ${project.build.directory}/dependency-reduced-pom.xml + + + io.papermc.lib + de.themoep.randomteleport.paperlib + + + + + + package + + shade + + + + + \ No newline at end of file