On Wheezy the maven-compiler-plugin defaults to the Java 1.3 language level. The version in unstable/testing is more recent and defaults to 1.5. To solve this you have to add this to debian/maven.properties: maven.compiler.source=1.5 maven.compiler.target=1.5 Emmanuel Bourg