Maven: Command to update repository after adding dependency to POM

后端 未结 5 690
生来不讨喜
生来不讨喜 2020-11-28 00:41

I\'ve added a new dependency to my POM.

Is there a simple command I can run to download this dependency to my repository?

5条回答
  •  北海茫月
    2020-11-28 00:48

    Right, click on the project. Go to Maven -> Update Project.

    The dependencies will automatically be installed.

提交回复
热议问题