173generator

173generator

17.8k Downloads

Compilation Error in 1.12.2

kurisubrooks opened this issue ยท 3 comments

commented
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:testCompile (default-testCompile) on project b173gen: Compilation failure: Compilation failure:
[ERROR] /mnt/c/Users/Kurisu/Minecraft/173generator/src/test/java/com/github/barteks2x/b173gen/test/fakeimpl/BukkitWorldStub.java:[22,7] error: BukkitWorldStub is not abstract and does not override abstract method playSound(Location,String,SoundCategory,float,float) in World
[ERROR]
[ERROR] /mnt/c/Users/Kurisu/Minecraft/173generator/src/test/java/com/github/barteks2x/b173gen/test/fakeimpl/BukkitChestStub.java:[16,0] error: BukkitChestStub is not abstract and does not override abstract method getSnapshotInventory() in Container
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

cc @coolsa

commented

hey, so currently the testing part of the plugin doesnt compile to 1.12, so you want to disable that. Its just the "skip tests" option in the maven launch configuration thing. let me know if anything else goes wrong with compilation.

commented

Implementhing those methods in the test code shouldn't be very hard. They don't even need to actually do anything in there.

commented

Pulled the latest merge, still getting test errors. If I skip the tests though, everything builds successfully. Thanks!