dev@jersey.java.net

Unable to build Jersey 2 from sources in java.net or github

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

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/DependencyResolutionException
[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