diff --git a/ScoreKeeper/.classpath b/ScoreKeeper/.classpath new file mode 100644 index 0000000..8fe0193 --- /dev/null +++ b/ScoreKeeper/.classpath @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/ScoreKeeper/.project b/ScoreKeeper/.project new file mode 100644 index 0000000..2a90c04 --- /dev/null +++ b/ScoreKeeper/.project @@ -0,0 +1,23 @@ + + + ScoreKeeper + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.m2e.core.maven2Builder + + + + + + org.eclipse.jdt.core.javanature + org.eclipse.m2e.core.maven2Nature + + diff --git a/ScoreKeeper/.settings/org.eclipse.core.resources.prefs b/ScoreKeeper/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000..f686e69 --- /dev/null +++ b/ScoreKeeper/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,5 @@ +#Sun Feb 19 04:11:12 PST 2012 +eclipse.preferences.version=1 +encoding//src/main/java=UTF-8 +encoding//src/main/resources=UTF-8 +encoding/=UTF-8 diff --git a/ScoreKeeper/.settings/org.eclipse.jdt.core.prefs b/ScoreKeeper/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..b83fc05 --- /dev/null +++ b/ScoreKeeper/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,6 @@ +#Sun Feb 19 04:11:12 PST 2012 +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.compliance=1.6 +org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning +org.eclipse.jdt.core.compiler.source=1.6 diff --git a/ScoreKeeper/.settings/org.eclipse.m2e.core.prefs b/ScoreKeeper/.settings/org.eclipse.m2e.core.prefs new file mode 100644 index 0000000..069baa2 --- /dev/null +++ b/ScoreKeeper/.settings/org.eclipse.m2e.core.prefs @@ -0,0 +1,5 @@ +#Sun Feb 19 04:11:11 PST 2012 +activeProfiles= +eclipse.preferences.version=1 +resolveWorkspaceProjects=true +version=1 diff --git a/ScoreKeeper/pom.xml b/ScoreKeeper/pom.xml new file mode 100644 index 0000000..0d0cfe9 --- /dev/null +++ b/ScoreKeeper/pom.xml @@ -0,0 +1,46 @@ + + + 4.0.0 + com.majinnaibu.bukkitplugins + ScoreKeeper + jar + 0.2-SNAPSHOT + bukkitplugin + http://maven.apache.org + + UTF-8 + + + + org.bukkit + bukkit + 0.0.1-SNAPSHOT + jar + compile + + + junit + junit + 3.8.1 + test + + + + + + org.apache.maven.plugins + maven-compiler-plugin + + 1.6 + 1.6 + + + + + + + bukkit-repo + http://repo.bukkit.org/artifactory/repo + + + diff --git a/ScoreKeeper/src/com/majinnaibu/bukkit/plugins/scorekeeper/ScoreKeeperPlugin.java b/ScoreKeeper/src/main/java/com/majinnaibu/bukkitplugins/scorekeeper/ScoreKeeperPlugin.java similarity index 77% rename from ScoreKeeper/src/com/majinnaibu/bukkit/plugins/scorekeeper/ScoreKeeperPlugin.java rename to ScoreKeeper/src/main/java/com/majinnaibu/bukkitplugins/scorekeeper/ScoreKeeperPlugin.java index 4d5349e..953283a 100644 --- a/ScoreKeeper/src/com/majinnaibu/bukkit/plugins/scorekeeper/ScoreKeeperPlugin.java +++ b/ScoreKeeper/src/main/java/com/majinnaibu/bukkitplugins/scorekeeper/ScoreKeeperPlugin.java @@ -1,4 +1,4 @@ -package com.majinnaibu.bukkit.plugins.scorekeeper; +package com.majinnaibu.bukkitplugins.scorekeeper; import java.util.HashMap; import java.util.logging.Logger; @@ -7,11 +7,11 @@ import org.bukkit.entity.Player; import org.bukkit.plugin.PluginDescriptionFile; import org.bukkit.plugin.java.JavaPlugin; -import com.majinnaibu.bukkit.plugins.scorekeeper.commands.ScoreAddCommand; -import com.majinnaibu.bukkit.plugins.scorekeeper.commands.ScoreArchiveCommand; -import com.majinnaibu.bukkit.plugins.scorekeeper.commands.ScoreGetCommand; -import com.majinnaibu.bukkit.plugins.scorekeeper.commands.ScoreResetCommand; -import com.majinnaibu.bukkit.plugins.scorekeeper.commands.ScoreSubtractCommand; +import com.majinnaibu.bukkitplugins.scorekeeper.commands.ScoreAddCommand; +import com.majinnaibu.bukkitplugins.scorekeeper.commands.ScoreArchiveCommand; +import com.majinnaibu.bukkitplugins.scorekeeper.commands.ScoreGetCommand; +import com.majinnaibu.bukkitplugins.scorekeeper.commands.ScoreResetCommand; +import com.majinnaibu.bukkitplugins.scorekeeper.commands.ScoreSubtractCommand; public class ScoreKeeperPlugin extends JavaPlugin { private final HashMap _playerScores = new HashMap(); diff --git a/ScoreKeeper/src/com/majinnaibu/bukkit/plugins/scorekeeper/commands/ScoreAddCommand.java b/ScoreKeeper/src/main/java/com/majinnaibu/bukkitplugins/scorekeeper/commands/ScoreAddCommand.java similarity index 90% rename from ScoreKeeper/src/com/majinnaibu/bukkit/plugins/scorekeeper/commands/ScoreAddCommand.java rename to ScoreKeeper/src/main/java/com/majinnaibu/bukkitplugins/scorekeeper/commands/ScoreAddCommand.java index cc2a906..a275def 100644 --- a/ScoreKeeper/src/com/majinnaibu/bukkit/plugins/scorekeeper/commands/ScoreAddCommand.java +++ b/ScoreKeeper/src/main/java/com/majinnaibu/bukkitplugins/scorekeeper/commands/ScoreAddCommand.java @@ -1,4 +1,4 @@ -package com.majinnaibu.bukkit.plugins.scorekeeper.commands; +package com.majinnaibu.bukkitplugins.scorekeeper.commands; import org.bukkit.ChatColor; import org.bukkit.command.Command; @@ -6,7 +6,7 @@ import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; -import com.majinnaibu.bukkit.plugins.scorekeeper.ScoreKeeperPlugin; +import com.majinnaibu.bukkitplugins.scorekeeper.ScoreKeeperPlugin; public class ScoreAddCommand implements CommandExecutor { private final ScoreKeeperPlugin _plugin; diff --git a/ScoreKeeper/src/com/majinnaibu/bukkit/plugins/scorekeeper/commands/ScoreArchiveCommand.java b/ScoreKeeper/src/main/java/com/majinnaibu/bukkitplugins/scorekeeper/commands/ScoreArchiveCommand.java similarity index 84% rename from ScoreKeeper/src/com/majinnaibu/bukkit/plugins/scorekeeper/commands/ScoreArchiveCommand.java rename to ScoreKeeper/src/main/java/com/majinnaibu/bukkitplugins/scorekeeper/commands/ScoreArchiveCommand.java index 5638923..1d10ccb 100644 --- a/ScoreKeeper/src/com/majinnaibu/bukkit/plugins/scorekeeper/commands/ScoreArchiveCommand.java +++ b/ScoreKeeper/src/main/java/com/majinnaibu/bukkitplugins/scorekeeper/commands/ScoreArchiveCommand.java @@ -1,4 +1,4 @@ -package com.majinnaibu.bukkit.plugins.scorekeeper.commands; +package com.majinnaibu.bukkitplugins.scorekeeper.commands; import org.bukkit.ChatColor; import org.bukkit.command.Command; @@ -6,7 +6,7 @@ import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; -import com.majinnaibu.bukkit.plugins.scorekeeper.ScoreKeeperPlugin; +import com.majinnaibu.bukkitplugins.scorekeeper.ScoreKeeperPlugin; public class ScoreArchiveCommand implements CommandExecutor { private final ScoreKeeperPlugin _plugin; diff --git a/ScoreKeeper/src/com/majinnaibu/bukkit/plugins/scorekeeper/commands/ScoreGetCommand.java b/ScoreKeeper/src/main/java/com/majinnaibu/bukkitplugins/scorekeeper/commands/ScoreGetCommand.java similarity index 91% rename from ScoreKeeper/src/com/majinnaibu/bukkit/plugins/scorekeeper/commands/ScoreGetCommand.java rename to ScoreKeeper/src/main/java/com/majinnaibu/bukkitplugins/scorekeeper/commands/ScoreGetCommand.java index 30252d8..8760191 100644 --- a/ScoreKeeper/src/com/majinnaibu/bukkit/plugins/scorekeeper/commands/ScoreGetCommand.java +++ b/ScoreKeeper/src/main/java/com/majinnaibu/bukkitplugins/scorekeeper/commands/ScoreGetCommand.java @@ -1,4 +1,4 @@ -package com.majinnaibu.bukkit.plugins.scorekeeper.commands; +package com.majinnaibu.bukkitplugins.scorekeeper.commands; import org.bukkit.ChatColor; import org.bukkit.command.Command; @@ -6,7 +6,7 @@ import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; -import com.majinnaibu.bukkit.plugins.scorekeeper.ScoreKeeperPlugin; +import com.majinnaibu.bukkitplugins.scorekeeper.ScoreKeeperPlugin; public class ScoreGetCommand implements CommandExecutor { private final ScoreKeeperPlugin _plugin; diff --git a/ScoreKeeper/src/com/majinnaibu/bukkit/plugins/scorekeeper/commands/ScoreResetCommand.java b/ScoreKeeper/src/main/java/com/majinnaibu/bukkitplugins/scorekeeper/commands/ScoreResetCommand.java similarity index 90% rename from ScoreKeeper/src/com/majinnaibu/bukkit/plugins/scorekeeper/commands/ScoreResetCommand.java rename to ScoreKeeper/src/main/java/com/majinnaibu/bukkitplugins/scorekeeper/commands/ScoreResetCommand.java index 7686d7e..169ac40 100644 --- a/ScoreKeeper/src/com/majinnaibu/bukkit/plugins/scorekeeper/commands/ScoreResetCommand.java +++ b/ScoreKeeper/src/main/java/com/majinnaibu/bukkitplugins/scorekeeper/commands/ScoreResetCommand.java @@ -1,4 +1,4 @@ -package com.majinnaibu.bukkit.plugins.scorekeeper.commands; +package com.majinnaibu.bukkitplugins.scorekeeper.commands; import org.bukkit.ChatColor; import org.bukkit.command.Command; @@ -6,7 +6,7 @@ import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; -import com.majinnaibu.bukkit.plugins.scorekeeper.ScoreKeeperPlugin; +import com.majinnaibu.bukkitplugins.scorekeeper.ScoreKeeperPlugin; public class ScoreResetCommand implements CommandExecutor { private final ScoreKeeperPlugin _plugin; diff --git a/ScoreKeeper/src/com/majinnaibu/bukkit/plugins/scorekeeper/commands/ScoreSubtractCommand.java b/ScoreKeeper/src/main/java/com/majinnaibu/bukkitplugins/scorekeeper/commands/ScoreSubtractCommand.java similarity index 90% rename from ScoreKeeper/src/com/majinnaibu/bukkit/plugins/scorekeeper/commands/ScoreSubtractCommand.java rename to ScoreKeeper/src/main/java/com/majinnaibu/bukkitplugins/scorekeeper/commands/ScoreSubtractCommand.java index fe0d508..bd97c0d 100644 --- a/ScoreKeeper/src/com/majinnaibu/bukkit/plugins/scorekeeper/commands/ScoreSubtractCommand.java +++ b/ScoreKeeper/src/main/java/com/majinnaibu/bukkitplugins/scorekeeper/commands/ScoreSubtractCommand.java @@ -1,4 +1,4 @@ -package com.majinnaibu.bukkit.plugins.scorekeeper.commands; +package com.majinnaibu.bukkitplugins.scorekeeper.commands; import org.bukkit.ChatColor; import org.bukkit.command.Command; @@ -6,7 +6,7 @@ import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; -import com.majinnaibu.bukkit.plugins.scorekeeper.ScoreKeeperPlugin; +import com.majinnaibu.bukkitplugins.scorekeeper.ScoreKeeperPlugin; public class ScoreSubtractCommand implements CommandExecutor { private final ScoreKeeperPlugin _plugin; diff --git a/ScoreKeeper/src/plugin.yml b/ScoreKeeper/src/main/resources/plugin.yml similarity index 100% rename from ScoreKeeper/src/plugin.yml rename to ScoreKeeper/src/main/resources/plugin.yml