org.apache.maven.artifact.ant
Class DeployTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.apache.maven.artifact.ant.AbstractArtifactTask
              extended by org.apache.maven.artifact.ant.InstallDeployTaskSupport
                  extended by org.apache.maven.artifact.ant.DeployTask
All Implemented Interfaces:
java.lang.Cloneable

public class DeployTask
extends InstallDeployTaskSupport

Deploy task, using maven-artifact.

Version:
$Id: DeployTask.java 524632 2007-04-01 17:05:24Z jvanzyl $
Author:
Brett Porter

Field Summary
private  RemoteRepository remoteRepository
           
private  RemoteRepository remoteSnapshotRepository
           
 
Fields inherited from class org.apache.maven.artifact.ant.InstallDeployTaskSupport
attachedArtifacts, file
 
Fields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
 
Constructor Summary
DeployTask()
           
 
Method Summary
 void addRemoteRepository(RemoteRepository remoteRepository)
           
 void addRemoteSnapshotRepository(RemoteRepository remoteSnapshotRepository)
           
protected  void doExecute()
           
 RemoteRepository getRemoteRepository()
           
 
Methods inherited from class org.apache.maven.artifact.ant.InstallDeployTaskSupport
createArtifactFromAttached, createAttach, getFile, setFile
 
Methods inherited from class org.apache.maven.artifact.ant.AbstractArtifactTask
addLocalRepository, addPom, buildPom, createAntRemoteRepository, createAntRemoteRepositoryBase, createArtifact, createDummyPom, createLocalArtifactRepository, createRemoteArtifactRepository, diagnoseError, execute, getContainer, getDefaultLocalRepository, getLocalRepository, getPomRefId, getSettings, getSupportedProtocols, getSupportedProtocolsAsString, lookup, lookup, setPomRefId, setProfiles, setSettingsFile
 
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

remoteRepository

private RemoteRepository remoteRepository

remoteSnapshotRepository

private RemoteRepository remoteSnapshotRepository
Constructor Detail

DeployTask

public DeployTask()
Method Detail

doExecute

protected void doExecute()
Specified by:
doExecute in class AbstractArtifactTask

getRemoteRepository

public RemoteRepository getRemoteRepository()

addRemoteSnapshotRepository

public void addRemoteSnapshotRepository(RemoteRepository remoteSnapshotRepository)

addRemoteRepository

public void addRemoteRepository(RemoteRepository remoteRepository)