How to only check top level (pom-listed) packages for updates with "Versions Maven Plugin"?

308 Views Asked by At

Currently the check for updatable modules takes a huge amount of time. It seems as if the module does not only check the direct project dependencies but also the indirect dependencies - which does not really make sense (in most of the scenarios).

I did not find an option to just check the packages listed in the pom - but not the indirect dependencies of these packages.

Is there such an option?

1

There are 1 best solutions below

3
On

You are probably not talking about transitive (indirect) dependencies, but about the entries of <dependencyManagement>.

You can deactivate the search there by setting processDependencyManagement to false.