Missing modules in cache, to get the full list of dependencies of
project
, taking dependency management / inheritance into account.
Missing modules in cache, to get the full list of dependencies of
project
, taking dependency management / inheritance into account.
Note that adding the missing modules to the cache may unveil other
missing modules, so these modules should be added to the cache, and
dependencyManagementMissing
checked again for new missing modules.
Required modules for the dependency management of project
.
Whether the resolution is done.
Returns errors on dependencies
Returns errors on dependencies
errors
Minimized dependency set.
Minimized dependency set. Returns dependencies
with no redundancy.
E.g. dependencies
may contains several dependencies towards module org:name:version,
a first one excluding A and B, and a second one excluding A and C. In practice, B and C will
be brought anyway, because the first dependency doesn't exclude C, and the second one doesn't
exclude B. So having both dependencies is equivalent to having only one dependency towards
org:name:version, excluding just A.
The same kind of substitution / filtering out can be applied with configurations. If
dependencies
contains several dependencies towards org:name:version, a first one bringing
its configuration "runtime", a second one "compile", and the configuration mapping of
org:name:version says that "runtime" extends "compile", then all the dependencies brought
by the latter will be brought anyway by the former, so that the latter can be removed.
A minimized dependencies
, applying this kind of substitutions.
The modules we miss some info about.
The final next dependency set, stripped of no more required ones.
The "next" dependency set, made of the current dependencies and their transitive dependencies, trying to solve version conflicts.
The "next" dependency set, made of the current dependencies and their transitive dependencies, trying to solve version conflicts. Transitive dependencies are calculated with the current cache.
May contain dependencies added in previous iterations, but no more
required. These are filtered below, see newDependencies
.
Returns a tuple made of the conflicting dependencies, all the dependencies, and the retained version of each module.
If no module info is missing, the next state of the resolution, which can be immediately calculated.
If no module info is missing, the next state of the resolution, which can be immediately calculated. Else, the current resolution.
Returns dependencies from the "next" dependency set, filtering out those that are no more required.
Returns dependencies from the "next" dependency set, filtering out those that are no more required.
The versions of all the dependencies returned are erased (emptied).
Returns a map giving the dependencies that brought each of the dependency of the "next" dependency set.
Returns a map giving the dependencies that brought each of the dependency of the "next" dependency set.
The versions of all the dependencies returned are erased (emptied).
Removes from this Resolution
dependencies that are not in dependencies
neither brought
transitively by them.
Removes from this Resolution
dependencies that are not in dependencies
neither brought
transitively by them.
This keeps the versions calculated by this Resolution
. The common dependencies of different
subsets will thus be guaranteed to have the same versions.
Transitive dependencies of the current dependencies, according to what there currently is in cache.
Transitive dependencies of the current dependencies, according to what there currently is in cache.
No attempt is made to solve version conflicts here.
Add dependency management / inheritance related items to project
,
from what's available in cache.
Add dependency management / inheritance related items to project
,
from what's available in cache.
It is recommended to have fetched what dependencyManagementMissing
returned prior to calling this.
Returns errors on dependencies, but that don't have POM-related errors
Returns errors on dependencies, but that don't have POM-related errors
errors
(Since version 1.0.0-RC1) use metadataErrors instead
State of a dependency resolution.
Done if method
isDone
returnstrue
.