From 21f90d0deb3e42519fe88228b21fa897d6862d87 Mon Sep 17 00:00:00 2001 From: Jascha Starke Date: Sat, 3 Mar 2012 12:53:20 +0100 Subject: [PATCH] next maven step --- README.md | 23 +++++++++++++++++------ pom.xml | 29 +++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 5f1ed53..38717d8 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,22 @@ # Limited Creative http://dev.bukkit.org/server-mods/limited-creative/ -There is no automated building yet, so just use "Export..." -> "JAR file" in Eclipse +Required dependencies: +* [Bukkit](https://github.com/Bukkit/Bukkit) -Dependencies: +Maven Dependencies for optional integrations: +* [WorldGuard](https://github.com/sk89q/worldguard) +* [WorldEdit](https://github.com/sk89q/worldedit) +Non-Maven dependencies for optional integrations: +* [xAuth](http://dev.bukkit.org/server-mods/xauth/) +* [AuthMe](http://dev.bukkit.org/server-mods/authme-reloaded/) +* [Multiverse-Core](http://dev.bukkit.org/server-mods/multiverse-core/) -* [Craftbukkit](https://github.com/Bukkit/CraftBukkit) - * which implies [Bukkit](https://github.com/Bukkit/Bukkit) -* Optional: [WorldGuard](https://github.com/sk89q/worldguard) - * which depends on [WorldEdit](https://github.com/sk89q/worldedit) \ No newline at end of file +---- + +To use Maven packaging: +You need to add the non-maven dependencies: +* download the jars and then: +* $ mvn install:install-file -Dfile=AuthMe.jar -DgroupId=uk.org.whoami -DartifactId=authme -Dversion=2.6.2 -Dpackaging=jar +* $ mvn install:install-file -Dfile=Multiverse-Core.jar -DgroupId=com.onarandombox -DartifactId=multiverse-core -Dversion=2.3-AB -Dpackaging=jar +* $ mvn install:install-file -Dfile=xAuth.jar -DgroupId=com.cypherx -DartifactId=xauth -Dversion=3.1 -Dpackaging=jar \ No newline at end of file diff --git a/pom.xml b/pom.xml index 35f40ed..43b242f 100644 --- a/pom.xml +++ b/pom.xml @@ -10,6 +10,20 @@ scm:git:git@github.com:possi/LimitedCreative.git https://github.com/possi/LimitedCreative/tree/master + + ${basedir}/src + + + org.apache.maven.plugins + maven-compiler-plugin + 2.0.2 + + 1.7 + 1.5 + + + + org.bukkit @@ -21,6 +35,21 @@ worldguard 5.5.2-SNAPSHOT + + uk.org.whoami + authme + 2.6.2 + + + com.onarandombox + multiverse-core + 2.3-AB + + + com.cypherx + xauth + 3.1 + UTF-8