如何强制 maven 编译 1.6 兼容源
我在 Eclipse 中使用 Maven 制作了 web-app 项目。将 web.xml 更改为使用 3.0 版本 -> 然后更新配置,现在我无法启动 tomcat。我发现我必须强制 maven 编译源 1.6 兼容,我必须添加
<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-compiler-plugin</artifactId>
 <configuration>
    <source>1.7</source>
    <target>1.7</target>
    <showDeprecation>true</showDeprecation>
    <showWarnings>true</showWarnings>
    <executable>${env.JAVA_HOME_7}/bin/javac</executable>
    <fork>true</fork>
</configuration>
但是eclipse中的有效pom是不可编辑的
那么是否有与 eclipse 兼容的 maven 或任何其他方式强制 maven 编译源 1.6 版本?