You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Scholte (JIRA)" <ji...@apache.org> on 2015/12/25 12:49:51 UTC

[jira] [Closed] (MECLIPSE-751) compliance should be the greater of targetPlatform and source

     [ https://issues.apache.org/jira/browse/MECLIPSE-751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Scholte closed MECLIPSE-751.
-----------------------------------
    Resolution: Won't Fix
      Assignee: Robert Scholte

The Apache Maven team has decided to retire the maven-eclipse-plugin, so this issue won't be fixed. 


> compliance should be the greater of targetPlatform and source
> -------------------------------------------------------------
>
>                 Key: MECLIPSE-751
>                 URL: https://issues.apache.org/jira/browse/MECLIPSE-751
>             Project: Maven Eclipse Plugin (RETIRED)
>          Issue Type: Bug
>          Components: Core : Workspace settings
>    Affects Versions: 2.9
>         Environment: Windows 7
> Eclipse Kepler SR 1
>            Reporter: Andrew Cottrell
>            Assignee: Robert Scholte
>
> The Java Compiler settings in Eclipse has the following two requirements:
> 1. Source compatibility must be equal to or less than compliance level.
> 2. Classfile compatibility must be equal to or less than compliance level.
> In the method "org.apache.maven.plugin.eclipse.writers.workspace.EclipseSettingsWriter# write()", which writes the settings in "org.eclipse.jdt.core.prefs", the value for "org.eclipse.jdt.core.compiler.compliance" is set to the same value as "org.eclipse.jdt.core.compiler.source". This does not meet the requirements when "org.eclipse.jdt.core.compiler.codegen.targetPlatform" is greater than "org.eclipse.jdt.core.compiler.source".
> The method can meet the requirements by setting "org.eclipse.jdt.core.compiler.compliance" to the greater of "org.eclipse.jdt.core.compiler.codegen.targetPlatform" and "org.eclipse.jdt.core.compiler.source".



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)