org.apache.maven.artifact.transform

Interface ArtifactTransformation

public interface ArtifactTransformation

Version: $Id: ArtifactTransformation.java,v 1.1 2005/03/03 15:37:25 jvanzyl Exp $

Author: Jason van Zyl

Field Summary
StringROLE
Method Summary
voidtransformForDeployment(Artifact artifact, ArtifactRepository remoteRepository, ArtifactRepository localRepository)
Take in a artifact and return the transformed artifact for distributing toa remote repository.
voidtransformForInstall(Artifact artifact, ArtifactRepository localRepository)
Take in a artifact and return the transformed artifact for locating in the local repository.
voidtransformForResolve(Artifact artifact, List remoteRepositories, ArtifactRepository localRepository)
Take in a artifact and return the transformed artifact for locating in the remote repository.

Field Detail

ROLE

public String ROLE

Method Detail

transformForDeployment

public void transformForDeployment(Artifact artifact, ArtifactRepository remoteRepository, ArtifactRepository localRepository)
Take in a artifact and return the transformed artifact for distributing toa remote repository. If no transformation has occured the original artifact is returned.

Parameters: artifact Artifact to be transformed. remoteRepository the repository to deploy to localRepository the local repository

transformForInstall

public void transformForInstall(Artifact artifact, ArtifactRepository localRepository)
Take in a artifact and return the transformed artifact for locating in the local repository. If no transformation has occured the original artifact is returned.

Parameters: artifact Artifact to be transformed. localRepository the local repository it will be stored in

transformForResolve

public void transformForResolve(Artifact artifact, List remoteRepositories, ArtifactRepository localRepository)
Take in a artifact and return the transformed artifact for locating in the remote repository. If no transformation has occured the original artifact is returned.

Parameters: artifact Artifact to be transformed. remoteRepositories the repositories to check localRepository the local repository

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