Hi all,

Because jmock-cglib has a dependency on a version of cglib-full that
causes a stackoverflowerror I want to replace it with a version that I
do know works (cglib-nodep 2.1_2). However my unit test run under
Maven still fail because of the stackoverflowerror. If I run the test
in my ide, of which I know for sure that the faulty dependency is not
used, the test runs just fine.

What could be the problem? Am I using exclusions the wrong way?

Relevant part from my pom:

   <dependency>
     <groupId>cglib</groupId>
     <artifactId>cglib-nodep</artifactId>
     <version>2.1_2</version>
     <scope>test</scope>
   </dependency>
   <dependency>
     <groupId>jmock</groupId>
     <artifactId>jmock-cglib</artifactId>
     <version>1.1.0</version>
     <scope>test</scope>
     <exclusions>
       <exclusion>
         <groupId>cglib</groupId>
         <artifactId>cglib-full</artifactId>
       </exclusion>
     </exclusions>
   </dependency>

Thanks and regards,

Jeroen

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

Reply via email to