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
Restriction:
This interface is not intended to be extended by clients.
Restriction:
This interface is not intended to be implemented by clients.
  • Field Details

  • Method Details

    • getSystemPath

      Returns system path string of provided artifact, or null.
      Parameters:
      artifact - The artifact that we want system path from, must not be null.
      Returns:
      the system path from passed in properties, or null if not present.
    • setSystemPath

      void setSystemPath(Map<String,String> properties, String systemPath)
      Sets system path in properties. The passed in systemPath can be null, in which case expected operation is "remove" (or "unset").
      Parameters:
      properties - the properties map, must not be null.
      systemPath - the system path to set (if not null) or unset (if null).