Updated code to build successfully. Found "metrics-core" dependency mismatch.