3.8.1 版本开始私有仓库不支持使用http的URL,以防止中间人攻击。
详见3.8.1 Rlease note: https://maven.apache.org/docs/3.8.1/release-notes.html
solution:
最简单的解决:使用 https的 URL(当然服务要支持HHTPS)
或者添加mirror 见 release note
Release Notes – Maven 3.8.1
The Apache Maven team would like to announce the release of Maven 3.8.1.
Maven 3.8.1 is available for download.
Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project’s build, reporting, and documentation from a central place.
The core release is independent of plugin releases. Further releases of plugins will be made separately. See the PluginList for more information.
If you have any questions, please consult:
the web site: https://maven.apache.org/
the maven-user mailing list: https://maven.apache.org/