You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Russell Gold (JIRA)" <ji...@apache.org> on 2019/02/13 16:26:00 UTC
[jira] [Created] (MCOMPILER-373) Unable to compile MR jar code
against older directories
Russell Gold created MCOMPILER-373:
--------------------------------------
Summary: Unable to compile MR jar code against older directories
Key: MCOMPILER-373
URL: https://issues.apache.org/jira/browse/MCOMPILER-373
Project: Maven Compiler Plugin
Issue Type: Bug
Affects Versions: 3.8.0
Reporter: Russell Gold
Attachments: reproducer.zip
Given a project with multiple source directories, java, java9 and java11, each MR directory should compile against the previous one. In the current plugin, this only happens if the MR directory contains a module-info.java file.
The attached reproducer expects toolchains to be set up for the jdk9 and jdk11 compilers. It fails when trying to compile the java11 directory, as the classes/META-INF/versions/9 directory is not present on its classpath.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)