[
https://issues.apache.org/jira/browse/MECLIPSE-703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Scholte closed MECLIPSE-703.
-----------------------------------
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.
> Allow eclipse plugin to take compiler versions from
> maven.compiler.source/target properties
> -------------------------------------------------------------------------------------------
>
> Key: MECLIPSE-703
> URL: https://issues.apache.org/jira/browse/MECLIPSE-703
> Project: Maven Eclipse Plugin (RETIRED)
> Issue Type: Improvement
> Components: Core : .project
> Affects Versions: 2.8
> Reporter: Gabriel Belingueres
> Assignee: Robert Scholte
> Priority: Minor
> Attachments: IdeUtils.patch
>
>
> I'd like that the maven eclipse plugin could detect the source and target
> compiler versions from the properties maven.compiler.source and
> maven.compiler.target in addition to the explicit declaration given in the
> compiler plugin configuration.
> I submit a patch that seems to fix the issue (though I did not attached any
> junit test).
> The patch proceeds like this:
> * first, it checks the usual <source> and <target> configurations.
> * if either is not found, it try to get the configuration from the
> maven.compiler.source and maven.compiler.target properties.
> * if not found, and the compiler plugin version >= 2.3, then it defaults to
> 1.5 (as stated in the compiler plugin docs)
> More info:
> http://mail-archives.apache.org/mod_mbox/maven-users/201109.mbox/%3CCAKY3QyXbNMHHktYD3XB%3DTe9hEY3Firg2mLzQZ7LF7CFsJ3qWsw%40mail.gmail.com%3E
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)