1,到自己的项目目录下

Vegass-MacBook-Air:gms-boyol Vegas$ pwd
/Users/Vegas/SynologyDrive/Coding/workspace/gms-boyol

2,maven命令:
Vegass-MacBook-Air:gms-boyol Vegas$ mvn install:install-file -DgroupId=aos -DartifactId=captcha -Dversion=1.0 -Dpackaging=jar -Dfile=/Users/Vegas/SynologyDrive/Coding/plugin/captcha.jar

3,完成:

【Vegas原创】MAC下,idea手动maven jar包的方法-LMLPHP

05-04 08:03