Elizacat/NullTerrain — pull request #3 by agrif (2011-10-29 23:38:53+00:00)
Title: [PATCH] build fix for maven 2.2.1

When trying to build NullTerrain on my system, with Maven 2.2.1, I get the following errors:

~~~~
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

/home/agrif/devel/minecraft/NullTerrain/src/main/java/uk/me/elizabethmyers/nullterrain/NullTerrain.java:[34,2] annotations are not supported in -source 1.3
(use -source 5 or higher to enable annotations)
@Override

/home/agrif/devel/minecraft/NullTerrain/src/main/java/uk/me/elizabethmyers/nullterrain/NullChunkGenerator.java:[19,2] annotations are not supported in -source 1.3
(use -source 5 or higher to enable annotations)
@Override
~~~~

This patch adds some lines to `pom.xml` that tell Maven you're using Java 1.6, which fixes the problem.

This patch may or may not be useful to you, but I figured it's worth noting, at least.