commons-exec
commons-exec copied to clipboard
Automatic-Module-Name manifest entry
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.
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 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.