How can we zip two separate directories in seperate zip files, using assembly plugin?

烂漫一生 提交于 2019-12-13 07:23:28

问题


I have tried below with same assembly descriptor with two executions in pom.xml.

The problem is both zip files are mixing since they are calling one after other the same file.

Is there any way we can achieve this without going for two different assembly descriptor files?


回答1:


If you're trying to create two different zip files from two different directories, you'll need two different assembly descriptors. Each descriptor describes which files go into the end result.



来源:https://stackoverflow.com/questions/45087114/how-can-we-zip-two-separate-directories-in-seperate-zip-files-using-assembly-pl

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!