Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.7.0
    • Labels:
      None

      Description

      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.

        Activity

        Hide
        rfscholte Robert Scholte added a comment -

        Fixed in r1805828

        Show
        rfscholte Robert Scholte added a comment - Fixed in r1805828
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Jenkins build maven-plugins #9075 (See https://builds.apache.org/job/maven-plugins/9075/)
        MCOMPILER-296 Add jpms.args to the META-INF folder (rfscholte: http://svn.apache.org/viewvc/?view=rev&rev=1805828)

        • (edit) maven-compiler-plugin/pom.xml
        • (add) maven-compiler-plugin/src/it/jpms_add-exports
        • (add) maven-compiler-plugin/src/it/jpms_add-exports/invoker.properties
        • (add) maven-compiler-plugin/src/it/jpms_add-exports/pom.xml
        • (add) maven-compiler-plugin/src/it/jpms_add-exports/src
        • (add) maven-compiler-plugin/src/it/jpms_add-exports/src/main
        • (add) maven-compiler-plugin/src/it/jpms_add-exports/src/main/java
        • (add) maven-compiler-plugin/src/it/jpms_add-exports/src/main/java/module-info.java
        • (add) maven-compiler-plugin/src/it/jpms_add-exports/src/main/java/org
        • (add) maven-compiler-plugin/src/it/jpms_add-exports/src/main/java/org/maven
        • (add) maven-compiler-plugin/src/it/jpms_add-exports/src/main/java/org/maven/test
        • (add) maven-compiler-plugin/src/it/jpms_add-exports/src/main/java/org/maven/test/Main.java
        • (add) maven-compiler-plugin/src/it/jpms_add-exports/verify.groovy
        • (add) maven-compiler-plugin/src/it/jpms_patch-module
        • (add) maven-compiler-plugin/src/it/jpms_patch-module/invoker.properties
        • (add) maven-compiler-plugin/src/it/jpms_patch-module/pom.xml
        • (add) maven-compiler-plugin/src/it/jpms_patch-module/src
        • (add) maven-compiler-plugin/src/it/jpms_patch-module/src/main
        • (add) maven-compiler-plugin/src/it/jpms_patch-module/src/main/java
        • (add) maven-compiler-plugin/src/it/jpms_patch-module/src/main/java/module-info.java
        • (add) maven-compiler-plugin/src/it/jpms_patch-module/src/main/java/org
        • (add) maven-compiler-plugin/src/it/jpms_patch-module/src/main/java/org/maven
        • (add) maven-compiler-plugin/src/it/jpms_patch-module/src/main/java/org/maven/test
        • (add) maven-compiler-plugin/src/it/jpms_patch-module/src/main/java/org/maven/test/Main.java
        • (add) maven-compiler-plugin/src/it/jpms_patch-module/src/test
        • (add) maven-compiler-plugin/src/it/jpms_patch-module/src/test/java
        • (add) maven-compiler-plugin/src/it/jpms_patch-module/src/test/java/org
        • (add) maven-compiler-plugin/src/it/jpms_patch-module/src/test/java/org/maven
        • (add) maven-compiler-plugin/src/it/jpms_patch-module/src/test/java/org/maven/test
        • (add) maven-compiler-plugin/src/it/jpms_patch-module/src/test/java/org/maven/test/MainTest.java
        • (add) maven-compiler-plugin/src/it/jpms_patch-module/verify.groovy
        • (edit) maven-compiler-plugin/src/main/java/org/apache/maven/plugin/compiler/AbstractCompilerMojo.java
        • (edit) maven-compiler-plugin/src/main/java/org/apache/maven/plugin/compiler/CompilerMojo.java
        • (edit) maven-compiler-plugin/src/main/java/org/apache/maven/plugin/compiler/TestCompilerMojo.java
        • (add) maven-compiler-plugin/src/site/apt/examples/jpms_args.apt.vm
        • (edit) maven-compiler-plugin/src/site/fml/faq.fml
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Jenkins build maven-plugins #9075 (See https://builds.apache.org/job/maven-plugins/9075/ ) MCOMPILER-296 Add jpms.args to the META-INF folder (rfscholte: http://svn.apache.org/viewvc/?view=rev&rev=1805828 ) (edit) maven-compiler-plugin/pom.xml (add) maven-compiler-plugin/src/it/jpms_add-exports (add) maven-compiler-plugin/src/it/jpms_add-exports/invoker.properties (add) maven-compiler-plugin/src/it/jpms_add-exports/pom.xml (add) maven-compiler-plugin/src/it/jpms_add-exports/src (add) maven-compiler-plugin/src/it/jpms_add-exports/src/main (add) maven-compiler-plugin/src/it/jpms_add-exports/src/main/java (add) maven-compiler-plugin/src/it/jpms_add-exports/src/main/java/module-info.java (add) maven-compiler-plugin/src/it/jpms_add-exports/src/main/java/org (add) maven-compiler-plugin/src/it/jpms_add-exports/src/main/java/org/maven (add) maven-compiler-plugin/src/it/jpms_add-exports/src/main/java/org/maven/test (add) maven-compiler-plugin/src/it/jpms_add-exports/src/main/java/org/maven/test/Main.java (add) maven-compiler-plugin/src/it/jpms_add-exports/verify.groovy (add) maven-compiler-plugin/src/it/jpms_patch-module (add) maven-compiler-plugin/src/it/jpms_patch-module/invoker.properties (add) maven-compiler-plugin/src/it/jpms_patch-module/pom.xml (add) maven-compiler-plugin/src/it/jpms_patch-module/src (add) maven-compiler-plugin/src/it/jpms_patch-module/src/main (add) maven-compiler-plugin/src/it/jpms_patch-module/src/main/java (add) maven-compiler-plugin/src/it/jpms_patch-module/src/main/java/module-info.java (add) maven-compiler-plugin/src/it/jpms_patch-module/src/main/java/org (add) maven-compiler-plugin/src/it/jpms_patch-module/src/main/java/org/maven (add) maven-compiler-plugin/src/it/jpms_patch-module/src/main/java/org/maven/test (add) maven-compiler-plugin/src/it/jpms_patch-module/src/main/java/org/maven/test/Main.java (add) maven-compiler-plugin/src/it/jpms_patch-module/src/test (add) maven-compiler-plugin/src/it/jpms_patch-module/src/test/java (add) maven-compiler-plugin/src/it/jpms_patch-module/src/test/java/org (add) maven-compiler-plugin/src/it/jpms_patch-module/src/test/java/org/maven (add) maven-compiler-plugin/src/it/jpms_patch-module/src/test/java/org/maven/test (add) maven-compiler-plugin/src/it/jpms_patch-module/src/test/java/org/maven/test/MainTest.java (add) maven-compiler-plugin/src/it/jpms_patch-module/verify.groovy (edit) maven-compiler-plugin/src/main/java/org/apache/maven/plugin/compiler/AbstractCompilerMojo.java (edit) maven-compiler-plugin/src/main/java/org/apache/maven/plugin/compiler/CompilerMojo.java (edit) maven-compiler-plugin/src/main/java/org/apache/maven/plugin/compiler/TestCompilerMojo.java (add) maven-compiler-plugin/src/site/apt/examples/jpms_args.apt.vm (edit) maven-compiler-plugin/src/site/fml/faq.fml

          People

          • Assignee:
            rfscholte Robert Scholte
            Reporter:
            rfscholte Robert Scholte
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development