-
Notifications
You must be signed in to change notification settings - Fork 32
Closed
Labels
enhancementNew feature or requestNew feature or requestpriority:majorMajor loss of functionMajor loss of function
Milestone
Description
Olivier Lamy opened MSHARED-1158 and commented
DefaultDependencyCollectorBuilder is using a lot default which are not possible to override for different use cases.
Such
DependencyGraphTransformer transformer =
new ConflictResolver( new NearestVersionSelector(), new VerboseJavaScopeSelector(),
new SimpleOptionalitySelector(), new JavaScopeDeriver() );
session.setDependencyGraphTransformer( transformer );
DependencySelector depFilter =
new AndDependencySelector( new DirectScopeDependencySelector( JavaScopes.TEST ),
new DirectScopeDependencySelector( JavaScopes.PROVIDED ),
new OptionalDependencySelector(),
new ExclusionDependencySelector() );
session.setDependencySelector( depFilter );
session.setConfigProperty( ConflictResolver.CONFIG_PROP_VERBOSE, true );
session.setConfigProperty( DependencyManagerUtils.CONFIG_PROP_VERBOSE, true );Remote Links:
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestpriority:majorMajor loss of functionMajor loss of function