Skip to content

Generate META-INF/services from module-info.java #85

@mtdowling

Description

@mtdowling

Based on the discussion in #84, I'm convinced that library authors that create modular JARs should define their service providers in both module-info.java and in META-INF/services to ensure that their JARs work on the classpath.

Given how important it is to make JARs work on the classpath and how poorly supported in general JPMS is today (excluding this library!), I think it would be very useful for this library to have the option to generate META-INF/services files for each service provider detected in a module-info.java. If the library detects that META-INF/services already exist or that any of the service providers use the static provides method, then it would fail the build.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions