Yah, thanks Igor for your answer.

This works for 2 (out of 3) submodules. BUT, the last one doesn't get
all his dependencies resolved in Eclipse.
It looks like the process of importing the POM's dependencies in
Eclipse "stops" in the middle of the processing.

the last dependency imported is the one, before another submodule of
the same project. How do I handle this ?

parent
+-- m1
+-- m2
+-- m3 // m3 has a dependency on m1

And one more dependency doesn't get imported. Why could this be
possible ? Looks like it's not written anywhere in the docs :s

thanks.

Yves




2009/2/11 Igor Fedorenko <[email protected]>:
> Use Import Maven Project wizard [1] to import existing maven projects into
> m2e workspace. With default import configuration this will create separate
> eclipse project for parent project and individual modules. It will also
> configure build classpath for all projects. See also [2].
>
> [1] http://docs.codehaus.org/display/M2ECLIPSE/Importing+Maven+projects
> [2] http://docs.codehaus.org/display/M2ECLIPSE/Dependency+Management
>
> --
> Regards,
> Igor
>
> Yves Dessertine wrote:
>>
>> Hi.
>>
>> I have a problem with the dependencies of the children of a
>> multimodule Eclipse/maven project.
>>
>> The parent has a packaging type "pom", and no dependency declared. Is
>> it good so far ?
>>
>> Then, my modules (children) declare their own dependencies.
>>
>> Everything is fine when compiling from command line. But in Eclipse,
>> all files are marked ascontaining errors : the dependencies aren't
>> resolved. The parent project has no dependencies. I declare the source
>> files manually on the parent project, tu make use of eclipse's
>> features.
>>
>> What's the solution ? I also tried to declare new (eclipse) projects
>> for the children (by importing the folders as "Existing projects" from
>> within Eclipse, but I now have problems with SVN (subclipse). One
>> physical folder declared in two distinct Eclipse project makes
>> inconsistancies in Subclipse (bad handling).
>>
>> Help :)
>>
>> Yves
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>    http://xircles.codehaus.org/manage_email
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>   http://xircles.codehaus.org/manage_email
>
>
>

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

    http://xircles.codehaus.org/manage_email


Reply via email to