Fix maven dependency issue with the domain project.