org.apache.maven.artifact.transform
Class LatestArtifactTransformation

java.lang.Object
  extended by org.codehaus.plexus.logging.AbstractLogEnabled
      extended by org.apache.maven.artifact.transform.AbstractVersionTransformation
          extended by org.apache.maven.artifact.transform.LatestArtifactTransformation
All Implemented Interfaces:
ArtifactTransformation, org.codehaus.plexus.logging.LogEnabled

public class LatestArtifactTransformation
extends AbstractVersionTransformation


Field Summary
 
Fields inherited from class org.apache.maven.artifact.transform.AbstractVersionTransformation
repositoryMetadataManager, wagonManager
 
Fields inherited from interface org.apache.maven.artifact.transform.ArtifactTransformation
ROLE
 
Constructor Summary
LatestArtifactTransformation()
           
 
Method Summary
protected  String constructVersion(Versioning versioning, String baseVersion)
           
 void transformForDeployment(Artifact artifact, ArtifactRepository remoteRepository, ArtifactRepository localRepository)
           
 void transformForInstall(Artifact artifact, ArtifactRepository localRepository)
           
 void transformForResolve(Artifact artifact, List remoteRepositories, ArtifactRepository localRepository)
           
 
Methods inherited from class org.apache.maven.artifact.transform.AbstractVersionTransformation
resolveVersion
 
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LatestArtifactTransformation

public LatestArtifactTransformation()
Method Detail

transformForResolve

public void transformForResolve(Artifact artifact,
                                List remoteRepositories,
                                ArtifactRepository localRepository)
                         throws ArtifactResolutionException,
                                ArtifactNotFoundException
Throws:
ArtifactResolutionException
ArtifactNotFoundException

transformForInstall

public void transformForInstall(Artifact artifact,
                                ArtifactRepository localRepository)

transformForDeployment

public void transformForDeployment(Artifact artifact,
                                   ArtifactRepository remoteRepository,
                                   ArtifactRepository localRepository)

constructVersion

protected String constructVersion(Versioning versioning,
                                  String baseVersion)
Specified by:
constructVersion in class AbstractVersionTransformation


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.