maven构建项目的时候遇到了Could not transfer artifact xxxxxx:pom:1.1-SNAPSHOT from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [nexus-118 (http://xxxxxx.com:8081/repository/maven-public/, default, releases+snapshots)]错误,查了一下,发现是maven最新版本配置了不能直接访问http的库,解决问题很简单
<mirror>
<id>xxx</id>
<mirrorOf>*</mirrorOf>
<name>xxx公共仓库</name>
<url>http://nexus.xxx.com:8081/repository/maven-snapshots/</url>
<blocked>false</blocked>
</mirror>
把blocked配置为FALSE就行了