Java 7 and 8 available for Maven applications
Change effective on 07 September 2012
Maven applications can now take advantage of Java 7 and 8 features. Simply create a
system.properties file and add
java.runtime.version=1.7 to it. If you’ve never created a Maven app before, follow our getting started guide to take advantage of the new Java support. If you already have a Maven app, follow the instructions to update it. Also, check out a sample app to try out Java 8’s lambda support.