📜  如何从 Java 运行 Maven? - 无论代码示例

📅  最后修改于: 2022-03-11 14:55:37.505000             🧑  作者: Mango

代码示例1
MavenCli cli = new MavenCli();
cli.doMain(new String[]{"clean", "install"}, "project_dir", System.out, System.out);