how to force maven to compile 1.6 compatible source
i made web-app project with maven in eclipse. change web.xml to use 3.0 version -> then update configuration and now i cant start tomcat. I found that i have to force maven to compile source 1.6 compatible and i have to add
<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>
but effective pom in eclipse is not editable
so is there a maven compatible with eclipse or any other way to force maven to compile source 1.6 version?