How to add local jar files to a Maven project?

后端 未结 30 3321
悲&欢浪女
悲&欢浪女 2020-11-21 04:58

How do I add local jar files (not yet part of the Maven repository) directly in my project\'s library sources?

30条回答
  •  长发绾君心
    2020-11-21 05:07

    To install third party jar, Please call the command like below

    mvn install:install-file -DgroupId= -DartifactId= -Dversion= -Dpackaging=jar -Dfile=path
    

提交回复
热议问题