In Eclipse Juno, I installed the latest m2e plugin (1.2.20120903-1050). In preferences, I have added jdk1.7.0_11 in Java -> Installed JREs -> Add, and then specified the lo
In order to update your project to the latest version of java available in your environment, follow these steps:
pom.xml filectrl + F) to search for maven-compiler-plugin
maven-compiler-plugin
3.1
pom.xml tab to open your project pom configuration ... configuration section, paste the configuration copied and modify it as...
maven-compiler-plugin
3.1
1.8
1.8
Maven -> Update Project] and Click on OK in the displayed update dialog box.Done!