You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Matt Raible (JIRA)" <ji...@codehaus.org> on 2005/11/19 00:32:06 UTC

[jira] Created: (MEV-220) spring-mock should list spring-web and spring-jdbc as optional

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


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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MEV-220) spring-mock should list spring-web and spring-jdbc as optional

Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MEV-220?page=all ]
     
Carlos Sanchez closed MEV-220:
------------------------------

    Resolution: Fixed

Set as optional in 1.2.5 and 1.2.6
Related docs for maven 2.1 http://docs.codehaus.org/display/MAVEN/Specification+Dependencies+Design

> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MEV-220) spring-mock should list spring-web and spring-jdbc as optional

Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
    [ 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org