Skip to content

2.1 maven integration issue #571

Closed
Closed
@glassfishrobot

Description

@glassfishrobot

I'm not sure if this is the right place to post this, but here goes.
I'm attempting to pull in jax-rs 2.1 in Gradle. Gradle complains that it can't resolve due to:
Could not HEAD 'http://central.maven.org/maven2/javax/ws/rs/javax.ws.rs-api/2.1/javax.ws.rs-api-2.1.$%7Bpackaging.type%7D'

As you can see, the packaging .type variable is not getting resolved. I'm wondering if it's because the maven profile isn't getting set due to an incorrect value.

The [jax-rs 2.1 POM][1] defines the "jdk8-" profile as:

jdk8-

(,9)

..

I'm wondering if the (,9) is preventing any profile from getting picked up:
(,9)

According to the maven [range spec][2], should it be:
(,1.9)

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