org.apache.maven.artifact.ant
Class InstallDeployTaskSupport

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
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
DeployTask, InstallTask

public abstract class InstallDeployTaskSupport
extends AbstractArtifactTask

Support for install/deploy tasks.

Version:
$Id: InstallDeployTaskSupport.html 806929 2012-03-01 18:57:40Z hboutemy $
Author:
Jason Dillon

Field Summary
protected  List<AttachedArtifact> attachedArtifacts
          Additional attached artifacts to install/deploy
protected  File file
          The file to install/deploy.
 
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
InstallDeployTaskSupport()
           
 
Method Summary
 AttachedArtifact createAttach()
           
 File getFile()
           
 Pom initializePom(org.apache.maven.artifact.repository.ArtifactRepository localArtifactRepository)
          Tries to initialize the pom.
 void setFile(File file)
           
 
Methods inherited from class org.apache.maven.artifact.ant.AbstractArtifactTask
addLocalRepository, addPom, createAntRemoteRepository, createAntRemoteRepositoryBase, createDummyArtifact, createDummyPom, createLocalArtifactRepository, createMinimalProject, createRemoteArtifactRepository, diagnoseError, doExecute, 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
 

Field Detail

file

protected File file
The file to install/deploy.


attachedArtifacts

protected List<AttachedArtifact> attachedArtifacts
Additional attached artifacts to install/deploy

Constructor Detail

InstallDeployTaskSupport

public InstallDeployTaskSupport()
Method Detail

getFile

public File getFile()

setFile

public void setFile(File file)

initializePom

public Pom initializePom(org.apache.maven.artifact.repository.ArtifactRepository localArtifactRepository)
Description copied from class: AbstractArtifactTask
Tries to initialize the pom. If no pom has been configured, returns null.

Overrides:
initializePom in class AbstractArtifactTask
Returns:
An initialized pom or null.

createAttach

public AttachedArtifact createAttach()


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