}
private URLClassLoader buildClassLoaderFromCoordinates(String coordinates)
throws Exception
{
Artifact rootArtifact = new DefaultArtifact(coordinates);
List<Artifact> artifacts = resolver.resolveArtifacts(rootArtifact);
log.debug("Classpath for %s:", rootArtifact);
List<URL> urls = new ArrayList<>();
for (Artifact artifact : artifacts) {