Maven and slow dependencies report
If the dependencies report takes too long to finish, it could be due to maven trying to determine (and generate a report of) which repository contains which artifact… and the network and/or repos being slow or unreachable.
In any case, here’s how you can short-circuit that process:
mvn -Ddependency.locations.enabled=false site |
Thank you, this was exactly what I was looking for 🙂
Same here, thank you so much!
As a followup, the slow report seems to happen only on “mvn clean install” and you can make this setting permanent by adding :
to the configuration of maven-project-info-reports-plugin
After a few failures I managed to have this configuration working. It has to be in the project/reporting/plugins section of pom.xml instead of project/build/plugins :-).
But thanks a lot, this makes site plugin usable for me.
Awesome! Thank you a lot!
Ondřej