class FingerprintMojo extends TreeMojo {

  static LibraryFingerprint fingerprint(final URL[] ruleDeps, final URL[] libDeps, final List<String> presents, final List<String> absents, final Logger logger) throws IOException {
    try (final URLClassLoader classLoader = new URLClassLoader(ruleDeps, new URLClassLoader(libDeps != null ? libDeps : new URL[0], null))) {
      return new LibraryFingerprint(classLoader, presents, absents, logger);
    }
  }

}