maven 打包时解压本地zip包到指定文件夹
程序员文章站
2024-03-20 20:08:46
...
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.8</version>
<executions>
<execution>
<phase>**prepare-package**</phase>
<configuration>
<tasks>
<echo message="unzipping help file" />
<unzip src="target/classes/xxx.zip" dest="target/classes/xxx" />
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
上一篇: webpack实现前后端分离开发
下一篇: 使用javascript实现开灯关灯案例