public class DependencyCollectorRequest extends Object
DependencyCollectorBuilder.collectDependencyGraph(DependencyCollectorRequest)
new AndDependencySelector( new DirectScopeDependencySelector( JavaScopes.TEST ), new DirectScopeDependencySelector( JavaScopes.PROVIDED ), new OptionalDependencySelector(), new ExclusionDependencySelector() );
new ConflictResolver( new NearestVersionSelector(), new VerboseJavaScopeSelector(), new SimpleOptionalitySelector(), new JavaScopeDeriver() );
ConflictResolver.CONFIG_PROP_VERBOSE, true DependencyManagerUtils.CONFIG_PROP_VERBOSE, trueMove Resolver configuration properties.
Constructor and Description |
---|
DependencyCollectorRequest(org.apache.maven.project.ProjectBuildingRequest buildingRequest) |
DependencyCollectorRequest(org.apache.maven.project.ProjectBuildingRequest buildingRequest,
org.apache.maven.artifact.resolver.filter.ArtifactFilter filter) |
Modifier and Type | Method and Description |
---|---|
void |
addConfigProperty(String key,
Object value) |
DependencyCollectorRequest |
dependencyGraphTransformer(org.eclipse.aether.collection.DependencyGraphTransformer dependencyGraphTransformer) |
DependencyCollectorRequest |
dependencySelector(org.eclipse.aether.collection.DependencySelector dependencySelector) |
org.apache.maven.project.ProjectBuildingRequest |
getBuildingRequest() |
Map<String,Object> |
getConfigProperties() |
org.eclipse.aether.collection.DependencyGraphTransformer |
getDependencyGraphTransformer() |
org.eclipse.aether.collection.DependencySelector |
getDependencySelector() |
org.apache.maven.artifact.resolver.filter.ArtifactFilter |
getFilter() |
void |
removeConfigProperty(String key) |
public DependencyCollectorRequest(org.apache.maven.project.ProjectBuildingRequest buildingRequest)
public DependencyCollectorRequest(org.apache.maven.project.ProjectBuildingRequest buildingRequest, org.apache.maven.artifact.resolver.filter.ArtifactFilter filter)
public org.apache.maven.project.ProjectBuildingRequest getBuildingRequest()
public org.apache.maven.artifact.resolver.filter.ArtifactFilter getFilter()
public org.eclipse.aether.collection.DependencySelector getDependencySelector()
public DependencyCollectorRequest dependencySelector(org.eclipse.aether.collection.DependencySelector dependencySelector)
public org.eclipse.aether.collection.DependencyGraphTransformer getDependencyGraphTransformer()
public DependencyCollectorRequest dependencyGraphTransformer(org.eclipse.aether.collection.DependencyGraphTransformer dependencyGraphTransformer)
public void removeConfigProperty(String key)
Copyright © 2002–2024 The Apache Software Foundation. All rights reserved.