Skip to content

Revise the way the '-dc' option is implemented #205

@radek-macha

Description

@radek-macha

Right now, it uses ServiceLoader, which depends on a file in META-INF. Given that multiple files with the same name (full classpath of the provided interface) ultimately get bundled with the maven-assembly-plugin, the file got overwritten several time sover.

For that reason, the -dc option is now hacked to use a list hardcoded in the node bundle, which is wrong - it results in an exception after the -dc option is invoked if EverBEEN has been re-bundled to use a different implementation of Storage, for example.

Either maven-assembly-plugin needs to be told to append the file rather than overwrite it, or the way BeenServiceConfiguration is loaded needs to be changed not to use ServiceLoader.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions