users@jersey.java.net

Re: [Jersey] How to optimize maven dependencies ?

From: Gavin Bong <malaisien_at_gmail.com>
Date: Mon, 16 Nov 2009 11:19:44 +0800

Paul,

I'm using the guice from the central maven repo.

On second thoughts, please continue to use the Guiceyfruit version.

I found out that once I've pulled in the original google guice
artifacts, I am unable to undeploy from my webapp anymore.

But by excluding it like this:

        <dependency>
            <groupId>com.google.inject.extensions</groupId>
            <artifactId>guice-assisted-inject</artifactId>
            <version>2.0</version>
            <exclusions>
                <exclusion>
                    <groupId>com.google.inject</groupId>
                    <artifactId>guice</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

.. everything works. So I'm happy with guiceyfruit for now.



> 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.

-- 
Sincères salutations,
Gavin Bong
Rien ne sert d'être vivant, s'il faut qu'on travaille - André Breton
If you do things well, do them better. Be daring, be first be
different, be just. - Anita Roddick