You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2018/07/07 18:54:00 UTC

[jira] [Commented] (MCOMPILER-323) Support multi-release jars

    [ https://issues.apache.org/jira/browse/MCOMPILER-323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16535870#comment-16535870 ] 

Hudson commented on MCOMPILER-323:
----------------------------------

Build failed in Jenkins: Maven TLP » maven-compiler-plugin » MCOMPILER-323 #8

See https://builds.apache.org/job/maven-box/job/maven-compiler-plugin/job/MCOMPILER-323/8/

> Support multi-release jars
> --------------------------
>
>                 Key: MCOMPILER-323
>                 URL: https://issues.apache.org/jira/browse/MCOMPILER-323
>             Project: Maven Compiler Plugin
>          Issue Type: Improvement
>            Reporter: Mike Drob
>            Assignee: Robert Scholte
>            Priority: Major
>
> Java 9 allows for JRE version specific code in the form of "multi-release jars"
> Older JREs will treat them as normal jars, while newer JREs will load the appropriate specific classes. AFAICT, maven does not currently support this.
> Compiler plugin should automatically detect when there are multiple source levels and set MRJAR=True in the manifest.
> Source directories could potentially be src/main/java, src/main/java9, src/main/java10, etc. These probably need to be configurable as well, or some deeper discussion about what makes sense and is intuitive for users.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)