Its perhaps a bit more complex than you might like, but I imagine you
could make it work if you had a Maven Proxy (ie Proximity) set up.
Then you would need to configure your local Maven instances to use the
Proxy rather than connecting directly to various repos on the Net.

I don't know for sure (never needed this functionality) but I'd expect
that Proximity probably has this available somewhere in its
configuration...

Wayne

On 3/1/07, Rod Mclaughlin <[EMAIL PROTECTED]> wrote:
Does anyone know how to tell Maven 2
DO NOT DOWNLOAD THIS *!*&^ JAR FILE UNDER ANY CIRCUMSTANCES?

We have had a problem with cglib-full-2.0.2.jar - there is a lot about
this issue on the web, so I won't go  into it. We know how to exclude
the dependency from another dependency:
            <dependency>
            <groupId>rome</groupId>
            <artifactId>rome</artifactId>
            <version>0.8</version>
            <exclusions>
            <exclusion>
            <groupId>cglib</groupId>
            <artifactId>cglib-full</artifactId>
            </exclusion>
            </exclusions>
            </dependency>
and this works fine from command line mvn install, but when you do mvn
idea:idea, maven brazenly fetches the cglib-full jar, and it's no end of
trouble deleting it and trying to tell Maven Reloaded within IDEA not to
get the thing again.

Thanks for any input
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Rod McLaughlin
Omnimedix Institute
[EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to