Apache Maven 3.8.1 发布了。Apache Maven 是一个项目管理和构建工具。基于项目对象模型(POM)的概念, Maven 可以从中心位置管理项目的构建、报告和文档。
此版本更新内容如下:
Bug
- [MNG-7128] - 改进在构建 POM 中定义的 blocked repository 时的错误信息。
New Feature
- [MNG-7116] - 增加对 external:http:* 镜像选择器的支持
- [MNG-7117] - 增加对 blocking mirrors 的支持
- [MNG-7118] - 默认屏蔽外部 HTTP 资源库
Dependency upgrade
- 将 Maven Wagon 升级至 3.4.3
- 将 Maven Resolver 升级至 1.6.2
This is not just a bugfix as it contains three features that cause a change of default behavior (external HTTP insecure URLs are now blocked by default): your builds may fail when using this new Maven release, if you use now blocked repositories. Please check and eventually fix before upgrading.
Why not 3.7.0?
Apache Maven 3.7.0 has been advertised in the past that it would be the first release where you could optionally activate the build/consumer feature: the version containing this feature has been renamed to 4.0.0. Reusing 3.7.0 might lead to confusion, hence we picked the next available minor version.
Why not 3.8.0?
With every release there’s a 72h+ voting period. During the vote of 3.8.0 a bug was discovered, one that was important enough to cancel the vote. With Maven we burn versions, to ensure we’re always talking about the same “version”. This way there will be never confusion about which Maven 3.8.0 one was using.