Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想postGoal使用 Jelly 在我的 maven.xml 部分执行一个 bash 脚本。我怎样才能做到这一点?
postGoal
我找到了。您必须使用jelly:ant(我将其映射为a)。然后只写:
jelly:ant
a
<a:exec executable="/bin/bash"> <a:arg value="script_path"/> <a:arg value="srcipt_args"/> </a:exec>