commons-exec icon indicating copy to clipboard operation
commons-exec copied to clipboard

Automatic-Module-Name manifest entry

Open rzymek opened this issue 3 years ago • 1 comments

Add a Automatic-Module-Name: org.apache.commons.exec manifest entry - similarly as in commons-lang3 (https://github.com/apache/commons-lang/blob/master/pom.xml#L739)

This eases creation of modules that depend in commons-exec. Right now the following module-info.java:

module test.module {
    requires commons.exec;
}

results in:

module-info.java:2: error: module not found: commons.exec
    requires commons.exec;
                    ^

as named Java Modules cannot require unnamed modules.

rzymek avatar Mar 26 '21 15:03 rzymek

More details on problem I'm facing at https://stackoverflow.com/questions/66819713/dependening-on-legacy-jar-in-java-9-module-system-library-using-gradle

rzymek avatar Mar 26 '21 15:03 rzymek

@rzymek Closing: This will done through the parent POM in the upcoming release. Please try a local or 1.4.0-SNAPSHOT build from the Apache snapshot Maven repository.

garydgregory avatar Dec 29 '23 15:12 garydgregory