if(Artifact.isArtifact(args[0])) {
logger.debug("Loading configuration {} as an artifact", args[0]);
URL configLocation = null;
try {
Resolver resolver = ResolverHelper.getResolver();
Artifact artifact = new Artifact(args[0]);
configLocation = resolver.getLocation(artifact.getGAV(),
artifact.getType(),
service.getRemoteRepositories());
return new String[]{new File(configLocation.toURI()).getPath()};
} catch(ResolverException e) {
throw new IOException("Could not resolve "+args[0], e);
} catch (URISyntaxException e) {