Changed over to Maven project

This commit is contained in:
Blackvein 2013-08-05 17:09:42 -07:00
parent 0214819ba2
commit 68700b6860
50 changed files with 85 additions and 1766 deletions

BIN
.DS_Store vendored

Binary file not shown.

22
.gitattributes vendored
View File

@ -1,22 +0,0 @@
# Auto detect text files and perform LF normalization
* text=auto
# Custom for Visual Studio
*.cs diff=csharp
*.sln merge=union
*.csproj merge=union
*.vbproj merge=union
*.fsproj merge=union
*.dbproj merge=union
# Standard to msysgit
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain

17
.gitignore vendored
View File

@ -1,18 +1 @@
nbproject/
nbproject/private/
build/
nbbuild/
dist/
nbdist/
nbactions.xml
nb-configuration.xml
nbproject\project.properties
# Class Files #
*.class
# Package Files #
*.jar
*.war
*.ear
/target

View File

View File

@ -1,74 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- You may freely edit this file. See commented blocks below for -->
<!-- some examples of how to customize the build. -->
<!-- (If you delete it and reopen the project it will be recreated.) -->
<!-- By default, only the Clean and Build commands use this build script. -->
<!-- Commands such as Run, Debug, and Test only use this build script if -->
<!-- the Compile on Save feature is turned off for the project. -->
<!-- You can turn off the Compile on Save (or Deploy on Save) setting -->
<!-- in the project's Project Properties dialog box.-->
<project name="Quests" default="default" basedir=".">
<description>Builds, tests, and runs the project Quests.</description>
<import file="nbproject/build-impl.xml"/>
<!--
There exist several targets which are by default empty and which can be
used for execution of your tasks. These targets are usually executed
before and after some main targets. They are:
-pre-init: called before initialization of project properties
-post-init: called after initialization of project properties
-pre-compile: called before javac compilation
-post-compile: called after javac compilation
-pre-compile-single: called before javac compilation of single file
-post-compile-single: called after javac compilation of single file
-pre-compile-test: called before javac compilation of JUnit tests
-post-compile-test: called after javac compilation of JUnit tests
-pre-compile-test-single: called before javac compilation of single JUnit test
-post-compile-test-single: called after javac compilation of single JUunit test
-pre-jar: called before JAR building
-post-jar: called after JAR building
-post-clean: called after cleaning build products
(Targets beginning with '-' are not intended to be called on their own.)
Example of inserting an obfuscator after compilation could look like this:
<target name="-post-compile">
<obfuscate>
<fileset dir="${build.classes.dir}"/>
</obfuscate>
</target>
For list of available properties check the imported
nbproject/build-impl.xml file.
Another way to customize the build is by overriding existing main targets.
The targets of interest are:
-init-macrodef-javac: defines macro for javac compilation
-init-macrodef-junit: defines macro for junit execution
-init-macrodef-debug: defines macro for class debugging
-init-macrodef-java: defines macro for class execution
-do-jar-with-manifest: JAR building (if you are using a manifest)
-do-jar-without-manifest: JAR building (if you are not using a manifest)
run: execution of project
-javadoc-build: Javadoc generation
test-report: JUnit report generation
An example of overriding the target for project execution could look like this:
<target name="run" depends="Quests-impl.jar">
<exec dir="bin" executable="launcher.exe">
<arg file="${dist.jar}"/>
</exec>
</target>
Notice that the overridden target depends on the jar target and not only on
the compile target as the regular run target does. Again, for a list of available
properties which you can use, check the target you are overriding in the
nbproject/build-impl.xml file.
-->
</project>

View File

@ -1,4 +0,0 @@
#Mon, 05 Aug 2013 16:21:50 -0700
C\:\\Users\\Alex\\Documents\\GitHub\\Quests=

BIN
dist/.DS_Store vendored

Binary file not shown.

32
dist/README.TXT vendored
View File

@ -1,32 +0,0 @@
========================
BUILD OUTPUT DESCRIPTION
========================
When you build an Java application project that has a main class, the IDE
automatically copies all of the JAR
files on the projects classpath to your projects dist/lib folder. The IDE
also adds each of the JAR files to the Class-Path element in the application
JAR files manifest file (MANIFEST.MF).
To run the project from the command line, go to the dist folder and
type the following:
java -jar "Quests.jar"
To distribute this project, zip up the dist folder (including the lib folder)
and distribute the ZIP file.
Notes:
* If two JAR files on the project classpath have the same name, only the first
JAR file is copied to the lib folder.
* Only JAR files are copied to the lib folder.
If the classpath contains other types of files or folders, these files (folders)
are not copied.
* If a library on the projects classpath also has a Class-Path element
specified in the manifest,the content of the Class-Path element has to be on
the projects runtime path.
* To set a main class in a standard Java project, right-click the project node
in the Projects window and choose Properties. Then click Run and enter the
class name in the Main Class field. Alternatively, you can manually type the
class name in the manifest Main-Class element.

BIN
dist/lib/Vault.jar vendored

Binary file not shown.

Binary file not shown.

BIN
dist/lib/mcMMO.jar vendored

Binary file not shown.

View File

@ -1,3 +0,0 @@
Manifest-Version: 1.0
X-COMMENT: Main-Class will be added automatically by build

BIN
nbproject/.DS_Store vendored

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -1,8 +0,0 @@
build.xml.data.CRC32=4e312887
build.xml.script.CRC32=2fa1ab10
build.xml.stylesheet.CRC32=28e38971@1.53.1.46
# 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=4e312887
nbproject/build-impl.xml.script.CRC32=96e642f9
nbproject/build-impl.xml.stylesheet.CRC32=6ddba6b6@1.53.1.46

View File

@ -1,6 +0,0 @@
compile.on.save=true
do.depend=false
do.jar=true
javac.debug=true
javadoc.preview=true
user.properties.file=C:\\Users\\Alex\\AppData\\Roaming\\NetBeans\\7.2.1\\build.properties

View File

@ -1,4 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
<editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="1"/>
</project-private>

View File

@ -1,96 +0,0 @@
annotation.processing.enabled=true
annotation.processing.enabled.in.editor=false
annotation.processing.processors.list=
annotation.processing.run.all.processors=true
annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output
application.title=Quests
application.vendor=Alex
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}/Quests.jar
dist.javadoc.dir=${dist.dir}/javadoc
endorsed.classpath=
excludes=
file.reference.craftbukkit-1.6.2-R0.1.jar=lib/craftbukkit-1.6.2-R0.1.jar
file.reference.denizen-0.8.8-PRERELEASE.jar=lib\\denizen-0.8.8-PRERELEASE.jar
file.reference.EpicBossRecoded.jar=lib/EpicBossRecoded.jar
file.reference.mcMMO.jar=lib\\mcMMO.jar
file.reference.Vault.jar=lib/Vault.jar
includes=**
jar.archive.disabled=${jnlp.enabled}
jar.compress=false
jar.index=${jnlp.enabled}
javac.classpath=\
${file.reference.Vault.jar}:\
${libs.Bukkit.classpath}:\
${libs.CitizensAPI.classpath}:\
${file.reference.mcMMO.jar}:\
${file.reference.denizen-0.8.8-PRERELEASE.jar}:\
${file.reference.EpicBossRecoded.jar}:\
${file.reference.craftbukkit-1.6.2-R0.1.jar}
# Space-separated list of extra javac options
javac.compilerargs=
javac.deprecation=false
javac.processorpath=\
${javac.classpath}
javac.source=1.6
javac.target=1.6
javac.test.classpath=\
${javac.classpath}:\
${build.classes.dir}
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=
jnlp.codebase.type=no.codebase
jnlp.descriptor=application
jnlp.enabled=false
jnlp.mixed.code=default
jnlp.offline-allowed=false
jnlp.signed=false
jnlp.signing=
jnlp.signing.alias=
jnlp.signing.keystore=
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.
# To set system properties for unit tests define test-sys-prop.name=value:
run.jvmargs=
run.test.classpath=\
${javac.test.classpath}:\
${build.test.classes.dir}
source.encoding=UTF-8
src.dir=src
test.src.dir=test

View File

@ -1,15 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://www.netbeans.org/ns/project/1">
<type>org.netbeans.modules.java.j2seproject</type>
<configuration>
<data xmlns="http://www.netbeans.org/ns/j2se-project/3">
<name>Quests</name>
<source-roots>
<root id="src.dir"/>
</source-roots>
<test-roots>
<root id="test.src.dir"/>
</test-roots>
</data>
</configuration>
</project>

BIN
src/.DS_Store vendored

Binary file not shown.

View File

@ -1,4 +1,4 @@
package main.java.me.blackvein.quests;
package me.blackvein.quests;
import org.bukkit.ChatColor;

View File

@ -1,4 +1,4 @@
package main.java.me.blackvein.quests;
package me.blackvein.quests;
import me.ThaH3lper.com.Api.BossDeathEvent;
import org.bukkit.entity.Player;

View File

@ -1,8 +1,8 @@
package main.java.me.blackvein.quests;
package me.blackvein.quests;
import java.io.File;
import java.util.*;
import main.java.me.blackvein.quests.util.ItemUtil;
import me.blackvein.quests.util.ItemUtil;
import org.bukkit.*;
import org.bukkit.configuration.file.FileConfiguration;
import org.bukkit.configuration.file.YamlConfiguration;

View File

@ -1,4 +1,4 @@
package main.java.me.blackvein.quests;
package me.blackvein.quests;
import java.io.File;
import java.util.Arrays;
@ -7,10 +7,10 @@ import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import main.java.me.blackvein.quests.prompts.ItemStackPrompt;
import main.java.me.blackvein.quests.util.CK;
import main.java.me.blackvein.quests.util.ItemUtil;
import main.java.me.blackvein.quests.util.Lang;
import me.blackvein.quests.prompts.ItemStackPrompt;
import me.blackvein.quests.util.CK;
import me.blackvein.quests.util.ItemUtil;
import me.blackvein.quests.util.Lang;
import net.citizensnpcs.api.CitizensAPI;
import org.apache.commons.lang.StringUtils;

View File

@ -1,4 +1,4 @@
package main.java.me.blackvein.quests;
package me.blackvein.quests;
import java.util.HashMap;
import java.util.Scanner;

View File

@ -1,4 +1,4 @@
package main.java.me.blackvein.quests;
package me.blackvein.quests;
import java.util.LinkedList;
import org.bukkit.enchantments.Enchantment;

View File

@ -1,4 +1,4 @@
package main.java.me.blackvein.quests;
package me.blackvein.quests;
import java.util.List;
import net.citizensnpcs.api.npc.NPC;

View File

@ -1,8 +1,8 @@
package main.java.me.blackvein.quests;
package me.blackvein.quests;
import java.text.MessageFormat;
import java.util.LinkedList;
import main.java.me.blackvein.quests.util.ItemUtil;
import me.blackvein.quests.util.ItemUtil;
import net.citizensnpcs.api.CitizensAPI;
import net.citizensnpcs.api.event.NPCDeathEvent;
import net.citizensnpcs.api.event.NPCRightClickEvent;

View File

@ -1,4 +1,4 @@
package main.java.me.blackvein.quests;
package me.blackvein.quests;
import net.minecraft.server.v1_6_R2.Packet;
import org.bukkit.craftbukkit.v1_6_R2.entity.CraftPlayer;

View File

@ -1,6 +1,6 @@
package main.java.me.blackvein.quests;
package me.blackvein.quests;
import main.java.me.blackvein.quests.util.ReflectionUtil;
import me.blackvein.quests.util.ReflectionUtil;
import net.minecraft.server.v1_6_R2.Packet63WorldParticles;
import org.bukkit.Location;

View File

@ -1,4 +1,4 @@
package main.java.me.blackvein.quests;
package me.blackvein.quests;
import java.io.File;

View File

@ -1,9 +1,9 @@
package main.java.me.blackvein.quests;
package me.blackvein.quests;
import com.gmail.nossr50.datatypes.player.McMMOPlayer;
import java.util.LinkedList;
import java.util.List;
import main.java.me.blackvein.quests.util.ItemUtil;
import me.blackvein.quests.util.ItemUtil;
import net.citizensnpcs.api.npc.NPC;
import org.bukkit.ChatColor;
import org.bukkit.Location;

View File

@ -1,4 +1,4 @@
package main.java.me.blackvein.quests;
package me.blackvein.quests;
import java.io.File;
import java.util.HashMap;
@ -6,12 +6,12 @@ import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import main.java.me.blackvein.quests.prompts.RequirementsPrompt;
import main.java.me.blackvein.quests.prompts.RewardsPrompt;
import main.java.me.blackvein.quests.prompts.StagesPrompt;
import main.java.me.blackvein.quests.util.CK;
import main.java.me.blackvein.quests.util.ItemUtil;
import main.java.me.blackvein.quests.util.Lang;
import me.blackvein.quests.prompts.RequirementsPrompt;
import me.blackvein.quests.prompts.RewardsPrompt;
import me.blackvein.quests.prompts.StagesPrompt;
import me.blackvein.quests.util.CK;
import me.blackvein.quests.util.ItemUtil;
import me.blackvein.quests.util.Lang;
import net.citizensnpcs.api.CitizensAPI;
import net.citizensnpcs.api.npc.NPC;
import org.bukkit.ChatColor;

View File

@ -1,4 +1,4 @@
package main.java.me.blackvein.quests;
package me.blackvein.quests;
import net.aufdemrand.denizen.scripts.ScriptRegistry;
import net.aufdemrand.denizen.scripts.containers.core.TaskScriptContainer;

View File

@ -1,10 +1,10 @@
package main.java.me.blackvein.quests;
package me.blackvein.quests;
import java.io.File;
import java.util.*;
import java.util.Map.Entry;
import me.ThaH3lper.com.LoadBosses.LoadBoss;
import main.java.me.blackvein.quests.util.ItemUtil;
import me.blackvein.quests.util.ItemUtil;
import net.citizensnpcs.api.CitizensAPI;
import net.citizensnpcs.api.npc.NPC;
import org.bukkit.ChatColor;

View File

@ -1,4 +1,4 @@
package main.java.me.blackvein.quests;
package me.blackvein.quests;
import java.io.File;
import java.sql.Connection;
@ -22,9 +22,9 @@ import java.util.logging.Logger;
import me.ThaH3lper.com.EpicBoss;
import me.ThaH3lper.com.LoadBosses.LoadBoss;
import main.java.me.blackvein.quests.prompts.QuestAcceptPrompt;
import main.java.me.blackvein.quests.util.ItemUtil;
import main.java.me.blackvein.quests.util.Lang;
import me.blackvein.quests.prompts.QuestAcceptPrompt;
import me.blackvein.quests.util.ItemUtil;
import me.blackvein.quests.util.Lang;
import net.aufdemrand.denizen.Denizen;
import net.aufdemrand.denizen.scripts.ScriptRegistry;
import net.citizensnpcs.api.CitizensAPI;

View File

@ -1,4 +1,4 @@
package main.java.me.blackvein.quests;
package me.blackvein.quests;
import java.lang.reflect.Field;

View File

@ -1,4 +1,4 @@
package main.java.me.blackvein.quests;
package me.blackvein.quests;
import java.util.ArrayList;
import java.util.EnumMap;

View File

@ -1,4 +1,4 @@
package main.java.me.blackvein.quests;
package me.blackvein.quests;
import org.bukkit.ChatColor;
import org.bukkit.entity.Player;

View File

@ -1,17 +1,17 @@
package main.java.me.blackvein.quests.prompts;
package me.blackvein.quests.prompts;
import java.util.Arrays;
import java.util.LinkedList;
import java.util.List;
import me.ThaH3lper.com.LoadBosses.LoadBoss;
import main.java.me.blackvein.quests.ColorUtil;
import main.java.me.blackvein.quests.Event;
import main.java.me.blackvein.quests.QuestFactory;
import main.java.me.blackvein.quests.Quester;
import main.java.me.blackvein.quests.Quests;
import main.java.me.blackvein.quests.util.CK;
import main.java.me.blackvein.quests.util.ItemUtil;
import main.java.me.blackvein.quests.util.Lang;
import me.blackvein.quests.ColorUtil;
import me.blackvein.quests.Event;
import me.blackvein.quests.QuestFactory;
import me.blackvein.quests.Quester;
import me.blackvein.quests.Quests;
import me.blackvein.quests.util.CK;
import me.blackvein.quests.util.ItemUtil;
import me.blackvein.quests.util.Lang;
import net.aufdemrand.denizen.scripts.ScriptRegistry;
import net.citizensnpcs.api.CitizensPlugin;
import org.bukkit.Location;

View File

@ -1,15 +1,15 @@
package main.java.me.blackvein.quests.prompts;
package me.blackvein.quests.prompts;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import main.java.me.blackvein.quests.ColorUtil;
import main.java.me.blackvein.quests.ItemData;
import main.java.me.blackvein.quests.ItemData.Data;
import main.java.me.blackvein.quests.Quester;
import main.java.me.blackvein.quests.Quests;
import me.blackvein.quests.ColorUtil;
import me.blackvein.quests.ItemData;
import me.blackvein.quests.ItemData.Data;
import me.blackvein.quests.Quester;
import me.blackvein.quests.Quests;
import org.bukkit.ChatColor;
import org.bukkit.Material;
import org.bukkit.conversations.ConversationContext;

View File

@ -1,11 +1,11 @@
package main.java.me.blackvein.quests.prompts;
package me.blackvein.quests.prompts;
import java.text.MessageFormat;
import java.util.LinkedList;
import main.java.me.blackvein.quests.ColorUtil;
import main.java.me.blackvein.quests.Quest;
import main.java.me.blackvein.quests.Quester;
import main.java.me.blackvein.quests.Quests;
import me.blackvein.quests.ColorUtil;
import me.blackvein.quests.Quest;
import me.blackvein.quests.Quester;
import me.blackvein.quests.Quests;
import org.apache.commons.lang.StringUtils;
import org.bukkit.ChatColor;
import org.bukkit.conversations.Conversable;

View File

@ -1,4 +1,4 @@
package main.java.me.blackvein.quests.prompts;
package me.blackvein.quests.prompts;
import java.util.Arrays;
import java.util.Collections;
@ -6,13 +6,13 @@ import java.util.Comparator;
import java.util.LinkedList;
import java.util.List;
import main.java.me.blackvein.quests.ColorUtil;
import main.java.me.blackvein.quests.Quest;
import main.java.me.blackvein.quests.QuestFactory;
import main.java.me.blackvein.quests.Quests;
import main.java.me.blackvein.quests.util.CK;
import main.java.me.blackvein.quests.util.ItemUtil;
import main.java.me.blackvein.quests.util.Lang;
import me.blackvein.quests.ColorUtil;
import me.blackvein.quests.Quest;
import me.blackvein.quests.QuestFactory;
import me.blackvein.quests.Quests;
import me.blackvein.quests.util.CK;
import me.blackvein.quests.util.ItemUtil;
import me.blackvein.quests.util.Lang;
import org.bukkit.conversations.ConversationContext;
import org.bukkit.conversations.FixedSetPrompt;

View File

@ -1,15 +1,15 @@
package main.java.me.blackvein.quests.prompts;
package me.blackvein.quests.prompts;
import java.util.Arrays;
import java.util.LinkedList;
import java.util.List;
import main.java.me.blackvein.quests.ColorUtil;
import main.java.me.blackvein.quests.QuestFactory;
import main.java.me.blackvein.quests.Quester;
import main.java.me.blackvein.quests.Quests;
import main.java.me.blackvein.quests.util.CK;
import main.java.me.blackvein.quests.util.ItemUtil;
import main.java.me.blackvein.quests.util.Lang;
import me.blackvein.quests.ColorUtil;
import me.blackvein.quests.QuestFactory;
import me.blackvein.quests.Quester;
import me.blackvein.quests.Quests;
import me.blackvein.quests.util.CK;
import me.blackvein.quests.util.ItemUtil;
import me.blackvein.quests.util.Lang;
import org.bukkit.conversations.ConversationContext;
import org.bukkit.conversations.FixedSetPrompt;
import org.bukkit.conversations.NumericPrompt;

View File

@ -1,8 +1,8 @@
package main.java.me.blackvein.quests.prompts;
package me.blackvein.quests.prompts;
import main.java.me.blackvein.quests.ColorUtil;
import main.java.me.blackvein.quests.QuestFactory;
import main.java.me.blackvein.quests.util.CK;
import me.blackvein.quests.ColorUtil;
import me.blackvein.quests.QuestFactory;
import me.blackvein.quests.util.CK;
import org.bukkit.conversations.ConversationContext;
import org.bukkit.conversations.Prompt;

View File

@ -1,4 +1,4 @@
package main.java.me.blackvein.quests.util;
package me.blackvein.quests.util;
public class CK {

View File

@ -1,10 +1,10 @@
package main.java.me.blackvein.quests.util;
package me.blackvein.quests.util;
import java.util.LinkedList;
import java.util.Map.Entry;
import main.java.me.blackvein.quests.ColorUtil;
import main.java.me.blackvein.quests.Quester;
import main.java.me.blackvein.quests.Quests;
import me.blackvein.quests.ColorUtil;
import me.blackvein.quests.Quester;
import me.blackvein.quests.Quests;
import org.bukkit.ChatColor;
import org.bukkit.enchantments.Enchantment;
import org.bukkit.inventory.ItemStack;

View File

@ -1,4 +1,4 @@
package main.java.me.blackvein.quests.util;
package me.blackvein.quests.util;
import java.util.HashMap;
import java.util.Map;

View File

@ -1,4 +1,4 @@
package main.java.me.blackvein.quests.util;
package me.blackvein.quests.util;
import java.lang.reflect.Field;