Build maven file with subdirectories.