我正在努力提取工件中嵌套zip文件的内容。
Artifact has below content zipped:
Base_Config.zip
First_Pack.zip
01_first.json
02_second.json
Second_Pack.zip
01_third.json
02_fourth.json
able to extract only zip files under Base_config.zip not it's contents *.json
`<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.10</version>
<executions>
<execution>
<id>unpack</id>
<phase>prepare-package</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>com.shashank.bss.XXX</groupId>
<artifactId>testdatagen</artifactId>
<version>24.5.0</version>
<type>zip</type>
</artifactItem>
</artifactItems>
<outputDirectory>target/assemble/shashank/deps</outputDirectory>
<includes>testdatagen-*-First_Pack.zip</includes>
</configuration>
</execution>
`
尝试多种解决方案: 无法使用程序集描述符
获取内容尝试过的解决方案也是如此: Custom maven assembly
不想使用已弃用的插件以及插件中提供的解决方案: truezip - Maven的插件 Unpack inner zips in zip with Maven
是否可以通过此插件完成工作: maven-dependency-plugin&amp;解压缩。
或者maven提供的任何其他简单解决方案?