[Created] (MCOMPILER-296) Add jpms.args to the META-INF folder

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[Created] (MCOMPILER-296) Add jpms.args to the META-INF folder

JIRA jira@apache.org
Robert Scholte created MCOMPILER-296:

             Summary: Add jpms.args to the META-INF folder
                 Key: MCOMPILER-296
                 URL: https://issues.apache.org/jira/browse/MCOMPILER-296
             Project: Maven Compiler Plugin
          Issue Type: Improvement
            Reporter: Robert Scholte
            Assignee: Robert Scholte

When compiling a Java9 project with some specific jigsaw/jpms flag, e.g. to open access to certain modules, those flags are probably also required at runtime. If these flags used for a library, that library-user might need to use that same set of flags, but how could he be aware of these flags?
I'd like to add {{META-INF/jpms.args}} to store these specific flags. This file provides easy access to these arguments and can be used by other tools/plugins.

This message was sent by Atlassian JIRA