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