dev@jersey.java.net

Can't Build 2.0

From: Jason Lee <jason.d.lee_at_oracle.com>
Date: Mon, 05 Mar 2012 09:56:28 -0600

I'm trying to build Jersey 2.0-SNAPSHOT, but I'm getting this error:

Missing:
----------
1) javax.ws.rs:javax.ws.rs-api:jar:2.0-SNAPSHOT

   Try downloading the file manually from the project website.

   Then, install it using the command:
       mvn install:install-file -DgroupId=javax.ws.rs
-DartifactId=javax.ws.rs-api -Dversion=2.0-SNAPSHOT -Dpackaging=jar
-Dfile=/path/to/file

   Alternatively, if you host your own repository you can deploy the
file there:
       mvn deploy:deploy-file -DgroupId=javax.ws.rs
-DartifactId=javax.ws.rs-api -Dversion=2.0-SNAPSHOT -Dpackaging=jar
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

   Path to dependency:
       1) org.glassfish.jersey.core:jersey-common:jar:2.0-SNAPSHOT
       2) javax.ws.rs:javax.ws.rs-api:jar:2.0-SNAPSHOT


I've tried with both Maven 2.2.1 and 3.0.4 with a clean .m2 repo. What
am I missing?

-- 
Jason Lee
Senior Member of Technical Staff
GlassFish Team
Oracle Corporation
Phone +1 405-216-3193
Blog http://blogs.steeplesoft.com