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

__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to