org.jvnet.maven.plugin.antrun
Class ResolveArtifactTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.jvnet.maven.plugin.antrun.ResolveArtifactTask
All Implemented Interfaces:
Cloneable

public class ResolveArtifactTask
extends org.apache.tools.ant.Task

Ant task that resolves an artifact through Maven.

Author:
Paul Sterk, Kohsuke Kawaguchi

Field Summary
 
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
ResolveArtifactTask()
           
 
Method Summary
 void execute()
           
 void setArtifactId(String artifactId)
           
 void setClassifier(String classifier)
           
 void setGroupId(String groupId)
           
 void setProperty(String property)
           
 void setTodir(File target)
          The directory name to copy the artifact to.
 void setTofile(File target)
          The file name to copy the artifact to.
 void setType(String type)
           
 void setVersion(String version)
           
 
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

ResolveArtifactTask

public ResolveArtifactTask()
Method Detail

setProperty

public void setProperty(String property)

setGroupId

public void setGroupId(String groupId)

setArtifactId

public void setArtifactId(String artifactId)

setVersion

public void setVersion(String version)

setType

public void setType(String type)

setClassifier

public void setClassifier(String classifier)

setTofile

public void setTofile(File target)
The file name to copy the artifact to. Optional. The name is


setTodir

public void setTodir(File target)
The directory name to copy the artifact to. Optional.


execute

public void execute()
             throws org.apache.tools.ant.BuildException
Overrides:
execute in class org.apache.tools.ant.Task
Throws:
org.apache.tools.ant.BuildException


Copyright © 2011. All Rights Reserved.