[Engine-devel] Conformining to Java 6 using Animal Sniffer

Allon Mureinik amureini at redhat.com
Sun Jul 29 11:49:04 UTC 2012


Hi guys,

As you may recall, a couple of weeks ago it was decided (in this mailing list), that we want to preserve backwards compatibility to Java 6.
Instead of having to install JDK 6 alongside your Java 7, you can now use Animal Sniffer[1] to verify this.

Simply run "mvn animal-sniffer:check" before you push, and assuming the build is successful, you're good to go.

Note: Animal Sniffer takes about a minute to run, so it was NOT added by default to the "install" target.
It is still your responsibility to verify backwards compatibility of you code, this is just a convenient way of doing it.

Many thanks to Juan and Doron for their insights and reviews for this patch.

-Allon

[1] http://mojo.codehaus.org/animal-sniffer-maven-plugin/



More information about the Engine-devel mailing list