Maven如何添加新dependency

以 junit-4.11.jar为例。

1.打开http://mvnrepository.com网站

2.搜索junit,找到版本4.11

3.显示如下:

<dependency>

<groupId>junit</groupId>

<artifactId>junit</artifactId>

<version>4.11</version>

<scope>test</scope>

</dependency>

 

PS:中央仓库速查地址 http://maven.outofmemory.cn/org.glassfish/javax.management.j2ee/3.1.1/

 

https://github.com/spring-projects/spring-framework/tags?after=v4.2.0.RC3

猜你喜欢

转载自wzf7065.iteye.com/blog/2231057