public Collection < ArtifactResult > resolveDependencies ( final RepositorySystemSession repoSession , final MavenWorkingSession swrSession , final CollectRequest request , final MavenResolutionFilter [ ] filters ) throws DependencyResolutionException { final DependencyRequest depRequest = new DependencyRequest ( request , new MavenResolutionFilterWrap ( filters , Collections . unmodifiableList ( new ArrayList < MavenDependency > ( swrSession . getDependenciesForResolution ( ) ) ) ) ) ; DependencyResult result = system . resolveDependencies ( repoSession , depRequest ) ; return result . getArtifactResults ( ) ; }
Resolves artifact dependencies .