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 Summary
 String getExtensionForPackaging(String packaging)
          Returns the extension belonging to given packaging, like "jar" for "jar", "jar" for "ear", etc.
 void setPropertiesFile(File file)
          Sets the file to source the user provided mappings from, and resets the mappings, forcing it to reload the file.
 

Method Detail

getExtensionForPackaging

String getExtensionForPackaging(String packaging)
Returns the extension belonging to given packaging, like "jar" for "jar", "jar" for "ear", etc.

Parameters:
packaging -
Returns:

setPropertiesFile

void setPropertiesFile(File file)
Sets the file to source the user provided mappings from, and resets the mappings, forcing it to reload the file.

Parameters:
file -


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.