[ https://issues.apache.org/jira/browse/MCOMPILER-277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15481465#comment-15481465 ]
Yoram Michaeli commented on MCOMPILER-277: ------------------------------------------ Well, my case is actually different. I need to support compiling the same code for JDK 1.6 and JDK 1.7 for 2 production systems that need to run side-by-side for a while so I've used 2 maven profiles, one compiles for JDK 1.6 and one for 1.7. > 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 > > 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)