【发布时间】:2020-08-15 03:37:14
【问题描述】:
在 Maven 中,我们可以使用 exec-maven-plugin 在构建中执行 bash 命令。
Central Repository 的哪个插件可以执行相同的任务?
我问它是因为我必须在另一个插件之后执行一个bash命令,该插件需要在exec-maven-plugin之后才能在同一阶段执行,所以我不能直接在exec-maven-plugin内部执行。
我想在 Maven 构建中执行的 bash 命令如下:
cat file1 >> file2
提前致谢。
【问题讨论】:
-
我建议写一个更容易和更干净的插件来集成到构建过程中......
标签: bash maven exec-maven-plugin