hadoop2.5编译时报错Failed to read artifact descriptor for org.apache.felix:maven-bundle-plugin
执行命令mvn package -Pdist,native,docs -DskipTests -Dtar,对hadoop2.5编译时,报错如下:
root@node1:/usr/local/hadoop-2.5.2-src# mvn package -Pdist,native,docs -DskipTests -Dtar [INFO] Scanning for projects... Downloading: https://repo.maven.apache.org/maven2/org/apache/felix/maven-bundle-plugin/2.4.0/maven-bundle-plugin-2.4.0.pom [ERROR] [ERROR] Some problems were encountered while processing the POMs: [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin is missing. @ line 388, column 19 [ERROR] Unresolveable build extension: Plugin org.apache.felix:maven-bundle-plugin:2.4.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.felix:maven-bundle-plugin
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
谢谢。因为设置了固定ip后,没注意到不能上网了。现在改好了。
在maven库中找到maven-bundle-plugin-2.4.0.jar所在目录,然后删除目录后重新编译试试.