org.apache.maven.artifact.transform
Class AbstractVersionTransformation

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

public abstract class AbstractVersionTransformation
extends org.codehaus.plexus.logging.AbstractLogEnabled
implements ArtifactTransformation

Describes a version transformation during artifact resolution.

Version:
$Id: AbstractVersionTransformation.java 767322 2009-04-21 22:52:54Z jdcasey $
Author:
Brett Porter

Field Summary
protected  RepositoryMetadataManager repositoryMetadataManager
           
protected  WagonManager wagonManager
           
 
Fields inherited from interface org.apache.maven.artifact.transform.ArtifactTransformation
ROLE
 
Constructor Summary
AbstractVersionTransformation()
           
 
Method Summary
protected abstract  String constructVersion(Versioning versioning, String baseVersion)
           
protected  String resolveVersion(Artifact artifact, ArtifactRepository localRepository, List<ArtifactRepository> remoteRepositories)
           
 
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
 
Methods inherited from interface org.apache.maven.artifact.transform.ArtifactTransformation
transformForDeployment, transformForInstall, transformForResolve
 

Field Detail

repositoryMetadataManager

protected RepositoryMetadataManager repositoryMetadataManager

wagonManager

protected WagonManager wagonManager
Constructor Detail

AbstractVersionTransformation

public AbstractVersionTransformation()
Method Detail

resolveVersion

protected String resolveVersion(Artifact artifact,
                                ArtifactRepository localRepository,
                                List<ArtifactRepository> remoteRepositories)
                         throws RepositoryMetadataResolutionException
Throws:
RepositoryMetadataResolutionException

constructVersion

protected abstract String constructVersion(Versioning versioning,
                                           String baseVersion)


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