Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] Adding new sub-modules

Right-click on the parent project, import as existing maven project.
This will bring maven import wizard prepopulated with new modules
selected and existing modules de-selected.

--
Regards,
Igor

On 11-07-25 5:22 PM, Günter Ladwig wrote:
Hi,

I'm having a problem with m2eclipse (using Eclipse Indigo) with a
multi-module project configuration. We have a parent project with
multiple sub-modules in a hierarchical layout. These appear as
separate projects in Eclipse (as expected).

The problem: if somebody else adds a new sub-module and commits to
SVN, this module will not appear as a separate Eclipse project after
a SVN update. Is there a way to make m2eclipse rescan the parent POM
and create sub-modules accordingly? I tried adding the sub-module
myself, but couldn't because the "resource already exists". The (very
tedious) workaround is to delete the whole project and check out
everything again. Hopefully there is a better way?

Cheers, Günter


Back to the top