I have a multi-module maven project. When I import it into eclipse helios I get the correct JRE 1.6 for war and ejb modules. But the default 1.4 for ear-modules.
The following is specified in the root pom
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
</plugins>
What do I need to add to get 1.6 for ear-modules?
(This is a variation on Warning - Build path specifies execution environment J2SE-1.4 which has the correct solution for other than ear-packaging.)