如何用maven-shade-plugin,添加本地的jar
org.richard
my-jar
1.0
system
${project.basedir}/lib/my-jar.jar
org.apache.maven.plugins
maven-shade-plugin
make-assembly
package
shade
jar-with-dependencies
xxx-jar-with-dependencies
lib/
lib/
**/my-jar.jar
但是这部分会报错:
descriptorRefs is not allowed here.
jar-with-dependencies
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
欢迎选择我的课程,让我们一起见证您的进步~~