users@jersey.java.net

Re: [Jersey] How to optimize maven dependencies ?

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Mon, 09 Nov 2009 09:15:21 +0100

On Nov 7, 2009, at 2:33 PM, Gavin Bong wrote:

> The jersey-contrib-guice artifact is pulling guicefruit's guice 2.0
> releases
>
> <dependency>
> <groupId>org.guiceyfruit</groupId>
> <artifactId>guice-all</artifactId>
> <version>2.0</version>
> </dependency>
> <dependency>
> <groupId>org.guiceyfruit</groupId>
> <artifactId>guice-servlet</artifactId>
> <version>2.0</version>
> </dependency>
>
> Now, I want to use the guice assistedinject artifact, and depending on
> that caused maven to pull in the original guice 2.0 jar.
> Why don't you change jersey-contrib-guice to use the original jars
> instead ?
>

At the time the "original" Guice 2.0 was not on a maven repo. Plus
Guiceyfruit has some interesting extensions.

Which repo are you using for the "original" Guice jars?

Paul.