[ http://jira.codehaus.org/browse/MEV-220?page=comments#action_51585 ] 

Carlos Sanchez commented on MEV-220:
------------------------------------

It's not MNG-177 but the "Specification dependencies" or "provides notation"

> spring-mock should list spring-web and spring-jdbc as optional
> --------------------------------------------------------------
>
>          Key: MEV-220
>          URL: http://jira.codehaus.org/browse/MEV-220
>      Project: Maven Evangelism
>         Type: Bug
>   Components: Invalid POM
>     Reporter: Matt Raible
>     Assignee: Carlos Sanchez

>
>
> I know that spring-mock depends on spring-web and spring-jdbc to compile.  
> However, if I already have spring listed as a dependency, it seems logical 
> that I shouldn't need to exclude spring-web and spring-jdbc.
> Rather than this:
>         <dependency>
>             <artifactId>spring</artifactId>
>             <groupId>springframework</groupId>
>             <version>1.2.5</version>
>         </dependency>
>         <dependency>
>             <artifactId>spring-mock</artifactId>
>             <groupId>springframework</groupId>
>             <version>1.2.5</version>
>             <scope>test</scope>
>             <exclusions>
>                 <exclusion>
>                     <artifactId>spring-jdbc</artifactId>
>                     <groupId>springframework</groupId>
>                 </exclusion>
>                 <exclusion>
>                     <artifactId>spring-web</artifactId>
>                     <groupId>springframework</groupId>
>                 </exclusion>
>             </exclusions>
>         </dependency>
> I should be able to do this:
>         <dependency>
>             <artifactId>spring</artifactId>
>             <groupId>springframework</groupId>
>             <version>1.2.5</version>
>         </dependency>
>         <dependency>
>             <artifactId>spring-mock</artifactId>
>             <groupId>springframework</groupId>
>             <version>1.2.5</version>
>             <scope>test</scope>
>         </dependency>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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

Reply via email to