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