code: public ClassLoader resolve(MavenCoordinate mavenCoordinate) throws MojoFailureException, MojoExecutionException {
          ClassLoader classLoader = classLoaders.get(mavenCoordinate);
          if (classLoader == null) {
              classLoader = doResolve(mavenCoordinate);
              classLoaders.put(mavenCoordinate, classLoader);
          }
          return classLoader;
      }
docs: Resolves a Maven coordinate to a class loader that can load all of the coordinates classes. If a Maven coordinate was resolved previously,
  the previously created class loader is returned.
  
  @param mavenCoordinate The Maven coordinate to resolve.
  @return A class loader that references all of the class loader's dependencies and which is a child of this class's class loader.
  @throws MojoExecutionException If the user configuration results in an error.
  @throws MojoFailureException   If the plugin application raises an error.