Maven: modify the default JDK 修改Maven默认JDK

Categories: Development Notes; Tagged with: ; @ May 1st, 2013 11:18

I created a maven java project, and I want to use some new feature in Java7, but every time, after update the project, the JRE will be changed to 1.5 automatically.

After googling, got the solution: configure maven-compiler-plugin:



// Proudly powered by Apache, PHP, MySQL, WordPress, Bootstrap, etc,.