users@jersey.java.net

[Jersey] Re: Could not find artifact javax.annotation:javax.annotation-api:jar:1.2 in central

From: Pavel Bucek <pavel.bucek_at_oracle.com>
Date: Sat, 08 Jun 2013 21:42:31 +0200

Hello,

please see
https://java.net/projects/jersey/lists/users/archive/2013-06/message/5

Regards,
Pavel

On 6/8/13 8:34 PM, hezjing wrote:
> Hi
>
> I want to try Jersey 2.0, the latest JAX-RS 2.0 implementation.
>
> From the Maven central repository
> <http://search.maven.org/#search%7Cga%7C1%7Corg.glassfish.jersey>, the
> latest version of Jersey artifacts are 2.0. Hence, I added a
> dependency like this
>
> <dependency>
> <groupId>javax.ws.rs <http://javax.ws.rs></groupId>
> <artifactId>javax.ws.rs-api</artifactId>
> <version>2.0</version>
> </dependency>
> <dependency>
> <groupId>org.glassfish.jersey.containers</groupId>
> <artifactId>jersey-container-servlet</artifactId>
> <version>2.0</version>
> </dependency>
>
>
> When built, the Maven failed to resolve the dependency with the error
> of could not find artifact
> javax.annotation:javax.annotation-api:jar:1.2 in central. Do you have
> any idea of what could be the problem?
>
> The jersey.java.net <https://jersey.java.net/> said that the 2.0
> development is still in progress but I'm not sure what is the latest
> milestone version. The version 2.0 listed in the Maven central
> repository confused me ...
>
>
> --
>
> Hez