Skip to content

Automatic-Module-Name manifest entry#34

Closed
rzymek wants to merge 1 commit intoapache:masterfrom
rzymek:master
Closed

Automatic-Module-Name manifest entry#34
rzymek wants to merge 1 commit intoapache:masterfrom
rzymek:master

Conversation

@rzymek
Copy link

@rzymek rzymek commented Mar 26, 2021

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
Copy link
Author

rzymek commented Mar 26, 2021

@garydgregory
Copy link
Member

garydgregory commented Dec 29, 2023

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments