org.apache.maven.repository
Interface ArtifactTypeHandler

All Known Implementing Classes:
DefaultArtifactTypeHandler

public interface ArtifactTypeHandler

This will do until wagon debuts.

Version:
$Id: ArtifactTypeHandler.java,v 1.1.2.1 2004/06/23 13:00:37 brett Exp $
Author:
Brett Porter

Method Summary
 java.lang.String constructRepositoryDirectoryPath(java.lang.String type, Project project)
          Map an artifact to a repository directory path.
 java.lang.String constructRepositoryFullPath(java.lang.String type, Project project, java.lang.String version)
          Map an artifact to a repository path.
 

Method Detail

constructRepositoryFullPath

public java.lang.String constructRepositoryFullPath(java.lang.String type,
                                                    Project project,
                                                    java.lang.String version)
                                             throws MavenException
Map an artifact to a repository path.

Parameters:
project - the project for the artifact
type - The type of the artifact
version - The version of the artifact
Returns:
the path
Throws:
MavenException

constructRepositoryDirectoryPath

public java.lang.String constructRepositoryDirectoryPath(java.lang.String type,
                                                         Project project)
                                                  throws MavenException
Map an artifact to a repository directory path.

Parameters:
project - the project for the artifact
type - The type of the artifact
Returns:
the path
Throws:
MavenException


Copyright © 2001-2005 Apache Software Foundation. All Rights Reserved.