org.apache.maven.ejb
Class EJBArtifactTypeHandler

java.lang.Object
  extended byorg.apache.maven.ejb.EJBArtifactTypeHandler
All Implemented Interfaces:
org.apache.maven.repository.ArtifactTypeHandler

public class EJBArtifactTypeHandler
extends Object
implements org.apache.maven.repository.ArtifactTypeHandler

This will do until wagon debuts.

Version:
$Id: EJBArtifactTypeHandler.java 533617 2007-04-30 07:41:05Z ltheussl $
Author:
H?vard Bj?stad,
Constructor Summary
EJBArtifactTypeHandler()
           
 
Method Summary
 String constructRepositoryDirectoryPath(String type, org.apache.maven.project.Project project)
          Map an artifact to a repository directory path.
 String constructRepositoryFullPath(String type, org.apache.maven.project.Project project, String version)
          Map an artifact to a repository path.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EJBArtifactTypeHandler

public EJBArtifactTypeHandler()
Method Detail

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 artifact
type - The type of the artifact
Returns:
the path
Throws:
org.apache.maven.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 artifact
type - The type of the artifact
version - The version of the artifact (may be a snapshot)
Returns:
the path
Throws:
org.apache.maven.MavenException


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