You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Carlos Sanchez (JIRA)" <ji...@codehaus.org> on 2006/02/03 20:58:12 UTC

[jira] Created: (MNG-2035) Add transitive dependencies with test scope when depending on a test-jar type dependency

Add transitive dependencies with test scope when depending on a test-jar type dependency
----------------------------------------------------------------------------------------

         Key: MNG-2035
         URL: http://jira.codehaus.org/browse/MNG-2035
     Project: Maven 2
        Type: New Feature

  Components: Dependencies  
    Versions: 2.0, 2.0.1, 2.0.2    
    Reporter: Carlos Sanchez
    Priority: Minor
     Fix For: 2.1


If I add a test-jar dependency, then it's dependencies in test scope should be transitively added in test scope.

    <dependency>
      <groupId>x</groupId>
      <artifactId>y</artifactId>
      <version>1.0</version>
      <type>test-jar</type>
      <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


Re: [jira] Created: (MNG-2035) Add transitive dependencies with test scope when depending on a test-jar type dependency

Posted by Grzegorz Slowikowski <gs...@op.pl>.
Hi

What are dependency types, and what is "test-jar" type? Can you explain?
What I found here: http://maven.apache.org/maven-model/maven.html
about dependency types seems to be about M1, not M2.
I mean this:
"When Maven goes looking for a dependency in the remote repository,
it uses the dependency element to construct the URL to download from.
This URL is defined as:
${repo}/${groupId}/${type}s/${artifactId}-${version}.${type}"

Am I right or wrong? I haven't seen anything about dependency types in M2 so 
far.

Greg
----- Original Message ----- 
From: "Carlos Sanchez (JIRA)" <ji...@codehaus.org>
To: <de...@maven.apache.org>
Sent: Friday, February 03, 2006 8:58 PM
Subject: [jira] Created: (MNG-2035) Add transitive dependencies with test 
scope when depending on a test-jar type dependency


> Add transitive dependencies with test scope when depending on a test-jar 
> type dependency
> ----------------------------------------------------------------------------------------
>
>         Key: MNG-2035
>         URL: http://jira.codehaus.org/browse/MNG-2035
>     Project: Maven 2
>        Type: New Feature
>
>  Components: Dependencies
>    Versions: 2.0, 2.0.1, 2.0.2
>    Reporter: Carlos Sanchez
>    Priority: Minor
>     Fix For: 2.1
>
>
> If I add a test-jar dependency, then it's dependencies in test scope 
> should be transitively added in test scope.
>
>    <dependency>
>      <groupId>x</groupId>
>      <artifactId>y</artifactId>
>      <version>1.0</version>
>      <type>test-jar</type>
>      <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
>
>
>
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.375 / Virus Database: 267.15.0/248 - Release Date: 2006-02-01
>
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MNG-2035) Add transitive dependencies with test scope when depending on a test-jar type dependency

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-2035?page=all ]
     
Brett Porter closed MNG-2035:
-----------------------------

      Assign To: Brett Porter
     Resolution: Duplicate
    Fix Version:     (was: 2.1)

> Add transitive dependencies with test scope when depending on a test-jar type dependency
> ----------------------------------------------------------------------------------------
>
>          Key: MNG-2035
>          URL: http://jira.codehaus.org/browse/MNG-2035
>      Project: Maven 2
>         Type: New Feature

>   Components: Dependencies
>     Versions: 2.0, 2.0.1, 2.0.2
>     Reporter: Carlos Sanchez
>     Assignee: Brett Porter
>     Priority: Minor

>
>
> If I add a test-jar dependency, then it's dependencies in test scope should be transitively added in test scope.
>     <dependency>
>       <groupId>x</groupId>
>       <artifactId>y</artifactId>
>       <version>1.0</version>
>       <type>test-jar</type>
>       <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] Updated: (MNG-2035) Add transitive dependencies with test scope when depending on a test-jar type dependency

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

Carlos Sanchez updated MNG-2035:
--------------------------------

    Fix Version: 2.1

> Add transitive dependencies with test scope when depending on a test-jar type dependency
> ----------------------------------------------------------------------------------------
>
>          Key: MNG-2035
>          URL: http://jira.codehaus.org/browse/MNG-2035
>      Project: Maven 2
>         Type: New Feature

>   Components: Dependencies
>     Versions: 2.0, 2.0.1, 2.0.2
>     Reporter: Carlos Sanchez
>     Priority: Minor
>      Fix For: 2.1

>
>
> If I add a test-jar dependency, then it's dependencies in test scope should be transitively added in test scope.
>     <dependency>
>       <groupId>x</groupId>
>       <artifactId>y</artifactId>
>       <version>1.0</version>
>       <type>test-jar</type>
>       <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: (MNG-2035) Add transitive dependencies with test scope when depending on a test-jar type dependency

Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-2035?page=comments#action_57789 ] 

Carlos Sanchez commented on MNG-2035:
-------------------------------------

test

> Add transitive dependencies with test scope when depending on a test-jar type dependency
> ----------------------------------------------------------------------------------------
>
>          Key: MNG-2035
>          URL: http://jira.codehaus.org/browse/MNG-2035
>      Project: Maven 2
>         Type: New Feature

>   Components: Dependencies
>     Versions: 2.0, 2.0.1, 2.0.2
>     Reporter: Carlos Sanchez
>     Priority: Minor
>      Fix For: 2.1

>
>
> If I add a test-jar dependency, then it's dependencies in test scope should be transitively added in test scope.
>     <dependency>
>       <groupId>x</groupId>
>       <artifactId>y</artifactId>
>       <version>1.0</version>
>       <type>test-jar</type>
>       <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] Updated: (MNG-2035) Add transitive dependencies with test scope when depending on a test-jar type dependency

Posted by "Vincent Massol (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-2035?page=all ]

Vincent Massol updated MNG-2035:
--------------------------------

    Comment: was deleted

> Add transitive dependencies with test scope when depending on a test-jar type dependency
> ----------------------------------------------------------------------------------------
>
>          Key: MNG-2035
>          URL: http://jira.codehaus.org/browse/MNG-2035
>      Project: Maven 2
>         Type: New Feature

>   Components: Dependencies
>     Versions: 2.0, 2.0.1, 2.0.2
>     Reporter: Carlos Sanchez
>     Priority: Minor
>      Fix For: 2.1

>
>
> If I add a test-jar dependency, then it's dependencies in test scope should be transitively added in test scope.
>     <dependency>
>       <groupId>x</groupId>
>       <artifactId>y</artifactId>
>       <version>1.0</version>
>       <type>test-jar</type>
>       <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