Class DependencyScopes

java.lang.Object
org.eclipse.aether.util.artifact.DependencyScopes

public final class DependencyScopes extends Object
The dependency scopes that Resolver supports out of the box. The full set of scopes should be defined by consumer project.

By definition, scopes for Resolver are just labels, checked for equality. Resolver will not interpret, alter or modify any scope "label" that is not present in this class. It is left to consumer projects to define and interpret those.

Since:
2.0.0
See Also:
  • Field Details

    • SYSTEM

      public static final String SYSTEM
      Special scope that tells resolver that dependency is not to be found in any regular repository, so it should not even try to resolve the artifact from them. Dependency in this scope does not have artifact descriptor either. Artifacts in this scope should have the "local path" property set, pointing to a file on local system, where the backing file should reside. Resolution of artifacts in this scope fails, if backing file does not exist (no property set, or property contains invalid path, or the path points to a non-existent file).
      See Also: