I have a JavaEE project as follows:
- hms2 (Maven parent pom)
- hms2-ear
- hms2-ejb
- hms2-web
Should i use one SVN repository for all, or should i split up into 4 SVN repositories?

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you use maven and your components follow different development lifecycles you can split the SVN repo too but in conjunction with an internal maven repo (such as Artifactory or Nexus) so you let the developers be able to build their component without sources.
If your application is a single application (even if layered for separation of responsibilities purpose) you should not split.
Seeing that you are using maven modules (with parent POM) I think you are in the second case.