You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Anton Makeev (JIRA)" <ji...@codehaus.org> on 2007/12/28 11:59:57 UTC

[jira] Created: (MNG-3339) Embedder does not resolve transitive dependencies in multi-module project, unless the modules were installed into local repository previously.

Embedder does not resolve transitive dependencies in multi-module project, unless the modules were installed into local repository previously.
----------------------------------------------------------------------------------------------------------------------------------------------

                 Key: MNG-3339
                 URL: http://jira.codehaus.org/browse/MNG-3339
             Project: Maven 2
          Issue Type: Bug
          Components: Dependencies
    Affects Versions: 2.1
            Reporter: Anton Makeev
         Attachments: transitive-deps.zip

I've attached the project that have three modules:
m1 (depends on m2)
m2 (depends on m3)
m3 (depends on junit)

all the dependencies are of the 'compile' scope.

I would expect that embedder resolves dependencies for m1 into m2, m3, and junit.
But it doesn't do that if repository does not contain these modules installed. The only dependency is the direct one (m2).
On the other hand, if I previously install the entire project into repository, I'll have the expected behaviour.


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

        

[jira] Updated: (MNG-3339) Embedder does not resolve transitive dependencies in multi-module project, unless the modules were installed into local repository previously.

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MNG-3339:
------------------------------

    Fix Version/s: 2.1

> Embedder does not resolve transitive dependencies in multi-module project, unless the modules were installed into local repository previously.
> ----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-3339
>                 URL: http://jira.codehaus.org/browse/MNG-3339
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Dependencies
>    Affects Versions: 2.1
>            Reporter: Anton Makeev
>             Fix For: 2.1
>
>         Attachments: transitive-deps.zip
>
>
> I've attached the project that have three modules:
> m1 (depends on m2)
> m2 (depends on m3)
> m3 (depends on junit)
> all the dependencies are of the 'compile' scope.
> I would expect that embedder resolves dependencies for m1 into m2, m3, and junit.
> But it doesn't do that if repository does not contain these modules installed. The only dependency is the direct one (m2).
> On the other hand, if I previously install the entire project into repository, I'll have the expected behaviour.

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

        

[jira] Closed: (MNG-3339) Embedder does not resolve transitive dependencies in multi-module project, unless the modules were installed into local repository previously.

Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason van Zyl closed MNG-3339.
------------------------------

       Resolution: Cannot Reproduce
    Fix Version/s:     (was: 3.x)

> Embedder does not resolve transitive dependencies in multi-module project, unless the modules were installed into local repository previously.
> ----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-3339
>                 URL: http://jira.codehaus.org/browse/MNG-3339
>             Project: Maven 2 & 3
>          Issue Type: Bug
>          Components: Dependencies
>    Affects Versions: 3.0
>            Reporter: Anton Makeev
>         Attachments: transitive-deps.zip
>
>
> I've attached the project that have three modules:
> m1 (depends on m2)
> m2 (depends on m3)
> m3 (depends on junit)
> all the dependencies are of the 'compile' scope.
> I would expect that embedder resolves dependencies for m1 into m2, m3, and junit.
> But it doesn't do that if repository does not contain these modules installed. The only dependency is the direct one (m2).
> On the other hand, if I previously install the entire project into repository, I'll have the expected behaviour.

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