History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: MNG-3339
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Anton Makeev
Votes: 10
Watchers: 6
Operations

If you were logged in you would be able to see more operations.
Maven 2

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

Created: 28/Dec/07 04:59 AM   Updated: 12/Jun/08 09:20 PM
Component/s: Dependencies
Affects Version/s: 3.0
Fix Version/s: 3.0

Time Tracking:
Not Specified

File Attachments: 1. Zip Archive transitive-deps.zip (4 kb)

Issue Links:
Duplicate
 


 Description  « Hide
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.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Abel Muiño - 14/Jan/08 02:05 PM
Being able to resolve module dependencies without installing the artifacts will also be very useful for embedding m2 in IDEs.