[ 
https://issues.apache.org/jira/browse/MCOMPILER-373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Scholte closed MCOMPILER-373.
------------------------------------
    Fix Version/s: 3.9.0
         Assignee: Robert Scholte
       Resolution: Fixed

Fixed in 
[f17b9e2d9d0c89b76fb5e8f980529534c0c109f6|https://gitbox.apache.org/repos/asf?p=maven-compiler-plugin.git;a=commit;h=f17b9e2d9d0c89b76fb5e8f980529534c0c109f6]

> 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
>            Assignee: Robert Scholte
>            Priority: Major
>             Fix For: 3.9.0
>
>         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
(v8.3.4#803005)

Reply via email to