Class JavaScopeDeriver
java.lang.Object
org.eclipse.aether.util.graph.transformer.ConflictResolver.ScopeDeriver
org.eclipse.aether.util.graph.transformer.JavaScopeDeriver
Deprecated.
This class belongs to consumer project. Resolver should have no notion of scopes.
A scope deriver for use with
ConflictResolver that supports the scopes from JavaScopes.-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a new instance of this scope deriver. -
Method Summary
Modifier and TypeMethodDescriptionvoidderiveScope(ConflictResolver.ScopeContext context) Deprecated.Determines the scope of a dependency in relation to the scope of its parent.Methods inherited from class org.eclipse.aether.util.graph.transformer.ConflictResolver.ScopeDeriver
getInstance
-
Constructor Details
-
JavaScopeDeriver
public JavaScopeDeriver()Deprecated.Creates a new instance of this scope deriver.
-
-
Method Details
-
deriveScope
public void deriveScope(ConflictResolver.ScopeContext context) throws org.eclipse.aether.RepositoryException Deprecated.Description copied from class:ConflictResolver.ScopeDeriverDetermines the scope of a dependency in relation to the scope of its parent. Implementors need to callConflictResolver.ScopeContext.setDerivedScope(String)to deliver the result of their calculation. If said method is not invoked, the conflict resolver will assume the scope of the child dependency remains unchanged.- Specified by:
deriveScopein classConflictResolver.ScopeDeriver- Parameters:
context- The scope context, must not benull.- Throws:
org.eclipse.aether.RepositoryException- If the scope deriviation failed.
-