}
@Test
public void generateMoxieMavenIndex() {
String template = readResource("maven/artifact.json");
IMavenCache cache = new MavenCache(new File("../maven"));
String index = cache.generatePomIndex(template.trim(), ",\n");
StringBuilder sb = new StringBuilder();
sb.append("[\n");
sb.append(index);
sb.append("]\n");
FileUtils.writeContent(new File("../maven/artifacts.json"), sb.toString());