Hi I had the same issue but with Eclipse. I explain what solved my problem, hoping this will help next personns facing this issue.
I configured correctly maven-compiler-plugin with source in Java 1.4. The problem was the Java compiler configuration. I changed Java build Path, from JRE 1.4 to JRE 1.6. Then, I checked JDK Compliance in Java Compiler options. "Use compliance" has to be selected. With this step, maven was OK. I hope my message will help. Regards -- View this message in context: http://maven.40175.n5.nabble.com/Solve-my-exception-for-mvn-installtion-tp5076811p5710224.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org