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/03 19:36:20 UTC

[jira] [Commented] (MSHADE-234) support java 9 modules (jigsaw)

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

Robert Scholte commented on MSHADE-234:
---------------------------------------

There are some very tricky things here. If we're talking only talking about relocation of the compiled classes and to update the exportStatements, that should be possible.
However, creating a fat jar is not possible, yet. We've discussed this and are waiting for a solution for [MultiModuleExecutableJARs|http://openjdk.java.net/projects/jigsaw/spec/issues/#MultiModuleExecutableJARs]. If the plugin would unpack any jar together with the compiled sources you would loose the encapsulation as defined in the module-info file.

> support java 9 modules (jigsaw)
> -------------------------------
>
>                 Key: MSHADE-234
>                 URL: https://issues.apache.org/jira/browse/MSHADE-234
>             Project: Maven Shade Plugin
>          Issue Type: New Feature
>            Reporter: sam rash
>
> Java 9 will begin in including the module-info.class file which has the packages that are exported. It would be great if the shade plugin can detect the new format, and for any packages that are moved, it updates the module exports accordingly



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)