-
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <version>1.4</version> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> <configuration> <filters> <filter> <artifact>*:*</artifact> <excludes> <exclude>META-INF/*.SF</exclude> <exclude>META-INF/*.DSA</exclude> <exclude>META-INF/*.RSA</exclude> </excludes> </filter>
如何解决java.lang.SecurityException: Invalid signature file digest for Manifest main
最新推荐文章于 2021-12-20 11:48:09 发布
本文介绍如何使用 Maven 的 Shade 插件进行项目打包,通过配置排除特定的元数据文件,如签名文件等,以优化最终的输出包。
934

被折叠的 条评论
为什么被折叠?



