Interface DependencyCoordinates
- All Superinterfaces:
ArtifactCoordinates
- All Known Implementing Classes:
DefaultDependencyCoordinates
ArtifactCoordinates
completed with information about how the artifact will be used.
This information includes the dependency type (main classes, test classes, etc.),
a scope (compile, runtime etc.), an obligation (whether the dependency
is optional or mandatory), and possible exclusions for transitive dependencies.
The version and the obligation
may not be defined precisely.- Since:
- 4.0.0
-
Method Summary
Methods inherited from interface org.apache.maven.api.ArtifactCoordinates
getArtifactId, getClassifier, getExtension, getGroupId, getId, getVersionConstraint
-
Method Details
-
getType
-
getScope
Returns the time at which the dependency will be used. It may be, for example, at compile time only, at run time, or at test time.- Returns:
- the time at which the dependency will be used
-
getOptional
-
getExclusions
Returns transitive dependencies to exclude.- Returns:
- transitive dependencies to exclude
-