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:
Cloneable

public class DeployTask
extends InstallDeployTaskSupport

Deploy task, using maven-artifact.

Version:
$Id: DeployTask.html 806929 2012-03-01 18:57:40Z hboutemy $
Author:
Brett Porter

Field Summary
 
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  org.apache.maven.artifact.repository.ArtifactRepository createDeploymentArtifactRepository(RemoteRepository repository)
          Create a core-Maven deployment ArtifactRepository from a Maven Ant Tasks's RemoteRepository definition.
protected  void doExecute()
          The main entry point for the task.
 RemoteRepository getRemoteRepository()
           
 boolean getUniqueVersion()
           
 void setUniqueVersion(boolean uniqueVersion)
           
 
Methods inherited from class org.apache.maven.artifact.ant.InstallDeployTaskSupport
createAttach, getFile, initializePom, setFile
 
Methods inherited from class org.apache.maven.artifact.ant.AbstractArtifactTask
addLocalRepository, addPom, createAntRemoteRepository, createAntRemoteRepositoryBase, createDummyArtifact, createDummyPom, createLocalArtifactRepository, createMinimalProject, createRemoteArtifactRepository, diagnoseError, execute, getAntReactorPoms, getArtifactRepositoryFactory, getContainer, getDefaultLocalRepository, getLocalRepository, getPom, getPomRefId, getProfileManager, getSettings, getSupportedProtocols, getSupportedProtocolsAsString, lookup, lookup, releaseArtifactRepositoryFactory, setPomRefId, setProfiles, setSettingsFile, showVersion, updateRepositoryWithSettings
 
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
 

Constructor Detail

DeployTask

public DeployTask()
Method Detail

createDeploymentArtifactRepository

protected org.apache.maven.artifact.repository.ArtifactRepository createDeploymentArtifactRepository(RemoteRepository repository)
Create a core-Maven deployment ArtifactRepository from a Maven Ant Tasks's RemoteRepository definition.

Parameters:
repository - the remote repository as defined in Ant
Returns:
the corresponding ArtifactRepository

doExecute

protected void doExecute()
Description copied from class: AbstractArtifactTask
The main entry point for the task.

Specified by:
doExecute in class AbstractArtifactTask

getRemoteRepository

public RemoteRepository getRemoteRepository()

addRemoteSnapshotRepository

public void addRemoteSnapshotRepository(RemoteRepository remoteSnapshotRepository)

addRemoteRepository

public void addRemoteRepository(RemoteRepository remoteRepository)

setUniqueVersion

public void setUniqueVersion(boolean uniqueVersion)

getUniqueVersion

public boolean getUniqueVersion()


Copyright © 2002-2011 The Apache Software Foundation. All Rights Reserved.