I am trying to specify a different version of the JDK in the maven-compiler-plugin
. If the -source
and -source
set to 1.5, everything is fine. But when I try to use 1.6 JDK, maven reports an error. Has anyone encountered this issue?
Error:
Failed to execute javac, but could not parse the error: javac: invalid flag: -s Usage: javac where options are possible: -g Generate all debug information -g: none Do not create debug information
Thanks.
source share