问题
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