Skip to content

Make runtime dependency to org.jruby.joni:joni optional #307

@buuhuu

Description

@buuhuu

In an OSGI context json-schema-validator requires the following package imports to be resolved:

com.fasterxml.jackson.databind,version=[2.10,3)
com.fasterxml.jackson.databind.node,version=[2.10,3)
org.apache.commons.lang3,version=[3.5,4)
org.jcodings
org.jcodings.specific
org.joni
org.joni.exception
org.slf4j,version=[1.7,2)

where all but org.jcodings, org.jcodings.specific, org.joniandorg.joni.exceptionare available as OSGI bundles publicly.org.jruby.joni:joni` unfortunately is not archived as OSGI bundle and so requires a custom rewrapping.

From doc/ecma-262.md I understood that the default is java.util.Regex anyway so the import of packages provided by org.jruby.joni:joni can be marked optional for resolution and can be provided when necessary.

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