CAMEL-7554 - camel-metrics

* Fixed build issues.
CAMEL-7554 - camel-metrics

* Compliance with Checkstyle rules.
CAMEL-7554 - camel-metrics

* Externalized dependency versions.