org.apache.maven.repository
Interface ArtifactTypeHandler

All Known Implementing Classes:
DefaultArtifactTypeHandler

public interface ArtifactTypeHandler

This will do until wagon debuts.

Version:
$Id: ArtifactTypeHandler.java 517014 2007-03-11 21:15:50Z ltheussl $
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-2008 Apache Software Foundation. All Rights Reserved.