public final class JavaScopeDeriver extends ConflictResolver.ScopeDeriver
ConflictResolver that supports the scopes from JavaScopes.| Constructor | Description |
|---|---|
JavaScopeDeriver() |
Creates a new instance of this scope deriver.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
deriveScope(ConflictResolver.ScopeContext context) |
Determines the scope of a dependency in relation to the scope of its parent.
|
getInstancepublic JavaScopeDeriver()
public void deriveScope(ConflictResolver.ScopeContext context) throws org.eclipse.aether.RepositoryException
ConflictResolver.ScopeDeriverConflictResolver.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.deriveScope in class ConflictResolver.ScopeDerivercontext - The scope context, must not be null.org.eclipse.aether.RepositoryException - If the scope deriviation failed.