-->

How can we zip two separate directories in seperat

2019-08-19 23:31发布

问题:

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.