Package org.apache.maven.index.artifact
Interface ArtifactPackagingMapper
- All Known Implementing Classes:
- DefaultArtifactPackagingMapper
public interface ArtifactPackagingMapper
A utility component that resolves POM packaging to artifact extension. Different implementations may provide
 different means to do it.
- Author:
- cstamas
- 
Method SummaryModifier and TypeMethodDescriptiongetExtensionForPackaging(String packaging) Returns the extension belonging to given packaging, like "jar" for "jar", "jar" for "ear", etc.voidsetPropertiesFile(File file) Sets the file to source the user provided mappings from, and resets the mappings, forcing it to reload the file.
- 
Method Details- 
getExtensionForPackagingReturns the extension belonging to given packaging, like "jar" for "jar", "jar" for "ear", etc.- Parameters:
- packaging-
- Returns:
 
- 
setPropertiesFileSets the file to source the user provided mappings from, and resets the mappings, forcing it to reload the file.- Parameters:
- file-
 
 
-