美文网首页Java
IntelliJ idea add maven lib duri

IntelliJ idea add maven lib duri

作者: JaedenKil | 来源:发表于2018-03-07 15:13 被阅读4次

If a project is in process, but a maven lib is needed, for example:

<dependency>
  <groupId>com.squareup.okhttp3</groupId>
  <artifactId>mockwebserver</artifactId>
  <version>3.10.0</version>
  <scope>test</scope>
</dependency>

In project, File - Project Structure - Libraries - + - From Maven, input com.squareup.okhttp3(That is "groupId"), click Search icon then Arrow icon.

OR

File - New - Module - Maven - Next.
This site can be referred to.

相关文章

网友评论

    本文标题:IntelliJ idea add maven lib duri

    本文链接:https://www.haomeiwen.com/subject/embjfftx.html