Skip to content

module-info.java is in META-INF/versions/11 instead of META-INF/versions/9 #3380

@Vampire

Description

@Vampire

We build a lib using Jackson databind.
In 2.9.3 you had no module-info.java, but an Automatic-Module-Name in the manifest.
We wanted to update the used verison, but now you have a module-info.java file in META-INF/versions/11 and no Automatic-Module-Name anymore.
This effectively changes your module name for builds for Java 9 and 10 to being deduced from the JAR file name which is pretty bad.
We still are Java 8 compatible, so building our module-info.java to be compatible with Java 9 which now does not work properly anymore as the compiler complains that the module is not present.

Please put the module-info.java to the proper place META-INF/versions/9 or at least reintroduce the Automatic-Module-Name manifest attribute.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions