plugin.yml is not included in build jar after packaging
RepComm opened this issue ยท 4 comments
Spigot fails to load the plugin when:
- cloning repo
- running
mvn package
- copying output jar to plugins directory
- running the server
[16:08:40] [Server thread/ERROR]: Could not load 'plugins/grakkit-plugin.jar' in folder 'plugins'
org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml
at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:160) ~[spigot-1.15.2-R0.1-SNAPSHOT.jar:git-Spigot-a03b1fd-95bd423]
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:144) [spigot-1.15.2-R0.1-SNAPSHOT.jar:git-Spigot-a03b1fd-95bd423]
at org.bukkit.craftbukkit.v1_15_R1.CraftServer.loadPlugins(CraftServer.java:353) [spigot-1.15.2-R0.1-SNAPSHOT.jar:git-Spigot-a03b1fd-95bd423]
at net.minecraft.server.v1_15_R1.DedicatedServer.init(DedicatedServer.java:210) [spigot-1.15.2-R0.1-SNAPSHOT.jar:git-Spigot-a03b1fd-95bd423]
at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:784) [spigot-1.15.2-R0.1-SNAPSHOT.jar:git-Spigot-a03b1fd-95bd423]
at java.lang.Thread.run(Thread.java:834) [?:?]
Caused by: java.io.FileNotFoundException: Jar does not contain plugin.yml
... 6 more
Latest release does not include plugin.yml
and causes error:
Caused by: java.io.FileNotFoundException: Jar does not contain plugin.yml ... 6 more
Travis deployment has been disabled in favor of manual deployment. This will prevent any faulty automated releases.