org.codehaus.mojo.license
Interface DependenciesTool

All Known Implementing Classes:
DefaultDependenciesTool

public interface DependenciesTool

A tool to deal with dependencies of a project.

Since:
1.0
Author:
tchemit

Method Summary
 SortedMap<String,org.apache.maven.project.MavenProject> loadProjectDependencies(org.apache.maven.project.MavenProject project, MavenProjectDependenciesConfigurator configuration, org.apache.maven.artifact.repository.ArtifactRepository localRepository, List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories, SortedMap<String,org.apache.maven.project.MavenProject> cache)
          For a given project, obtain the universe of his dependencies after applying transitivity and filtering rules given in the configuration object.
 

Method Detail

loadProjectDependencies

SortedMap<String,org.apache.maven.project.MavenProject> loadProjectDependencies(org.apache.maven.project.MavenProject project,
                                                                                MavenProjectDependenciesConfigurator configuration,
                                                                                org.apache.maven.artifact.repository.ArtifactRepository localRepository,
                                                                                List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories,
                                                                                SortedMap<String,org.apache.maven.project.MavenProject> cache)
For a given project, obtain the universe of his dependencies after applying transitivity and filtering rules given in the configuration object.

Result is given in a map where keys are unique artifact id

Parameters:
project - the project to scann
configuration - the configuration
localRepository - local repository used to resolv dependencies
remoteRepositories - remote repositories used to resolv dependencies
cache - a optional cache where to keep resolved dependencies
Returns:
the map of resolved dependencies indexed by their unique id.
See Also:
MavenProjectDependenciesConfigurator


Copyright © 2010-2013 The Kuali Foundation. All Rights Reserved.