dev@jersey.java.net

Re: Can't Build 2.0

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

Even better. :) Thanks!

On 3/5/12 10:53 AM, Jakub Podlesak wrote:
> Hi,
>
> Another option would be to add the following repository to your
> settings.xml file:
> https://maven.java.net/content/repositories/snapshots
>
> Then you should not need to build anything.
>
> ~Jakub
>
>
> On 03/05/2012 05:19 PM, Jason Lee wrote:
>> It seems I need to check out build the jax-rs-spec project first:
>> http://java.net/projects/jax-rs-spec/sources/git/show
>>
>> I know it's early in the process, but that should probably be fixed. :)
>>
>> On 3/5/12 9:56 AM, Jason Lee wrote:
>>> 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