dev@jersey.java.net

Re: Can't Build 2.0

From: Jakub Podlesak <jakub.podlesak_at_oracle.com>
Date: Tue, 06 Mar 2012 10:14:19 +0100

I apologize, meant to avoid building the API jar, and wrote "anything".
For the Jersey 2.x snapshot version, you would still need to build that
one of your own,
(but you do not need to build the JAX-RS jar separately, if you properly
setup the repository bellow)

Hope that explains,

~Jakub

On 03/05/2012 10:49 PM, Jason Lee wrote:
> In theory. I'm not seeing the artifacts:
> https://maven.java.net/index.html#view-repositories;public~browsestorage~jersey
>
> On 3/5/12 11:09 AM, Jason Lee wrote:
>> 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?
>>>>>
>>>>
>>>>
>>
>>
>
>