Remove unused deps from dg-core; Clean up poms to remove warnings from Maven, PMD