Spring 2.0.6 and ACEGI

Posted on October 1, 2007
Tags: java
Because ACEGI depends on spring 1.2.6, we need to override a few dependencies if we want to use spring 2.0.6. To do this, we use the following exclusions:
    <dependency>
       <groupId>org.acegisecurity</groupId>
       <artifactId>acegi-security</artifactId>
       <version>1.0.5</version>
       <exclusions>
         <exclusion>
           <artifactId>spring-aop</artifactId>
           <groupId>org.springframework</groupId>
         </exclusion>
         <exclusion>
           <artifactId>spring-beans</artifactId>
           <groupId>org.springframework</groupId>
         </exclusion>
         <exclusion>
           <artifactId>spring-context</artifactId>
           <groupId>org.springframework</groupId>
         </exclusion>
         <exclusion>
           <artifactId>spring-core</artifactId>
           <groupId>org.springframework</groupId>
         </exclusion>
         <exclusion>
           <artifactId>spring-dao</artifactId>
           <groupId>org.springframework</groupId>
         </exclusion>
         <exclusion>
           <artifactId>spring-jdbc</artifactId>
           <groupId>org.springframework</groupId>
         </exclusion>
         <exclusion>
           <artifactId>spring-remoting</artifactId>
           <groupId>org.springframework</groupId>
         </exclusion>
         <exclusion>
           <artifactId>spring-support</artifactId>
           <groupId>org.springframework</groupId>
         </exclusion>
       </exclusions>
     </dependency>