Spring 2.0.6 and ACEGI

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>
This entry was posted in java. Bookmark the permalink.

One Response to Spring 2.0.6 and ACEGI

  1. nasvel says:

    this works also for spring 2.5.2, thank you.

Leave a Reply