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


6 thoughts on “Maven and slow dependencies report

  1. 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

    1. 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.

Leave a Reply

Your email address will not be published. Required fields are marked *

Read previous post:
Maven Presentation

On Feb 14, i did a Maven presentation for out local Java User Group, and it looks like it was...