settings.xml加上这个镜像试试
<mirror>
<id>confluent</id>
<mirrorOf>confluent</mirrorOf>
<name>confluent</name>
<url>http://packages.confluent.io/maven</url>
</mirror>

________________________________
sean...@live.com

发件人: Jimmy Wong<mailto:wangzmk...@163.com>
发送时间: 2019-08-23 16:56
收件人: user-zh<mailto:user-zh@flink.apache.org>
主题: flink-1.9 打包问题
Hi,大家好,我用阿里的 settings.xml 打包 flink-1.9 的时候,使用的命令如下
> mvn clean install -DskipTests


但是,在打包结束是报错如下:
> [ERROR] Failed to execute goal on project flink-avro-confluent-registry: 
> Could not resolve dependencies for project 
> org.apache.flink:flink-avro-confluent-registry:jar:1.9-SNAPSHOT: Failure to 
> find io.confluent:kafka-schema-registry-client:jar:3.3.1 in 
> http://maven.aliyun.com/nexus/content/groups/public was cached in the local 
> repository, resolution will not be reattempted until the update interval of 
> nexus-aliyun has elapsed or updates are forced -> [Help 1]


看上去是阿里云的 Maven 仓库 http://maven.aliyun.com/nexus 中没有 
io.confluent:kafka-schema-registry-client:jar:3.3.1。


有同学知道具体的原因麽?


谢谢

回复