idea怎么导出Maven依赖的jar包

2024-11-02 02:30:27
推荐回答(1个)
回答1:

命令 mvn assembly:assembly -DskipTests



src/main/resources

**/*.xml






org.apache.maven.plugins
maven-jar-plugin
2.4


.........
2.4


jar-with-dependencies
.......








maven打包的时候 ,将依赖包 打进同一个jar包命令 mvn assembly:assembly -DskipTests