diff --git a/.gitignore b/.gitignore index ee01930..dc0d833 100644 --- a/.gitignore +++ b/.gitignore @@ -1,10 +1,2 @@ +target/ -/lib/craftbukkit.jar -/lib/Permissions.jar -/nbproject/private -/build -/dist -/lib/GroupManager.jar -/nbproject/pmd.settings - -/nbproject/findbugs.settings \ No newline at end of file diff --git a/build.xml b/build.xml deleted file mode 100644 index 51b370b..0000000 --- a/build.xml +++ /dev/null @@ -1,74 +0,0 @@ - - - - - - - - - - - Builds, tests, and runs the project WorldBorder. - - - diff --git a/lib/CopyLibs/org-netbeans-modules-java-j2seproject-copylibstask.jar b/lib/CopyLibs/org-netbeans-modules-java-j2seproject-copylibstask.jar deleted file mode 100644 index 4a59964..0000000 Binary files a/lib/CopyLibs/org-netbeans-modules-java-j2seproject-copylibstask.jar and /dev/null differ diff --git a/lib/dynmap-api.jar b/lib/dynmap-api.jar deleted file mode 100644 index 283d9ba..0000000 Binary files a/lib/dynmap-api.jar and /dev/null differ diff --git a/lib/junit/junit-3.8.2-api.zip b/lib/junit/junit-3.8.2-api.zip deleted file mode 100644 index 6d792fd..0000000 Binary files a/lib/junit/junit-3.8.2-api.zip and /dev/null differ diff --git a/lib/junit/junit-3.8.2.jar b/lib/junit/junit-3.8.2.jar deleted file mode 100644 index d835872..0000000 Binary files a/lib/junit/junit-3.8.2.jar and /dev/null differ diff --git a/lib/junit_4/junit-4.5-api.zip b/lib/junit_4/junit-4.5-api.zip deleted file mode 100644 index 5748c44..0000000 Binary files a/lib/junit_4/junit-4.5-api.zip and /dev/null differ diff --git a/lib/junit_4/junit-4.5-src.jar b/lib/junit_4/junit-4.5-src.jar deleted file mode 100644 index 18774a5..0000000 Binary files a/lib/junit_4/junit-4.5-src.jar and /dev/null differ diff --git a/lib/junit_4/junit-4.5.jar b/lib/junit_4/junit-4.5.jar deleted file mode 100644 index 83f8bc7..0000000 Binary files a/lib/junit_4/junit-4.5.jar and /dev/null differ diff --git a/lib/nblibraries.properties b/lib/nblibraries.properties deleted file mode 100644 index 9137b06..0000000 --- a/lib/nblibraries.properties +++ /dev/null @@ -1,12 +0,0 @@ -libs.CopyLibs.classpath=\ - ${base}/CopyLibs/org-netbeans-modules-java-j2seproject-copylibstask.jar -libs.junit.classpath=\ - ${base}/junit/junit-3.8.2.jar -libs.junit.javadoc=\ - ${base}/junit/junit-3.8.2-api.zip -libs.junit_4.classpath=\ - ${base}/junit_4/junit-4.5.jar -libs.junit_4.javadoc=\ - ${base}/junit_4/junit-4.5-api.zip -libs.junit_4.src=\ - ${base}/junit_4/junit-4.5-src.jar diff --git a/manifest.mf b/manifest.mf deleted file mode 100644 index 328e8e5..0000000 --- a/manifest.mf +++ /dev/null @@ -1,3 +0,0 @@ -Manifest-Version: 1.0 -X-COMMENT: Main-Class will be added automatically by build - diff --git a/nbproject/build-impl.xml b/nbproject/build-impl.xml deleted file mode 100644 index 85e1d33..0000000 --- a/nbproject/build-impl.xml +++ /dev/null @@ -1,1056 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set src.src.dir - Must set build.dir - Must set dist.dir - Must set build.classes.dir - Must set dist.javadoc.dir - Must set build.test.classes.dir - Must set build.test.results.dir - Must set build.classes.excludes - Must set dist.jar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set JVM to use for profiling in profiler.info.jvm - Must set profiler agent JVM arguments in profiler.info.jvmargs.agent - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - - - - - - java -cp "${run.classpath.with.dist.jar}" ${main.class} - - - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - java -jar "${dist.jar.resolved}" - - - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set run.class - - - - Must select one file in the IDE or set run.class - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set debug.class - - - - - Must select one file in the IDE or set debug.class - - - - - Must set fix.includes - - - - - - - - - - - - - - - - - Must select one file in the IDE or set profile.class - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - Some tests failed; see details above. - - - - - - - - - Must select some files in the IDE or set test.includes - - - - Some tests failed; see details above. - - - - - Must select one file in the IDE or set test.class - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/nbproject/genfiles.properties b/nbproject/genfiles.properties deleted file mode 100644 index b475776..0000000 --- a/nbproject/genfiles.properties +++ /dev/null @@ -1,8 +0,0 @@ -build.xml.data.CRC32=7ce24f55 -build.xml.script.CRC32=cc9e7e41 -build.xml.stylesheet.CRC32=28e38971@1.38.3.45 -# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. -# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. -nbproject/build-impl.xml.data.CRC32=7ce24f55 -nbproject/build-impl.xml.script.CRC32=b6c24088 -nbproject/build-impl.xml.stylesheet.CRC32=0ae3a408@1.44.1.45 diff --git a/nbproject/project.properties b/nbproject/project.properties deleted file mode 100644 index 37e187c..0000000 --- a/nbproject/project.properties +++ /dev/null @@ -1,78 +0,0 @@ -annotation.processing.enabled=true -annotation.processing.enabled.in.editor=false -annotation.processing.run.all.processors=true -annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output -application.title=WorldBorder -application.vendor=Brett Flannigan -build.classes.dir=${build.dir}/classes -build.classes.excludes=**/*.java,**/*.form -# This directory is removed when the project is cleaned: -build.dir=build -build.generated.dir=${build.dir}/generated -build.generated.sources.dir=${build.dir}/generated-sources -# Only compile against the classpath explicitly listed here: -build.sysclasspath=ignore -build.test.classes.dir=${build.dir}/test/classes -build.test.results.dir=${build.dir}/test/results -# Uncomment to specify the preferred debugger connection transport: -#debug.transport=dt_socket -debug.classpath=\ - ${run.classpath} -debug.test.classpath=\ - ${run.test.classpath} -# This directory is removed when the project is cleaned: -dist.dir=dist -dist.jar=${dist.dir}/WorldBorder.jar -dist.javadoc.dir=${dist.dir}/javadoc -endorsed.classpath= -excludes= -file.reference.CalcTest-src=src -file.reference.craftbukkit.jar=lib\\craftbukkit.jar -file.reference.dynmap-api.jar=lib\\dynmap-api.jar -includes=** -jar.compress=true -javac.classpath=\ - ${file.reference.craftbukkit.jar}:\ - ${file.reference.dynmap-api.jar} -# Space-separated list of extra javac options -javac.compilerargs= -javac.deprecation=false -javac.processorpath=\ - ${javac.classpath} -javac.source=1.5 -javac.target=1.5 -javac.test.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir}:\ - ${libs.junit.classpath}:\ - ${libs.junit_4.classpath} -javac.test.processorpath=\ - ${javac.test.classpath} -javadoc.additionalparam= -javadoc.author=false -javadoc.encoding=${source.encoding} -javadoc.noindex=false -javadoc.nonavbar=false -javadoc.notree=false -javadoc.private=false -javadoc.splitindex=true -javadoc.use=true -javadoc.version=false -javadoc.windowtitle= -main.class= -manifest.file=manifest.mf -meta.inf.dir=${src.dir}/META-INF -mkdist.disabled=false -platform.active=default_platform -run.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir} -# Space-separated list of JVM arguments used when running the project -# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value -# or test-sys-prop.name=value to set system properties for unit tests): -run.jvmargs= -run.test.classpath=\ - ${javac.test.classpath}:\ - ${build.test.classes.dir} -source.encoding=ISO-8859-1 -src.src.dir=src diff --git a/nbproject/project.xml b/nbproject/project.xml deleted file mode 100644 index 606574c..0000000 --- a/nbproject/project.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - org.netbeans.modules.java.j2seproject - - - WorldBorder - - - - - - - lib\nblibraries.properties - - - diff --git a/pom.xml b/pom.xml index f46451f..e6171ec 100644 --- a/pom.xml +++ b/pom.xml @@ -1,43 +1,57 @@ - 4.0.0 - com.github.brettflan - WorldBorder - 1.5.0 - WorldBorder - https://github.com/Brettflan/WorldBorder - - GitHub - https://github.com/Brettflan/WorldBorder/issues - - - ${project.artifactId} - - - org.apache.maven.plugins - maven-compiler-plugin - 2.0.2 - - 1.6 - 1.6 - - - - - - - org.bukkit - bukkit - 1.2.4-R0.1-SNAPSHOT - - - org.dynmap - dynmap-api - 0.36 - - + 4.0.0 + com.github.brettflan + WorldBorder + 1.5.0 + WorldBorder + https://github.com/Brettflan/WorldBorder + + GitHub + https://github.com/Brettflan/WorldBorder/issues + - - UTF-8 - + + UTF-8 + + + + + bukkit-repo + http://repo.bukkit.org/content/groups/public/ + + + dynmap-repo + http://repo.mikeprimm.com/ + + + + + + org.bukkit + bukkit + 1.2.4-R0.1-SNAPSHOT + + + org.dynmap + dynmap-api + 1.3 + + + + + clean install + ${project.artifactId} + + + org.apache.maven.plugins + maven-compiler-plugin + 2.0.2 + + 1.6 + 1.6 + + + + diff --git a/src/com/wimbli/WorldBorder/BorderCheckTask.java b/src/main/java/com/wimbli/WorldBorder/BorderCheckTask.java similarity index 100% rename from src/com/wimbli/WorldBorder/BorderCheckTask.java rename to src/main/java/com/wimbli/WorldBorder/BorderCheckTask.java diff --git a/src/com/wimbli/WorldBorder/BorderData.java b/src/main/java/com/wimbli/WorldBorder/BorderData.java similarity index 100% rename from src/com/wimbli/WorldBorder/BorderData.java rename to src/main/java/com/wimbli/WorldBorder/BorderData.java diff --git a/src/com/wimbli/WorldBorder/Config.java b/src/main/java/com/wimbli/WorldBorder/Config.java similarity index 100% rename from src/com/wimbli/WorldBorder/Config.java rename to src/main/java/com/wimbli/WorldBorder/Config.java diff --git a/src/com/wimbli/WorldBorder/CoordXZ.java b/src/main/java/com/wimbli/WorldBorder/CoordXZ.java similarity index 100% rename from src/com/wimbli/WorldBorder/CoordXZ.java rename to src/main/java/com/wimbli/WorldBorder/CoordXZ.java diff --git a/src/com/wimbli/WorldBorder/DynMapFeatures.java b/src/main/java/com/wimbli/WorldBorder/DynMapFeatures.java similarity index 100% rename from src/com/wimbli/WorldBorder/DynMapFeatures.java rename to src/main/java/com/wimbli/WorldBorder/DynMapFeatures.java diff --git a/src/com/wimbli/WorldBorder/WBCommand.java b/src/main/java/com/wimbli/WorldBorder/WBCommand.java similarity index 100% rename from src/com/wimbli/WorldBorder/WBCommand.java rename to src/main/java/com/wimbli/WorldBorder/WBCommand.java diff --git a/src/com/wimbli/WorldBorder/WBListener.java b/src/main/java/com/wimbli/WorldBorder/WBListener.java similarity index 100% rename from src/com/wimbli/WorldBorder/WBListener.java rename to src/main/java/com/wimbli/WorldBorder/WBListener.java diff --git a/src/com/wimbli/WorldBorder/WorldBorder.java b/src/main/java/com/wimbli/WorldBorder/WorldBorder.java similarity index 100% rename from src/com/wimbli/WorldBorder/WorldBorder.java rename to src/main/java/com/wimbli/WorldBorder/WorldBorder.java diff --git a/src/com/wimbli/WorldBorder/WorldFileData.java b/src/main/java/com/wimbli/WorldBorder/WorldFileData.java similarity index 100% rename from src/com/wimbli/WorldBorder/WorldFileData.java rename to src/main/java/com/wimbli/WorldBorder/WorldFileData.java diff --git a/src/com/wimbli/WorldBorder/WorldFillTask.java b/src/main/java/com/wimbli/WorldBorder/WorldFillTask.java similarity index 100% rename from src/com/wimbli/WorldBorder/WorldFillTask.java rename to src/main/java/com/wimbli/WorldBorder/WorldFillTask.java diff --git a/src/com/wimbli/WorldBorder/WorldTrimTask.java b/src/main/java/com/wimbli/WorldBorder/WorldTrimTask.java similarity index 100% rename from src/com/wimbli/WorldBorder/WorldTrimTask.java rename to src/main/java/com/wimbli/WorldBorder/WorldTrimTask.java diff --git a/src/plugin.yml b/src/main/resources/plugin.yml similarity index 100% rename from src/plugin.yml rename to src/main/resources/plugin.yml