Skip to content

I cannot get the javax.ws.rs to download using ivy or sbt (solved) #115

@sductor

Description

@sductor

When I try to use gitlab4j-api library using ivy or sbt, I get the following error
::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: FAILED DOWNLOADS ::
[warn] :: ^ see resolution messages for details ^ ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: javax.ws.rs#javax.ws.rs-api;2.1!javax.ws.rs-api.${packaging.type}
[warn] ::::::::::::::::::::::::::::::::::::::::::::::

In fact gitlab4j-api is not responsible at all.
The bug come from this use of ${packaging.type} which appears to be only usable with plain maven, which apparently won't even try to resolve the value and directly put a jar.

As I wasted 2 days attempting to understand what this was about, having few knowledge for this kind of things, here are the two threads that resolve it.

https://github.com/jax-rs/api/issues/571
https://github.com/jax-rs/api/issues/572

Maybe the admin will want to keep this issue hanging around for those who encounter the same problem.

Greetings

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