Fix PluginMetrics for Maven