如何通过maven官网查询相关依赖的具体代码和版本?

来源:互联网 发布:软件招聘信息网 编辑:程序博客网 时间:2024/06/06 09:24

如何通过maven官网查询相关依赖的具体代码和版本?

通过官网:http://mvnrepository.com/,或者:https://search.maven.org/

在搜索栏中输入想要引入的依赖group id或者artifact id名称,

如输入:Spring,

选择Spring-core,

点击最新版本,如:

4.2.5.RELEASE

以下就会出现相关pom.xml中依赖的代码,如:

<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>4.2.5.RELEASE</version>
</dependency>




0 0
原创粉丝点击