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 2017/10/08 17:55:00 UTC

[jira] [Created] (MSHADE-262) Add jpms goal

Robert Scholte created MSHADE-262:
-------------------------------------

             Summary: Add jpms goal
                 Key: MSHADE-262
                 URL: https://issues.apache.org/jira/browse/MSHADE-262
             Project: Maven Shade Plugin
          Issue Type: New Feature
            Reporter: Robert Scholte
            Assignee: Robert Scholte


With Java 9 we get module descriptors for strong encapsulation and reliable configuration.
When shading we should not merge or ignore these descriptors.
In case of an application we should think of the way spring boot works, i.e. bundle the jars in a jar and provide a new classloader. This is the only way to preserve the strong encapsulation right now.
After a talk with [~pwebb] and [~dblevins] we came to the conclusion that it should NOT be combined with the current shade goal. First idea was to make a new plugin, but after some rethinking I'd prefer to just make a separate goal for it in this shade-plugin.




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)