Bazinga! Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project…: Fatal error compiling: invalid target release: 1.8.0_11 -> [Help 1] To summarize, I want to compile a maven project using Java 8, that is possible thanks to the JAVA_HOME configuration:
1 2 3 4 5 6 7 |
$ mvn -version Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 2014-02-14T18:37:52+01:00) Maven home: /home/jbeneito/Applications/apache-maven-3.2.1 Java version: 1.8.0_11, vendor: Oracle Corporation Java home: /usr/lib/jvm/java-8-oracle/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "3.13.0-32-generic", arch: "amd64", family: "unix" |