我是靠谱客的博主 无奈野狼,这篇文章主要介绍Failure to find org.pentaho:pentaho-aggdesigner-algorithm:pom:5.1.5-jhyde in http://maven.aliyun.com,现在分享给大家,希望可以做个参考。
问题
编写Hive自定义UDF以及UDTF函数时,测试都通过了,但是在附带依赖打包的时候发现了一个错误!
错误代码:
Failure to find
org.pentaho:pentaho-aggdesigner-algorithm:pom:5.1.5-jhyde in
http://maven.aliyun.com/nexus/content/repositories/central/ was cached
in the local repository, resolution will not be reattempted until the
update interval of alimaven has elapsed or updates are forced
很无奈,测试都过了!
解决办法
因为很多mvn仓库里也没有这些插件,这些插件是由其他平台提供,比如这个spring插件,他就是由spring提供,还有其他平台例如CDH的cloudera公司,他们也有自己的中央仓库,视情况而定。
在pom文件中添加此段代码
<repositories>
<repository>
<id>spring-plugin</id>
<url>https://repo.spring.io/plugins-release/</url>
</repository>
</repositories>
最后
以上就是无奈野狼最近收集整理的关于Failure to find org.pentaho:pentaho-aggdesigner-algorithm:pom:5.1.5-jhyde in http://maven.aliyun.com的全部内容,更多相关Failure内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复