在pom.xml配置依赖包的时候,给版本增加一个无上限表示,配置如下:
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>[3.8.1,)</version>
<scope>test</scope>
</dependency>
</dependencies>保存后maven将自动替换成最新的包,没图我会乱说?版权声明:本文为u010957453原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。