HurricanKai / Blacksmith

Blacksmith Character for Citizens
0 stars 3 forks source link

plugin.xml is missing #10

Open colinrgodsey opened 7 years ago

colinrgodsey commented 7 years ago

Judging by the build structure, I don't think plugin.xml will ever make it to the jar. Am I doing something fundamentally wrong here? I can't get it to load as a Citizens plugin either

[08:10:03 ERROR]: Could not load 'plugins/blacksmith-1.12-SNAPSHOT.jar' in folder 'plugins' org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:152) ~[spigot-1.12.1.jar:git-Spigot-da42974-8f47214] at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:133) [spigot-1.12.1.jar:git-Spigot-da42974-8f47214] at org.bukkit.craftbukkit.v1_12_R1.CraftServer.loadPlugins(CraftServer.java:308) [spigot-1.12.1.jar:git-Spigot-da42974-8f47214] at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:205) [spigot-1.12.1.jar:git-Spigot-da42974-8f47214] at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:545) [spigot-1.12.1.jar:git-Spigot-da42974-8f47214] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_144] Caused by: java.io.FileNotFoundException: Jar does not contain plugin.yml ... 6 more

colinrgodsey commented 7 years ago

moved plugin.yml to src/main/resources, repackaged with mvn...

loads fine now!

HurricanKai commented 6 years ago

Im having a look into it

HurricanKai commented 6 years ago

@scarabcoder added an Pull Request to fix this Issue. #13