Add Metrics and update Maven files.