Interface MavenDependency
- All Superinterfaces:
MavenArtifact
- All Known Implementing Classes:
ImmutableMavenDependency
,MavenDependencyBean
Representation of a Maven dependency.
- Since:
- 3.3.1
- Author:
- Ashley Scopes
-
Method Summary
Modifier and TypeMethodDescription@Nullable DependencyResolutionDepth
Get the preferences for the depth of dependency resolution.Get a set of dependency exclusions to apply when resolving dependencies.Methods inherited from interface io.github.ascopes.protobufmavenplugin.dependencies.MavenArtifact
getArtifactId, getClassifier, getGroupId, getType, getVersion
-
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.
-