code: public URL[] resolveToURLs(GAV gav) throws IOException, RepositoryException {
          List<URL> jars = new ArrayList<URL>();
          for (File f : resolve(gav)) {
              jars.add(f.toURI().toURL());
          }
          return jars.toArray(new URL[jars.size()]);
      }
docs: Convenience method around {@link #resolve(com.cloudbees.sdk.GAV)} since most often
  the result is used to create a classloader, which wants URL[].