Я использую подключаемый модуль maven для архивации файла в папке resources
.
основной файл
main-
src-
resources-
-myfiles
Я могу заархивировать файл из него. Но он архивирует все файлы по тому же пути, что и
myzip.zip
main-
src-
resources-
-myfiles
Но я хочу файлы в myzip.zip
myzip
---myfile
не внутри иерархии , Ниже конфигурации я использовал
<formats>
<format>zip</format>
</formats>
<fileSets>
<fileSet>
<directory>src/main/resources/</directory>
<includes>
<include>*.file</include>
</includes>
</fileSet>
</fileSets>
<includeBaseDirectory>false</includeBaseDirectory>
</assembly>
Как я могу это сделать?