code: public void deploy(RemoteRepository target, String pluginName, Artifact ... artifacts) throws DeploymentException {
          deploy(target, pluginName, Arrays.asList(artifacts));
      }
docs: convenience method