spring-boot整合smart-doc推送接口文档到torna报错Failure to find xxx… resolution will not be reattempted until the update问题解决
最近一直可以正常推送接口文档到torna,但是有连续两天一直推送不成功,报xml-apis xml-apis-ext的jar无法更新
原始报错信息是:
Failure to find xml-apis:xml-apis-ext:jar:sources:1.3.04 in xxx repository was cached in the local repository, resolution will not be reattempted until the update interval of releases has elapsed or updates are forced
在网上也查找了这个报错的解决方法,但是都没有生效,在项目中搜索xml-apis,但是没有找到相关依赖,一直困扰了两天。
因此在网上查找推送到torna的文档,在这篇文章中找到了解决方法,可以在pom中配置不需要编译的jar包
<excludes>
xml-apis:xml-apis-ext
</excludes>
添加配置后,重新运行推送命令就成功推送接口到torna了
整个配置过程及配置参数详解可以参考原文
https://blog.youkuaiyun.com/weixin_44158741/article/details/115728168