Use Maven dependency for Metrics instead of including source file.