Fixed maven dependency management by using <dependencyManagement> in root pom and <parent> instead of <modules> in module poms.