saker.maven.support Documentation TaskDoc JavaDoc Packages
public interface MavenDependencyResolutionScopesOutput
Interface for limiting the scope of a dependency resolution output.

Callers can use the get(String) method to get the resolution output that contains only the specified scopes.

Clients shouldn't implement this interface.

Methods
public MavenDependencyResolutionTaskOutput
get(String scope)
Gets the dependency resolution output for the specified scopes.
Gets the dependency resolution output for the specified scopes.

The argument can be either the following:

  • "Compilation": for the scopes compile and provided.
  • "Execution": for the scopes compile and runtime.
  • "TestCompilation": for the scopes test, compile and provided.
  • "TestExecution": for the scopes test, compile and runtime.
  • "<scope>": a single Maven scope.
  • "<scope>[|<scope>]*": multiple Maven scopes.
The returned resolution output object will only contain dependencies that have any of the specified scopes.
scopeThe scope to filter for. If null, the result contains no artifacts.
The filtered resolution output.