Interface ArtifactHandler
- All Known Implementing Classes:
- DefaultArtifactHandler
public interface ArtifactHandler
An artifact handler contains information explaining how an artifact plugs into the Maven build:
- Information needed to find the artifact file in a repository including extension and classifier
- Information on how to use the artifact as a dependency: whether to add it to the classpath, whether to load its dependencies transitively
- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptionReturns the default classifier used if a different one is not set in pom.xml.Returns the file name extension of the artifact; e.g.booleanboolean
- 
Field Details- 
ROLEDeprecated.
 
- 
- 
Method Details- 
getExtensionString getExtension()Returns the file name extension of the artifact; e.g. "jar", "pom", "xml", etc.- Returns:
- the file extension
 
- 
getDirectoryString getDirectory()
- 
getClassifierString getClassifier()Returns the default classifier used if a different one is not set in pom.xml.- Returns:
- the classifier
 
- 
getPackagingString getPackaging()
- 
isIncludesDependenciesboolean isIncludesDependencies()
- 
getLanguageString getLanguage()
- 
isAddedToClasspathboolean isAddedToClasspath()
 
-