Apache maven offers a nice infrastructure for handling code that has been split into separate modules (among other things):
http://maven.apache.org/
Sesame 2 has moved from ant to maven2 as the primary build system. The code is now partly distributed over several modules. Goal is to create a module for each major API and separate modules for each implementation of these APIs. The result will be a much more configurable and extensible RDF framework.