public class AttachArtifactTask
extends org.apache.tools.ant.Task
| Constructor and Description |
|---|
AttachArtifactTask() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
void |
setClassifier(String classifier)
Optional classifier.
|
void |
setFile(File file)
The file to be treated as an artifact.
|
void |
setTarget(String artifactKey)
Deprecated.
since 2.0 Attach now only works on the current
MavenProject |
void |
setType(String type)
Artifact type.
|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypepublic void setFile(File file)
public void setClassifier(String classifier)
@Deprecated public void setTarget(String artifactKey)
MavenProjectAntBuildMojo.getProject()public void setType(String type)
public void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildExceptionCopyright © 2016 Nuxeo SA. All Rights Reserved.