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 09:17:21 UTC

[jira] [Created] (MCOMPILER-277) Compilationg error while compiling for 1.6 using JDK 1.8

Yoram Michaeli created MCOMPILER-277:
----------------------------------------

             Summary: 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.5.1, 3.3
         Environment: Maven 3.2.5. JDK 1.8.
            Reporter: Yoram Michaeli


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)