I am upgrading my application from java 1.6 to 1.7. When I try to build using Maven 3.2.1, my build fails with below error msg:
[ERROR] Failed to execute goa
I solved it using below configuration in my compiler plugin:
true ${JAVA_HOME}/bin/javac 1.7 1.7 1.7
This will use the JDK which you have defined in your JAVA_HOME environment property.
JAVA_HOME