This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Multi-module Maven project with Flat or Hierarchical structure?

 
Tibi Kiss
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are some pros and cons to choose Flat or Hierarchical maven project structure.

If I choose a hierarchical structure in the Eclipse environment with m2eclipse plugin, seems to have some problems when using CVS instead of SVN.
Several mounth I have been involved in using hierarchical multi-module maven projects with Subversion repository. On a different location now I have to use CVS and when I checkout a hierarchical multimodule project it seems that I have several problems.
The team would like to use flat structure which option seems to be reasonable choice if I consider the previously mentioned issue with CVS repo.

But I know that maven-release-plugin it has some issues on flat structured multi-module maven projects.

Since I never been used flat structured multi-module projects, I would like to ask you if you have experience with them.
 
Tim Holloway
Saloon Keeper
Posts: 18302
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
SVN does seem to lend itself better to hierarchical structure. It's not that you can't check out subtrees of CVS, but it's not as convenient.

When I did do complex projects in CVS, I made each module a separate project. That maps well in Eclipse where a CVS project and an Eclipse project are usually effectively the same thing.
 
Tibi Kiss
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you!

At least now I have a feedback that not just for me it seems that it is related to CVS.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic