For those getting the cannot find main class error, you need to rename craftbukkit-0.0.1-SNAPSHOT.jar to craftbukkit.jar
Separate names with a comma.