Hi all.

I have a fairly complex Maven2 project, which is done the "Maven 2 way", 
meaning that sub-projects are sub directories, 1, 2 or 3 levels down. So, there 
is one global parent POM for the entire project and a "leaf project" can have 
at least one more parent POM in the chain.

The way I work in this environment is to checkout the "leaf" project I am going 
to work on into the Eclipse workspace and I enable the dependencies on it. 
Prior to that I have checked out the entire project and ran "clean install" on 
it. That way all dependencies will be in my local repository and they are (or 
should be) visible on "Maven dependencies" container.

Now, building with "mvn" works like a charm.

Using older DEV version of m2clipse worked, too.

The latest STABLE release (the one with "Enable nested modules" option) is 
giving me problems. It is not picking up dependencies from the parent POM. 
Consequently, they are not in "Maven dependencies" node and my Eclipse is 
flashing red (cannot import ...) all over the place.

If I manually add the "missing" dependencies to the "leaf" project's POM all is 
well. But, of course, this is not proper.

Am I missing something really crucial here? Or is this a bug?

Nix.




       
____________________________________________________________________________________
Be a better Heartthrob. Get better relationship answers from someone who knows. 
Yahoo! Answers - Check it out. 
http://answers.yahoo.com/dir/?link=list&sid=396545433

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to