Code till you … drop
Maven and slow dependencies report
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
| Print article | This entry was posted by andyhot on 05/10/2009 at 14:41, and is filed under java. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |

about 2 years ago
Thank you, this was exactly what I was looking for
about 1 year ago
Same here, thank you so much!
about 1 year ago
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
about 7 months ago
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.
about 7 months ago
Awesome! Thank you a lot!
Ondřej