users@jersey.java.net

Re: [Jersey] Maven dependency issues (weld-osgi-bundle)

From: Mike Key <mike.key_at_gmail.com>
Date: Mon, 12 Apr 2010 08:41:10 -0600

Thanks Paul!

On Apr 12, 2010, at 4:07 AM, Paul Sandoz wrote:

>
> On Apr 5, 2010, at 12:32 AM, Mike Key wrote:
>
>> Forgive me if this has been seen on the alias before and I missed it in archives.
>>
>> I am using Paul's examples to create a WADL for my project:
>>
>> http://wikis.sun.com/display/Jersey/HowToConfigureExtendedWADL
>>
>> The one major difference I have in my configuration is that I have an artifactory local repository. However that local repository does contain all of the repositories listed in the pom in the WADL example code (m1, m2, glassfish).
>>
>> However it looks like I have a transitive dependency issue coming from jersey-server. Jersey-server 1.1.5 depends on:
>>
>> org.jboss.weld:weld-osgi-bundle:jar:1.0.0-CR1-SP1
>>
>
> Yes, that is a provided dependency. When we switch to Java SE 6 that dependency will go away.
>
>
>> which depends on:
>>
>> javax.inject:javax.inject:jar:1.0-PFD-1
>>
>> and
>>
>> javassist:javassist:jar:3.11.0.GA
>>
>> I've traced this back to the maven repos listed in the example pom (from the link above) and cannot find either of these two dependencies in any of the maven repos (m1, m2, glassfish) for their specified versions.
>>
>> Is this an issue with using 1.1.5 jersey-server?
>
> I just scrubbed my local repo and re-built the jersey server without any issue.
>
> Paul.
>
>> I'd believe this was an issue with my artifactory caches but I can't find these jars in any of the specified repositories.
>>
>> Thanks for any pointers.
>>
>> Mike
>