I have my JAVA_HOME set to:
C:\\Program Files (x86)\\Java\\jdk1.6.0_18
After I run maven ins
maven ins
I changed the configuration of maven-compiler-plugin to add executable and fork with value true.
executable
fork
true 1.6 1.6 C:\Program Files\Java\jdk1.6.0_18\bin\javac
It worked for me.