On Thu, May 1, 2008 at 8:41 PM, oliver.appfuse <[EMAIL PROTECTED]> wrote:
>
>
> hi,good day!
>
> In  Appfuse web module these is a section of the parent pom:
>
> spring-aop depend on spring-bean,spring-core ,
>
> but the parent appfuse artifact depend spring-test which has spring-bean
> spring-core
> dependencies already
>
> why not here can see a exclusion of spring-bean,spring-core ?
>
> <dependency>
>             <groupId>org.springframework</groupId>
>             <artifactId>spring-aop</artifactId>
>             <version>${spring.version}</version>
>         </dependency>
>
> and why here need a exclusions?
>
>         <dependency>
>             <groupId>org.springframework.security</groupId>
>             <artifactId>spring-security-taglibs</artifactId>
>             <version>${spring.security.version}</version>
>             <exclusions>
>                 <exclusion>
>                     <groupId>org.springframework</groupId>
>                     <artifactId>spring-web</artifactId>
>                 </exclusion>
>                 <exclusion>
>                     <groupId>org.springframework</groupId>
>                     <artifactId>spring-support</artifactId>
>                 </exclusion>
>             </exclusions>
>         </dependency>

This is necessary because Spring Security depends on an older version
of Spring. Without these exclusions, Spring JARs from version 2.0.8
are added to the classpath.

Matt

>
> i think this is a simple question,due to my lack of knowledge i still cant
> understand.
> i am very appreciate for any help!
>
>  ________________________________
>
> oliver.lee
> 2008-05-02

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

Reply via email to