|
|
@ -50,7 +50,7 @@ public class ApiCallable implements Callable {
|
|
|
|
{
|
|
|
|
{
|
|
|
|
System.out.println("生成模块:Pom");
|
|
|
|
System.out.println("生成模块:Pom");
|
|
|
|
HashMap<String, Object> ctx = new HashMap<String, Object>();
|
|
|
|
HashMap<String, Object> ctx = new HashMap<String, Object>();
|
|
|
|
ctx.put("api", api.getName().toLowerCase());
|
|
|
|
ctx.put("api", api.getName());
|
|
|
|
File file = new File(api, "pom.xml");
|
|
|
|
File file = new File(api, "pom.xml");
|
|
|
|
freeMarkerManager.outputTemp(file, "Java_api/pom.ftl", ctx);
|
|
|
|
freeMarkerManager.outputTemp(file, "Java_api/pom.ftl", ctx);
|
|
|
|
}
|
|
|
|
}
|
|
|
|