sb.append('.');
}
sb.append(p[j]);
}
opt.groupId(sb.toString());
opt.artifactId(p[p.length-3]);
opt.version(p[p.length-2]);
opt.type(p[p.length-1].substring(p[p.length-1].lastIndexOf('.') + 1));
return opt;
} else {
throw new IllegalArgumentException("Unable to extract maven information from " + location);