You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Yoram Michaeli (JIRA)" <ji...@apache.org> on 2016/09/11 10:36:20 UTC
[jira] [Closed] (MCOMPILER-277) Compilationg error while compiling
for 1.6 using JDK 1.8
[ https://issues.apache.org/jira/browse/MCOMPILER-277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yoram Michaeli closed MCOMPILER-277.
------------------------------------
Resolution: Workaround
Fix Version/s: 3.5.1
> Compilationg error while compiling for 1.6 using JDK 1.8
> --------------------------------------------------------
>
> Key: MCOMPILER-277
> URL: https://issues.apache.org/jira/browse/MCOMPILER-277
> Project: Maven Compiler Plugin
> Issue Type: Bug
> Affects Versions: 3.3, 3.5.1
> Environment: Maven 3.2.5. JDK 1.8.
> Reporter: Yoram Michaeli
> Fix For: 3.5.1
>
>
> I have JDK 8 (Java version: 1.8.0_91, vendor: Oracle Corporation) installed with Maven 3.2.5 and the maven-compiler-plugin is set for source and target version 1.6.
> I'm getting the following compilation error:xxx is not abstract and does not override abstract method getParentLogger() in javax.sql.CommonDataSource
> Switching the environment (PATH and JAVA_HOME) to work with JDK 6 (Java version: 1.6.0_45, vendor: Sun Microsystems Inc.) compiles OK.
> Seems to me that the plugin is not really compiles for 1.6.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)