Package org.eclipse.aether.scope
Interface SystemDependencyScope
- All Superinterfaces:
 DependencyScope
A special dependency scope: "system".
 
This is a special scope. In this scope case, Resolver should handle dependencies specially, as they have no POM (so are always a leaf on graph), are not in any repository, but are actually hosted on host OS file system. On resolution resolver merely checks is file present or not.
- Since:
 - 2.0.0
 - Restriction:
 - This interface is not intended to be extended by clients.
 - Restriction:
 - This interface is not intended to be implemented by clients.
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SystemDependencyScopeThe "legacy" system scope, used when there is noScopeManagerset on session. - 
Method Summary
Modifier and TypeMethodDescriptiongetSystemPath(Artifact artifact) Returns system path string of provided artifact, ornull.voidsetSystemPath(Map<String, String> properties, String systemPath) Sets system path in properties.Methods inherited from interface org.eclipse.aether.scope.DependencyScope
getId, is, isTransitive 
- 
Field Details
- 
LEGACY
The "legacy" system scope, used when there is noScopeManagerset on session. 
 - 
 - 
Method Details
- 
getSystemPath
Returns system path string of provided artifact, ornull.- Parameters:
 artifact- The artifact that we want system path from, must not benull.- Returns:
 - the system path from passed in properties, or 
nullif not present. 
 - 
setSystemPath
Sets system path in properties. The passed insystemPathcan benull, in which case expected operation is "remove" (or "unset").- Parameters:
 properties- the properties map, must not benull.systemPath- the system path to set (if notnull) or unset (ifnull).
 
 -