1, select the need to export jar of project, right click ---> run as ----> maven bulid below:
2, enter the Goals: dependency: copy-dependencies Click Apply -> Run After the success of the multi-target directory next time dependency catalog. That directory is the project dependent jar