You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Arnaud Heritier (JIRA)" <ji...@codehaus.org> on 2007/06/28 22:04:13 UTC

[jira] Closed: (MECLIPSE-263) Project Facet 'Java' set to 1.4 instead of 5.0 in a Java 5.0 project

     [ http://jira.codehaus.org/browse/MECLIPSE-263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arnaud Heritier closed MECLIPSE-263.
------------------------------------

         Assignee: Arnaud Heritier
       Resolution: Duplicate
    Fix Version/s: 2.4

Fixed with MECLIPSE-220 and some others related to this problem.
If you can try a recent snapshot of 2.4

> 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
>            Assignee: Arnaud Heritier
>             Fix For: 2.4
>
>
> 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