master
wangbing 6 years ago
parent 1b35169937
commit c8d61c0d90

@ -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);
} }

Loading…
Cancel
Save

Powered by TurnKey Linux.