eclipse + svn:如何使用svn管理整个工作区

问题描述

|| 我有一个工作区,其中包含使用maven构建的几个项目。 我知道我可以将每个项目分别添加到svn,但是如何添加超级pom? 我的超级pom在工作区目录中,因此不可见。 我可以配置Eclipse将整个工作区目录添加到svn吗? 最好的祝福     

解决方法

这并不是您所要的,但是我已经成功地将以下模式与svn-eclipse-maven组合一起使用。
/pom.xml
   - contains only referenced projects

/parent/pom.xml
   - contains dependencies common to all projects,<dependencyManagement>,properties..
   - the stuff you would normally put in root pom

/procject(X|Y|Z|...)/pom.xml
   - normal project pom.xml:s
这样,您只需要在添加或删除项目时在Eclipse外部提交/pom.xml(女巫相对较少)。使用此配置,parent和project:s在eclipse中可见,而只有root / reactor pom在eclipse中不可见。