Maven 3 does not update snapshot dependency from local repository

前端 未结 3 1908
轻奢々
轻奢々 2021-02-08 22:26

I am trying to use external library inside my maven project. Since I want the project to build out of the box on any machine, I don\'t want to use mvn install solut

3条回答
  •  别那么骄傲
    2021-02-08 22:49

    Maven will never read the jar present inside any library folder. You must first understand how maven works. The only place where maven looks for jar is the localRepository (.m2), if absent it searches the other repository, mentioned in your POM.xml

提交回复
热议问题