Home » Newcomers » Newcomers » Eclipse + Maven multi-module project
|Eclipse + Maven multi-module project [message #542621]
||Fri, 25 June 2010 13:18
| Arni Arent
Registered: June 2010
I'm trying to figure out how to set up a maven multi-module project in my Eclipse.|
Eclipse lists all all the project modules in a flat list, not nested, and each module is listed as a separate project, cluttering the workspace with dozens of projects, one per module.
So far I've managed to get around this problem by keeping each multi-module maven project in it's own workspace.
But this is starting to bother me, since I know this has worked in NetBeans for a long time, but not in Helios.
So, that's the question, is there no way to set up multi-module maven projects in Eclipse without having all the modules listed as projects in a flat list?
[Updated on: Fri, 25 June 2010 13:19]
Report message to a moderator
|Re: Eclipse + Maven multi-module project [message #542793 is a reply to message #542753]
||Sat, 26 June 2010 04:41
|| Michael Pellaton
Registered: July 2009
Depending on the source management system you use, you can checkout the|
different branches using different names. Subversive allows you to
rename projects on checkout using paterns.
Besids that: nested projects in Eclipse is a very long standing issue. I
won't go into details here, but the whole discussions took and take
place in several bugzilla issues.
On 06/25/2010 10:37 PM, Arni Arent wrote:
> Michael Pellaton wrote on Fri, 25 June 2010 13:19
>> First of all, you can use working sets to group projects and unclutter
>> the workspace.
>> Second, M2Eclipse  supports multi-module projects to some degree .
>>  http://m2eclipse.sonatype.org/
> Yes, I am aware of those. I am using M2Eclipse, and set up the project
> using the method you refer to.
> Trying to organize the workspace using working sets is IMO the wrong
> solution to this problem.
> I have multiple branches of the same project, and if I tried to import
> them all into Eclipse it would result in multiple projects having the
> same name. In short, it would be a big messy mess.
> Trying to resolve it using working sets is a wrong solution. And if this
> were the only solution, I'd consider another IDE.
> I'd think this would need fixing in Eclipse, as many are using Maven
> nowadays and nested modules.
Current Time: Thu Feb 20 21:48:58 GMT 2020
Powered by FUDForum
. Page generated in 0.02831 seconds