public interface DependencyResolver
Modifier and Type | Method and Description |
---|---|
void |
resolve(Assembly assembly,
AssemblerConfigurationSource configSource,
AssemblyContext context)
Resolve the project dependencies, according to the supplied configuration.
|
void resolve(Assembly assembly, AssemblerConfigurationSource configSource, AssemblyContext context) throws DependencyResolutionException
project
- The project whose dependencies should be resolvedscope
- The dependency scope to resolvemanagedVersions
- The map of managed versions, which allows dependency version conflict resolution to happen once for
the entire assembly process.localRepository
- The local repository which acts as a local cache for remote artifact repositoriesremoteRepositories
- The list of remote ArtifactRepository
instances to use during resolution, in addition to those
defined in the supplied MavenProject
instance.resolveTransitively
- If true, resolve project dependencies transitively; if false, only resolve the project's direct
dependencies.DependencyResolutionException
Copyright © 2002-2015 The Apache Software Foundation. All Rights Reserved.