Change compatibility to Java 7 since Java 6 is deprecated.
temporarily make Travis use SNASHOTS.