From c14966d5948da46066f49f01d0471f5b289114b0 Mon Sep 17 00:00:00 2001 From: Garsooon Date: Thu, 13 Mar 2025 14:36:39 -0700 Subject: [PATCH 1/5] Adds Pom.xml --- .gitignore | 3 +++ pom.xml | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 pom.xml diff --git a/.gitignore b/.gitignore index 5a0543a..53eff7d 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,9 @@ # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm # Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 +# Maven +target/ + # User-specific stuff .idea/**/workspace.xml .idea/**/tasks.xml diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..73c090b --- /dev/null +++ b/pom.xml @@ -0,0 +1,63 @@ + + 4.0.0 + + com.johnyperms + JohnyPerms + JohnyPerms + jar + 1.0 + + + UTF-8 + + + + + johnymuffin-nexus-releases + https://repository.johnymuffin.com/repository/maven-public/ + + + + + + com.legacyminecraft.poseidon + poseidon-craftbukkit + 1.1.8 + + + + com.earth2me.essentials + essentials-libraries-rollup + 0.0.1 + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.11.0 + + 1.8 + 1.8 + + + + org.apache.maven.plugins + maven-resources-plugin + 2.6 + + + + + + src/main/resources + true + + + + + \ No newline at end of file From ae9968af721a37f2a0eba5e1a616bea01ec01ac6 Mon Sep 17 00:00:00 2001 From: Garsooon <46406077+Garsooon@users.noreply.github.com> Date: Thu, 13 Mar 2025 21:39:14 +0000 Subject: [PATCH 2/5] Update README.md Updates readme for addition of pom.xml --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index d73b50f..e3fd756 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,13 @@ # JohnyPerms A simple permissions plugin which supports UUIDs designed to replace PEX + +Compiling +--------- + +You need to have Maven installed (http://maven.apache.org). Once installed, +simply run: + + mvn clean install + +Maven will automatically download dependencies for you. Note: For that to work, +be sure to add Maven to your "PATH". From fd381a9887f5cd0e1a740535c466534af3216e97 Mon Sep 17 00:00:00 2001 From: Garsooon <46406077+Garsooon@users.noreply.github.com> Date: Thu, 13 Mar 2025 21:57:28 +0000 Subject: [PATCH 3/5] Update pom.xml adds proper building to pom.xml --- pom.xml | 86 +++++++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 71 insertions(+), 15 deletions(-) diff --git a/pom.xml b/pom.xml index 73c090b..4d45a09 100644 --- a/pom.xml +++ b/pom.xml @@ -34,30 +34,86 @@ + + clean install + + + + + + + + + org.apache.maven.plugins - maven-compiler-plugin - 3.11.0 + maven-jar-plugin + 3.2.0 - 1.8 - 1.8 + + + org.bukkit.craftbukkit.Main + Project-Posiden + RhysB + Bukkit + ${api.version} + Bukkit Team + true + + + + net/bukkit/ + + true + + + + com/bukkit/ + + true + + + + org/bukkit/ + + true + + + + org.apache.maven.plugins - maven-resources-plugin - 2.6 + maven-shade-plugin + 3.2.4 + + + package + + shade + + + + + junit:junit + + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.8.1 + + 1.8 + 1.8 + - - - - src/main/resources - true - - - - \ No newline at end of file + From cf92ec7ac9932bd778da5ed445ad9820f59690a1 Mon Sep 17 00:00:00 2001 From: Garsooon Date: Thu, 13 Mar 2025 15:19:18 -0700 Subject: [PATCH 4/5] Adds Pom.xml --- pom.xml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/pom.xml b/pom.xml index 4d45a09..60e1c73 100644 --- a/pom.xml +++ b/pom.xml @@ -11,6 +11,8 @@ UTF-8 + 1.8 + 1.8 @@ -54,12 +56,9 @@ - org.bukkit.craftbukkit.Main - Project-Posiden + com.johnyperms.JohnyPerms + JohnyPerms RhysB - Bukkit - ${api.version} - Bukkit Team true @@ -116,4 +115,4 @@ - + \ No newline at end of file From b8d42e0d854702bd2b6b5dc8f4106b478938e133 Mon Sep 17 00:00:00 2001 From: Garsooon <46406077+Garsooon@users.noreply.github.com> Date: Thu, 13 Mar 2025 22:29:12 +0000 Subject: [PATCH 5/5] Update pom.xml --- pom.xml | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/pom.xml b/pom.xml index 60e1c73..39fde90 100644 --- a/pom.xml +++ b/pom.xml @@ -63,19 +63,7 @@ - net/bukkit/ - - true - - - - com/bukkit/ - - true - - - - org/bukkit/ + com/johnyperms/ true @@ -115,4 +103,4 @@ - \ No newline at end of file +