Hi Greg, [EMAIL PROTECTED] wrote on Wednesday, September 20, 2006 4:45 PM:
> "Jörg Schaible" <[EMAIL PROTECTED]> wrote on > 09/20/2006 03:24:46 AM: > >> (*) New release of JMock 1.1.0 still uses cglib:cglib-full:2.0 as >> dependency although this breaks any app using Hibernate 3.x or >> Groovy. Better would have been to use cglib:cglib-nodeps:2.1_3, but >> as the official docs state the bad dependency, it is also referenced >> in the POM on ibiblio. Is this Carlos' fault now? > > I renamed the thread because this is tangent to it. I've also > hit this > error. How did you work around it? I was brand new to maven > when we hit it > and I did the following, but I'm not certain it is the best solution. > > <dependency> > <groupId>jmock</groupId> > <artifactId>jmock</artifactId> You mean "jmock-cglib" ... plain jmock does not have that dep :) > <version>1.0.1</version> > <scope>test</scope> > <exclusions> > <exclusion> > <artifactId>cglib-full</artifactId> > <groupId>cglib</groupId> > </exclusion> > </exclusions> > </dependency> Yes, this is what we do, but in the dependencyManagement section of our "global" POM. - Jörg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]