stivlo
stivlo

Reputation: 85476

Which Jersey version should I use?

I'm trying to add Jersey client to a project. I've come across two Jersey implementations. One from Sun, that should be obsolete by now, but working.

    <dependency>
        <groupId>com.sun.jersey</groupId>
        <artifactId>jersey-client</artifactId>
        <version>1.17.1</version>
    </dependency>

Another one from glassfish project, which however gives a missing artifact error.

    <dependency>
        <groupId>org.glassfish.jersey</groupId>
        <artifactId>project</artifactId>
        <version>2.0-m13-2</version>
    </dependency>

Do you know which Jersey dependency I should use? (I need the client part only).

Upvotes: 2

Views: 483

Answers (1)

yegor256
yegor256

Reputation: 105053

com.sun.jersey:jersey-client is the one you need to use.

Upvotes: 2

Related Questions