setDependencyCollectionRequired

getDependencyCollectionRequired

Gets the scope of (transitive) dependencies that should be collected. Dependency collection refers to the process
of calculating the complete dependency tree in terms of artifact coordinates. In contrast to dependency
resolution, this does not include the download of the files for the dependency artifacts. It is meant for mojos
that only want to analyze the set of transitive dependencies, in particular during early lifecycle phases where
full dependency resolution might fail due to projects which haven't been built yet.

Returns:

The scope of (transitive) dependencies that should be collected or null if none.