Similiarly to this:

        <dependency>
            <groupId>org.springframework.security</groupId>
            <artifactId>spring-security-core-tiger</artifactId>
            <version>${spring.security.version}</version>
            <exclusions>
                <exclusion>
                    <groupId>org.springframework</groupId>
                    <artifactId>spring-core</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.springframework</groupId>
                    <artifactId>spring-support</artifactId>
                </exclusion>

                <exclusion>
                    <groupId>org.springframework</groupId>
                    <artifactId>spring-aop</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.springframework</groupId>
                    <artifactId>spring-dao</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.springframework</groupId>
                    <artifactId>spring-jdbc</artifactId>
                </exclusion>
            </exclusions>
            <scope>compile</scope>
        </dependency>


---
Thank You…

Mick Knutson, President

BASE Logic, Inc.
Enterprise Architecture, Design, Mentoring & Agile Consulting
p. (866) BLiNC-411: (254-6241-1)
f. (415) 685-4233

Website: http://baselogic.com
Linked IN: http://linkedin.com/in/mickknutson
Vacation Rental: http://tahoe.baselogic.com
---



On Mon, Aug 17, 2009 at 2:15 PM, tubin gen <[email protected]> wrote:

> My project needs spring dependency   for which I added
>
>    <dependency>
>          <groupId>org.springframework</groupId>
>          <artifactId>spring</artifactId>
>          <version>2.5.5</version>
>      </dependency>
>
>
> I also need spring modules  osworkflow for which I added
>
>      <dependency>
>          <groupId>org.springmodules</groupId>
>          <artifactId>spring-modules-osworkflow</artifactId>
>          <version>0.8a</version>
>      </dependency>
> this is the only version availbale.
>
> now this   spring-modules-osworkflow  has dependency to all other spring
> modules here is  the pom of spring-modules-osworkflow
>
>        <dependency>
>            <groupId>org.springframework</groupId>
>            <artifactId>spring-beans</artifactId>
>            <version>2.0.3</version>
>        </dependency>
>        <dependency>
>            <groupId>org.springframework</groupId>
>            <artifactId>spring-context</artifactId>
>            <version>2.0.3</version>
>        </dependency>
>        <dependency>
>            <groupId>org.springframework</groupId>
>            <artifactId>spring-core</artifactId>
>            <version>2.0.3</version>
>        </dependency>
>        <dependency>
>            <groupId>org.springframework</groupId>
>            <artifactId>spring-dao</artifactId>
>            <version>2.0.3</version>
>        </dependency>
>        <dependency>
>            <groupId>org.springframework</groupId>
>            <artifactId>spring-support</artifactId>
>            <version>2.0.3</version>
>        </dependency>
>        <dependency>
>            <groupId>org.springframework</groupId>
>            <artifactId>spring-webmvc</artifactId>
>            <version>2.0.3</version>
>        </dependency>
>        <dependency>
>            <groupId>org.springframework</groupId>
>            <artifactId>spring-web</artifactId>
>            <version>2.0.3</version>
>        </dependency>
>        <dependency>
>            <groupId>org.springframework</groupId>
>            <artifactId>spring-mock</artifactId>
>            <version>2.0.3</version>
>        </dependency>
>
>
> can I tell maven to exclude all transitive dependency for
> spring-modules-osworkflow?  , all these dependency I get it with
> org.springframework
>

Reply via email to