Package org.eclipse.aether.scope
Interface SystemDependencyScope
-
- All Superinterfaces:
DependencyScope
public interface SystemDependencyScope extends 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
-
-
Field Summary
Fields Modifier and Type Field Description static SystemDependencyScopeLEGACYThe "legacy" system scope, used when there is noScopeManagerset on session.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetSystemPath(Artifact artifact)Returns system path string of provided artifact, ornull.voidsetSystemPath(java.util.Map<java.lang.String,java.lang.String> properties, java.lang.String systemPath)Sets system path in properties.-
Methods inherited from interface org.eclipse.aether.scope.DependencyScope
getId, is, isTransitive
-
-
-
-
Field Detail
-
LEGACY
static final SystemDependencyScope LEGACY
The "legacy" system scope, used when there is noScopeManagerset on session.
-
-
Method Detail
-
getSystemPath
java.lang.String getSystemPath(Artifact artifact)
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
void setSystemPath(java.util.Map<java.lang.String,java.lang.String> properties, java.lang.String systemPath)
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).
-
-