How to add local jar files to a Maven project?

后端 未结 30 3334
悲&欢浪女
悲&欢浪女 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:10

    Also take a look at...

    compile
    

    Maven Dependencies. This is the default but I've found in some cases explicitly setting that scope also Maven to find local libraries in the local repository.

提交回复
热议问题