dev@jersey.java.net

Re: Unable to build Jersey 2 from sources

From: Arul Dhesiaseelan <aruld_at_acm.org>
Date: Sun, 12 May 2013 15:13:15 -1000

Nm, just saw Jakub's posting that requires -Ppromoted for building.


On Sun, May 12, 2013 at 1:51 PM, <aruld_at_acm.org> wrote:

> Hi,
>
> I keep getting this error when I do a mvn install
>
> [ERROR] Failed to execute goal on project jersey-common: Could not
> resolve dependencies for project
> org.glassfish.jersey.core:jersey-common:jar:2.0-SNAPSHOT: The following
> artifacts could not be resolved: javax.ws.rs:javax.ws.rs-api:jar:2.0,
> javax.annotation:javax.annotation-api:jar:1.2: Could not find artifact
> javax.ws.rs:javax.ws.rs-api:jar:2.0 in release.maven.java.net
> (https://maven.java.net/content/groups/public) -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with
> the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionEx
> ception
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with
> the command
> [ERROR] mvn <goals> -rf :jersey-common
>
> Looks like the JAX-RS 2.0 API is not available in a maven central repo.
> Any one else seeing this?
>
>
> -Arul
>