Eclipse project generation doesn't respect the compiler version settings ------------------------------------------------------------------------
Key: MECLIPSE-481 URL: http://jira.codehaus.org/browse/MECLIPSE-481 Project: Maven 2.x Eclipse Plugin Issue Type: Bug Affects Versions: 2.5.1 Environment: FreeBSD 6.3-STABLE FreeBSD 6.3-STABLE Maven version: 2.0.9 Java version: 1.6.0_03-p4 OS name: "freebsd" version: "6.3-stable" arch: "i386" Family: "unix" Eclipse Ganymede 3.4.0 Reporter: Eugene Dzhurinsky Priority: Minor Attachments: maven-eclipse-plugin-jre-fails.zip As I found in the issue http://jira.codehaus.org/browse/MECLIPSE-172, the eclipse plugin should respect the compiler settings provided in the maven-compiler-plugin to include the correct JRE in a generated .classpath file. However for some reason this doesn't work, and the default JRE (in my case - 1.6.0) is being included as a container JRE rather than expected JRE 1.5.0 Am I understanding things correctly and this is a bug, or may be this is expected behavior? I had also attached the compressed simple project with pom.xml and generated .project and .classparth files to illustrate the problem. The proposed solution to include explicit definition of the <classpathContainer/> does the trick. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira