Interface MavenDependency

All Superinterfaces:
MavenArtifact
All Known Implementing Classes:
ImmutableMavenDependency, MavenDependencyBean

@Immutable @Modifiable public interface MavenDependency extends MavenArtifact
Representation of a Maven dependency.
Since:
3.3.1
Author:
Ashley Scopes
  • Method Details

    • getDependencyResolutionDepth

      @Nullable DependencyResolutionDepth getDependencyResolutionDepth()
      Get the preferences for the depth of dependency resolution.

      May be null if the default should be used.

      Returns:
      the preference for the depth of dependency resolution.
    • getExclusions

      Set<MavenExclusionBean> getExclusions()
      Get a set of dependency exclusions to apply when resolving dependencies.
      Returns:
      the exclusions, which by default is empty if unspecified.