public class JavaScopeDeriver extends ConflictResolver.ScopeDeriver
| Constructor and Description |
|---|
JavaScopeDeriver() |
| Modifier and Type | Method and Description |
|---|---|
void |
deriveScope(ConflictResolver.ScopeContext context)
Determines the scope of a dependency in relation to the scope of its parent.
|
getInstancepublic void deriveScope(ConflictResolver.ScopeContext context) throws org.sonatype.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.sonatype.aether.RepositoryException - If the scope deriviation failed.Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.