Package org.apache.maven.api
Interface Dependency
- All Superinterfaces:
Artifact
- All Known Implementing Classes:
DefaultDependency
-
Method Summary
Methods inherited from interface org.apache.maven.api.Artifact
getArtifactId, getClassifier, getExtension, getGroupId, getVersion, isSnapshot, key
-
Method Details
-
getType
The dependency type.- Returns:
- the dependency type, never
null
-
getScope
-
isOptional
boolean isOptional() -
toCoordinate
Creates aDependencyCoordinate
based on thisDependency
.- Specified by:
toCoordinate
in interfaceArtifact
- Returns:
- a
DependencyCoordinate
- See Also:
-