You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2005/05/16 06:51:34 UTC

[jira] Created: (MNG-397) transitive artifacts may not match repository definition

transitive artifacts may not match repository definition
--------------------------------------------------------

         Key: MNG-397
         URL: http://jira.codehaus.org/browse/MNG-397
     Project: m2
        Type: Bug
  Components: maven-artifact  
    Reporter: Brett Porter
     Fix For: 2.0-beta-1


I haven't produced a test case, but I assume this to be true based on a review of the code.

If a project has a dependency on another project, and that project has a dependency only available in a repository declared in that project, I don't believe those additional repositories are used to search for artifacts. It would appear that the artifact would not be found. 

-- 
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: (MNG-397) transitive artifacts may not match pom's repository definition

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

    Resolution: Fixed

now we're associating repositories from each project with its declared dependencies, so we can resolve each from the proper place.

> transitive artifacts may not match pom's repository definition
> --------------------------------------------------------------
>
>          Key: MNG-397
>          URL: http://jira.codehaus.org/browse/MNG-397
>      Project: Maven 2
>         Type: Bug
>   Components: maven-artifact
>     Reporter: Brett Porter
>     Assignee: John Casey
>      Fix For: 2.0-beta-1

>
>
> I haven't produced a test case, but I assume this to be true based on a review of the code.
> If a project has a dependency on another project, and that project has a dependency only available in a repository declared in that project, I don't believe those additional repositories are used to search for artifacts. It would appear that the artifact would not be found. 

-- 
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-397) transitive artifacts may not match pom's repository definition

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

Brett Porter updated MNG-397:
-----------------------------

    Summary: transitive artifacts may not match pom's repository definition  (was: transitive artifacts may not match repository definition)

> transitive artifacts may not match pom's repository definition
> --------------------------------------------------------------
>
>          Key: MNG-397
>          URL: http://jira.codehaus.org/browse/MNG-397
>      Project: m2
>         Type: Bug
>   Components: maven-artifact
>     Reporter: Brett Porter
>      Fix For: 2.0-beta-1

>
>
> I haven't produced a test case, but I assume this to be true based on a review of the code.
> If a project has a dependency on another project, and that project has a dependency only available in a repository declared in that project, I don't believe those additional repositories are used to search for artifacts. It would appear that the artifact would not be found. 

-- 
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