• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Multi-module Maven project with Flat or Hierarchical structure?

 
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Saloon Keeper
Posts: 28703
211
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic