Save This Page
Home » maven-ant-tasks-2.1.0-src » org.apache » maven » artifact » ant » [javadoc | source]
org.apache.maven.artifact.ant
abstract public class: AbstractArtifactTask [javadoc | source]
java.lang.Object
   org.apache.tools.ant.ProjectComponent
      org.apache.tools.ant.Task
         org.apache.maven.artifact.ant.AbstractArtifactTask

All Implemented Interfaces:
    Cloneable

Direct Known Subclasses:
    InstallWagonProviderTask, Pom, AbstractArtifactWithRepositoryTask, DeployTask, InstallDeployTaskSupport, InstallTask, DependenciesTask

Base class for artifact tasks.
Fields inherited from org.apache.tools.ant.Task:
target,  taskName,  taskType,  wrapper
Fields inherited from org.apache.tools.ant.ProjectComponent:
project,  location,  description
Method from org.apache.maven.artifact.ant.AbstractArtifactTask Summary:
addLocalRepository,   addPom,   createAntRemoteRepository,   createAntRemoteRepositoryBase,   createDummyArtifact,   createDummyPom,   createLocalArtifactRepository,   createMinimalProject,   createRemoteArtifactRepository,   diagnoseError,   doExecute,   execute,   getArtifactRepositoryFactory,   getContainer,   getDefaultLocalRepository,   getLocalRepository,   getPom,   getPomRefId,   getProfileManager,   getSettings,   getSupportedProtocols,   getSupportedProtocolsAsString,   initializePom,   isExternalRepo,   lookup,   lookup,   matchPattern,   releaseArtifactRepositoryFactory,   setPomRefId,   setProfiles,   setSettingsFile,   showVersion,   updateRepositoryWithSettings
Methods from org.apache.tools.ant.Task:
bindToOwner,   execute,   getOwningTarget,   getRuntimeConfigurableWrapper,   getTaskName,   getTaskType,   getWrapper,   handleErrorFlush,   handleErrorOutput,   handleFlush,   handleInput,   handleOutput,   init,   isInvalid,   log,   log,   log,   log,   markInvalid,   maybeConfigure,   perform,   reconfigure,   setOwningTarget,   setRuntimeConfigurableWrapper,   setTaskName,   setTaskType
Methods from org.apache.tools.ant.ProjectComponent:
clone,   getDescription,   getLocation,   getProject,   log,   log,   setDescription,   setLocation,   setProject
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.maven.artifact.ant.AbstractArtifactTask Detail:
 public  void addLocalRepository(LocalRepository localRepository) 
 public  void addPom(Pom pom) 
 protected RemoteRepository createAntRemoteRepository(Repository pomRepository) 
 protected RemoteRepository createAntRemoteRepositoryBase(RepositoryBase pomRepository) 
 protected Artifact createDummyArtifact() 
 protected Pom createDummyPom(ArtifactRepository localRepository) 
 protected ArtifactRepository createLocalArtifactRepository() 
 protected MavenProject createMinimalProject(ArtifactRepository localRepository) 
    Create a minimal project when no POM is available.
 protected ArtifactRepository createRemoteArtifactRepository(RemoteRepository repository) 
    Create a core-Maven ArtifactRepository from a Maven Ant Tasks's RemoteRepository definition.
 public  void diagnoseError(Throwable error) 
 abstract protected  void doExecute()
    The main entry point for the task.
 public  void execute() 
 protected ArtifactRepositoryFactory getArtifactRepositoryFactory(RemoteRepository repository) 
    Create a core-Maven ArtifactRepositoryFactory from a Maven Ant Tasks's RemoteRepository definition, eventually configured with authentication and proxy information.
 protected synchronized PlexusContainer getContainer() 
 protected LocalRepository getDefaultLocalRepository() 
 public LocalRepository getLocalRepository() 
 public Pom getPom() 
    Try to get the POM from the nested pom element or a pomRefId
 public String getPomRefId() 
 protected ProfileManager getProfileManager() 
 protected synchronized Settings getSettings() 
 public String[] getSupportedProtocols() 
 public String getSupportedProtocolsAsString() 
 public Pom initializePom(ArtifactRepository localArtifactRepository) 
    Tries to initialize the pom. If no pom has been configured, returns null.
 boolean isExternalRepo(RemoteRepository originalRepository) 
    Checks the URL to see if this repository refers to an external repository
 protected Object lookup(String role) 
 protected Object lookup(String role,
    String roleHint) 
 boolean matchPattern(RemoteRepository originalRepository,
    String pattern) 
    This method checks if the pattern matches the originalRepository. Valid patterns: * = everything external:* = everything not on the localhost and not file based. repo,repo1 = repo or repo1 *,!repo1 = everything except repo1
 protected  void releaseArtifactRepositoryFactory(ArtifactRepositoryFactory repositoryFactory) 
 public  void setPomRefId(String pomRefId) 
 public  void setProfiles(String profiles) 
 public  void setSettingsFile(File settingsFile) 
 protected  void showVersion() 
    Log the current version of the ant-tasks to the verbose output.
 protected  void updateRepositoryWithSettings(RemoteRepository repository)