Restructure as a Maven multi-module project.