org.apache.maven.dist
Class DistributionArtifactTypeHandler
java.lang.Object
org.apache.maven.dist.DistributionArtifactTypeHandler
- All Implemented Interfaces:
- org.apache.maven.repository.ArtifactTypeHandler
- public class DistributionArtifactTypeHandler
- extends Object
- implements org.apache.maven.repository.ArtifactTypeHandler
This will do until wagon debuts.
- Version:
- $Id: DistributionArtifactTypeHandler.java 532339 2007-04-25 12:28:56Z ltheussl $
- Author:
- Brett Porter
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DistributionArtifactTypeHandler
public DistributionArtifactTypeHandler()
constructRepositoryDirectoryPath
public String constructRepositoryDirectoryPath(String type,
org.apache.maven.project.Project project)
throws org.apache.maven.MavenException
- Map an artifact to a repository directory path.
- Specified by:
constructRepositoryDirectoryPath in interface org.apache.maven.repository.ArtifactTypeHandler
- Parameters:
project - the project for the artifacttype - The type of the artifact
- Returns:
- the path
- Throws:
org.apache.maven.MavenException - MavenException
constructRepositoryFullPath
public String constructRepositoryFullPath(String type,
org.apache.maven.project.Project project,
String version)
throws org.apache.maven.MavenException
- Map an artifact to a repository path.
- Specified by:
constructRepositoryFullPath in interface org.apache.maven.repository.ArtifactTypeHandler
- Parameters:
project - the project for the artifacttype - The type of the artifactversion - The version of the artifact (may be a snapshot)
- Returns:
- the path
- Throws:
org.apache.maven.MavenException - MavenException
Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.