Maven dependency updates report takes hours to complete

拟墨画扇 提交于 2019-12-24 08:06:25

问题


I have task to run Jenkins job witch would report newer version of libraries. I think that these would do what I need:

org.codehaus.mojo:versions-maven-plugin:2.5:plugin-updates-report
org.codehaus.mojo:versions-maven-plugin:2.5:property-updates-report
org.codehaus.mojo:versions-maven-plugin:2.5:dependency-updates-report

Job runs correctly but when it reaches project last artifact (artifact xerces:xercesImpl: checking for updates from default) it stucks for few hours. I was able to reproduce it locally. I've tried to change plugin version but none of them worked better. I checked if

versions:display-dependency-updates
versions:display-plugin-updates
versions:display-property-updates

would work as long as report. But these goals finished with "BUILD SUCCESS" in a bit more than half an hour.

What is wrong and why only report stuck on xerces? Maybe it is possible to set these commands

versions:display-dependency-updates
versions:display-plugin-updates
versions:display-property-updates

to make an ouputFile in html like report does?

来源:https://stackoverflow.com/questions/47588848/maven-dependency-updates-report-takes-hours-to-complete

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!