You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Scholte (JIRA)" <ji...@apache.org> on 2016/08/26 12:07:20 UTC
[jira] [Updated] (MCOMPILER-275) Handle separate compilation of
module-info.java
[ https://issues.apache.org/jira/browse/MCOMPILER-275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Scholte updated MCOMPILER-275:
-------------------------------------
Summary: Handle separate compilation of module-info.java (was: Introduce src/main/jigsaw folder)
> Handle separate compilation of module-info.java
> -----------------------------------------------
>
> Key: MCOMPILER-275
> URL: https://issues.apache.org/jira/browse/MCOMPILER-275
> Project: Maven Compiler Plugin
> Issue Type: New Feature
> Reporter: Robert Scholte
>
> When you want to add a module-info.java file to your project AND want your code to be compatible with older java version, then you need to call {{javac}} twice.
> To prevent all kinds of magic for selecting the right files to compile with the right version of Java it is probably better to just have a separate folder for it. I'd prefer to call it 'jigsaw' instead of java9, so it'll still makes sense once we're at java16
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)