eclipse exports the jar corresponding to the dependency in maven

1. Find pom.xml, right click and select Run As >> Maven build...

Enter "dependency:copy-dependencies" in the Goals box in the figure above, and then click "Run". The initial generation may take a while longer, and the console may run for a while.

When "BUILD SUCCESS" appears on the console, it means the build is successful.

In the root directory "targed/dependency" of the current project, you can view all the generated dependent jar packages.
 

Guess you like

Origin blog.csdn.net/yunxiang1224/article/details/107408744