Provide a conversion code to related variants of MavenArtifact.

Use that to simplify BundlePluginMojo.
Resolve the hpi variant, not the jar variant.

Plugins depends on other plugins via <type>jar</type>, so for preparing test dependencies we need to pick up hpi files.