All depends of the import package defined in jsoup bundle, so possible ;)

Regards
JB

On 25/08/2021 13:30, Eric Lilja wrote:
Is the findbugs dependency really a runtime requirement for jsoup to function? It has <scope>provided</scope> in the pom file for jsoup

- Eric L

On Wed, Aug 25, 2021 at 10:58 AM Jean-Baptiste Onofré <[email protected] <mailto:[email protected]>> wrote:

    IMHO, a possible solution is that I create a SMX Spec bundle merging
    both jakarta annotation and findbugs/jsr305.

    Thoughts ?

    Regards
    JB

    On 24/08/2021 21:53, Steinar Bang wrote:
     >>>>>> Steinar Bang <[email protected] <mailto:[email protected]>>:
     >
     >>>>>> Steinar Bang <[email protected] <mailto:[email protected]>>:
     >>> (I'll also open a ticket on jsoup and try to have them fix it
     >>> upstream. Since upstream is an OSGi bundle, it seems a pity to
    have it
     >>> be a broken OSGi bundle...)
     >
     >> jsoup issue on the problem:
    https://github.com/jhy/jsoup/issues/1616
    <https://github.com/jhy/jsoup/issues/1616>
     >
     > I've created a PR that fixes the issue, by removing the version
     > requirements from the javax.annotation imports:
     > https://github.com/jhy/jsoup/pull/1617
    <https://github.com/jhy/jsoup/pull/1617>
     >
     > But the problem is still not fixed, because jsoup also requires
     > javax.annotation.meta, which karaf does not provide.
     >
     > The "culprit" is a provded dependency to
    mvn:com.google.code.findbugs/jsr305/3.0.5
     >
     > See
    https://github.com/jhy/jsoup/issues/1616#issuecomment-904906532
    <https://github.com/jhy/jsoup/issues/1616#issuecomment-904906532>
    for details.
     >

Reply via email to