[JBASMP-64] undeploy-artifact fails with misleading error message

Resolve dependencies in UndeployArtifactMojo.
Select correct constructor for DeploymentFailureException.