Project Facet 'Java' set to 1.4 instead of 5.0 in a Java 5.0 project --------------------------------------------------------------------
Key: MECLIPSE-263 URL: http://jira.codehaus.org/browse/MECLIPSE-263 Project: Maven 2.x Eclipse Plugin Issue Type: Bug Components: WTP support Environment: WinXP, Eclipse 3.2 + WTP 1.5, Maven 2.0.5 Reporter: Geir Pettersen In pom.xml the source configuration is set to Java 1.5 however "mvn -Dwtpversion=1.5 eclipse:eclipse" sets the "Project Facet" "Java" to 1.4 instead of 5.0. This has to be set manually after executing the plugin and refreshing eclipse project. pom.xml configuration to use java 5.0 source level: <build> <pluginManagement> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.5</source> <target>1.5</target> </configuration> </plugin> </plugins> </pluginManagement> </build> -- 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