Package org.moxie

Examples of org.moxie.IMavenCache


  }

  @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());
View Full Code Here


    FileUtils.writeContent(new File("../maven/artifacts.json"), sb.toString());
  }
 
  @Test
  public void generatePrefixesIndex() {
    IMavenCache cache = new MavenCache(new File("../maven"));
    File index = cache.updatePrefixesIndex();
    assertTrue(index.exists());
  }
View Full Code Here

TOP

Related Classes of org.moxie.IMavenCache

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.