m2eclipse and nested modules

View: New views
4 Messages — Rating Filter:   Alert me  

m2eclipse and nested modules

by prylance :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
 
I've installed the maven2 Eclipse plugin and it seems to work. But I have a maven project that contains nested modules under a top-level pom. When I try to build this using the Eclipse plugin it only builds the top-level pom, and does not build the nested modules.
I created my maven build manually before I installed the eclipse plugin. The build works fine from the command line and builds all nested modules.
 
Does the m2eclipse plugin support building nested modules? Do I have to configure this somehow?
 
Thanks,
Pete

Re: m2eclipse and nested modules

by Brad Davis-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Eclipse itself doesn't support nesting of projects.  If a project exists at /home/user/workspaces/foo then you can't create another project at /home/user/workspace/foo/bar.  This presents a problem with parent poms that are in parent directories.  The solution is to place the 'parent pom' in a sibling directory to all the referencing projects.

Brad




Peter Rylance (prylance) wrote:
Hi,
 
I've installed the maven2 Eclipse plugin and it seems to work. But I have a maven project that contains nested modules under a top-level pom. When I try to build this using the Eclipse plugin it only builds the top-level pom, and does not build the nested modules.
I created my maven build manually before I installed the eclipse plugin. The build works fine from the command line and builds all nested modules.
 
Does the m2eclipse plugin support building nested modules? Do I have to configure this somehow?
 
Thanks,
Pete


Re: m2eclipse and nested modules

by Eugene Kuleshov :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


  This is one of the known issues with the embedder. So, we are still
waiting for the fixed version.

  regards,
  Eugene


Peter Rylance (prylance) wrote:

> I've installed the maven2 Eclipse plugin and it seems to work. But I
> have a maven project that contains nested modules under a top-level
> pom. When I try to build this using the Eclipse plugin it only builds
> the top-level pom, and does not build the nested modules.
> I created my maven build manually before I installed the eclipse
> plugin. The build works fine from the command line and builds all
> nested modules.
>  
> Does the m2eclipse plugin support building nested modules? Do I have
> to configure this somehow?
>  
> Thanks,
> Pete


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

    http://xircles.codehaus.org/manage_email


Re: m2eclipse and nested modules

by Eugene Kuleshov :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Brad,

  Just FYI, it is possible to create a single Eclipse project for
multimodule Maven project.

  regards,
  Eugene


Brad Davis wrote:

> Eclipse itself doesn't support nesting of projects.  If a project
> exists at /home/user/workspaces/foo then you can't create another
> project at /home/user/workspace/foo/bar.  This presents a problem with
> parent poms that are in parent directories.  The solution is to place
> the 'parent pom' in a sibling directory to all the referencing projects.
>
> Brad
>
>
>
>
> Peter Rylance (prylance) wrote:
>> Hi,
>>  
>> I've installed the maven2 Eclipse plugin and it seems to work. But I
>> have a maven project that contains nested modules under a top-level
>> pom. When I try to build this using the Eclipse plugin it only builds
>> the top-level pom, and does not build the nested modules.
>> I created my maven build manually before I installed the eclipse
>> plugin. The build works fine from the command line and builds all
>> nested modules.
>>  
>> Does the m2eclipse plugin support building nested modules? Do I have
>> to configure this somehow?
>>  
>> Thanks,
>> Pete
>


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

    http://xircles.codehaus.org/manage_email