{
typeToDirectoryMap = new HashMap<String, String>();
typeToDirectoryMap.put( "ejb-client", "ejb" );
- typeToDirectoryMap.put( ArtifactExtensionMapping.MAVEN_PLUGIN, "maven-plugin" );
typeToDirectoryMap.put( ArtifactExtensionMapping.MAVEN_ONE_PLUGIN, "plugin" );
typeToDirectoryMap.put( "distribution-tgz", "distribution" );
typeToDirectoryMap.put( "distribution-zip", "distribution" );
StringBuffer path = new StringBuffer();
path.append( groupId ).append( PATH_SEPARATOR );
- path.append( getDirectory( classifier, type ) ).append( PATH_SEPARATOR );
+ path.append( getDirectory( type ) ).append( PATH_SEPARATOR );
if ( version != null )
{
return path.toString();
}
- private String getDirectory( String classifier, String type )
+ private String getDirectory( String type )
{
- String dirname = (String) typeToDirectoryMap.get( type );
+ String dirname = typeToDirectoryMap.get( type );
if ( dirname != null )
{