I am currently looking at migrating from maven2 to buildr and I am concerned about how get to keep the build scripts DRY.
Currently our maven project is defined with parent pom file containing all common build code and is picked up like any other dependency:
<parent>
<groupId>com.companyname</groupid>
<artifactId>parent</artifactId>
<version>1.0.0</artifactId>
</parent>
Now I am looking at buildr and I notice that it does have a simular concept but it would require placing a buildfile one level-up, for example:
/svnrepo/buildfile
/svnrepo/ProjectA
/svnrepo/ProjectB
This is a problem however because these projects are not related and will be checked out and build totally separately. So my question is: how do I best solve this problem? How do I reference a common buildfile while being able to checkout only one project at a time?