我是maven的新手.我想改变maven插件执行的顺序.
在我的pom.xml中,我有maven-assembly-plugin和maven-ant-plugin.我使用maven-assembly-plugin创建zip文件和maven-ant-plugin,用于将zip文件从目标复制到其他目录.当我运行pom.xml时,maven-ant-plugin被触发并查找zip文件,最后我收到错误,说找不到zip文件.在maven-ant-plugin需要运行之后,请先建议我如何运行maven-assembly-plugin,以便将zip文件复制到相应的目录.
maven-3 ×1