8000 Full JPMS support · Issue #311 · dnsjava/dnsjava · GitHub
[go: up one dir, main page]

Skip to content
Full JPMS support #311
Closed
Closed
@cowwoc

Description

@cowwoc

Please add a module-info to this project. I know that you have an automatic module name, but this prevents the use of jlink and other nice things that come with module-info. You can use a multi-release JAR if you want to maintain Java 8 support.

It's quite easy. Just add:

<configuration> 
    <release>9</release> 
    <compileSourceRoots> 
        <compileSourceRoot>${project.basedir}/src/main/java9</compileSourceRoot> 
    </compileSourceRoots> 
    <multiReleaseOutput>true</multiReleaseOutput>
</configuration>

to your project and you're done. See https://www.baeldung.com/maven-multi-release-jars for an example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0