Hi Andrzej,
please use -Ppromoted.
this issues should be solved once Java EE 7 is released.
Regards,
Pavel
On 5/28/13 10:11 AM, Andrzej Le¶kiewicz wrote:
> Hi,
>
> It looks like there is some dependency issue with latest Jersey build
> on Maven central.
>
> Today I refreshed my dependencies, and version 2.0 got downloaded.
> this is what I got in console:
>
> FAILURE: Build failed with an exception.
> * What went wrong:
> Could not resolve all dependencies for configuration ':compile'.
> > Could not find javax.annotation:javax.annotation-api:1.2.
> Required by:
> :AsycJsonView:1.0 > org.glassfish.jersey.core:jersey-common:2.0
>
>
> After investigating, it looks like
> javax.annotation:javax.annotation-api:1.2 is still in version b04 in
> maven central. Adding java.net <http://java.net> staging to
> repositories fixed everything:
>
> repositories {
> mavenCentral()
> maven {
> url "https://maven.java.net/content/repositories/staging"
> }
> }
>
>
> BUILD SUCCESSFUL
>
>
> --
> Best regards
> Andrzej Le¶kiewicz