Function ComponentManagerImpl#searchAdditionalDependencies finds additional dependencies of an artifact and put them into a list. Consider a possibility of optimizing the algorithm through returning a set (with appropriate overriding of hashCode and equals functions of MvnArtifact) if this makes sence from a performance perspective.
Besides, study the replacement of model.dependencyManagement.dependencies.stream() with parallelStream() call.
Function
ComponentManagerImpl#searchAdditionalDependencies
finds additional dependencies of an artifact and put them into a list. Consider a possibility of optimizing the algorithm through returning a set (with appropriate overriding ofhashCode
andequals
functions ofMvnArtifact
) if this makes sence from a performance perspective. Besides, study the replacement ofmodel.dependencyManagement.dependencies.stream()
withparallelStream()
call.