Maven: 每次更新Maven Project ,JAVA 版本都变为1.5
转载:https://blog.csdn.net/Evan_Leung/article/details/50656424
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.2</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
<encoding>UTF-8</encoding>
</configuration>
</plugin>