code: 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();
      }
docs: Resolves artifact dependencies.
  
  The {@link ArtifactResult} contains a reference to a file in Maven local repository.
  
  @param repoSession The current Maven session
  @param swrSession SWR Aether session abstraction
  @param request The request to be computed
  @param filters The filters of dependency results
  @return A collection of artifacts which have built dependency tree from {@code request}
  @throws DependencyResolutionException If a dependency could not be computed or collected