Package org.apache.maven.api
Interface Dependency
- All Superinterfaces:
- Artifact
- All Known Implementing Classes:
- DefaultDependency
- 
Method SummaryMethods inherited from interface org.apache.maven.api.ArtifactgetArtifactId, getClassifier, getExtension, getGroupId, getVersion, isSnapshot, key
- 
Method Details- 
getTypeThe dependency type.- Returns:
- the dependency type, never null
 
- 
getDependencyPropertiesThe dependency properties.- Returns:
- the dependency properties, never null
 
- 
getScope
- 
isOptionalboolean isOptional()
- 
toCoordinateCreates aDependencyCoordinatebased on thisDependency.- Specified by:
- toCoordinatein interface- Artifact
- Returns:
- a DependencyCoordinate
- See Also:
 
 
-