Package org.apache.ivy.ant
Class IvyPublish
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.ivy.ant.IvyTask
org.apache.ivy.ant.IvyPublish
- All Implemented Interfaces:
Cloneable
This task allow to publish a module revision to an Ivy repository.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
class
-
Field Summary
Fields inherited from class org.apache.ivy.ant.IvyTask
ANT_PROJECT_CONTEXT_KEY
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addArtifactspattern
(String artifactsPattern) void
void
The real logic of task execution after project has been set in the context.Deprecated.boolean
boolean
boolean
isMerge()
boolean
boolean
boolean
boolean
isUpdate()
boolean
void
setArtifactspattern
(String artifactsPattern) void
void
void
setDeliverivypattern
(String destivypattern) Deprecated.usesetSrcivypattern(String)
instead.void
setDelivertarget
(String deliverTarget) void
setDeliveryList
(File deliveryList) void
setForcedeliver
(boolean b) void
setHaltonmissing
(boolean haltonmissing) void
setMerge
(boolean merge) void
void
setOrganisation
(String organisation) void
setOverwrite
(boolean overwrite) void
setPubbranch
(String pubBranch) void
setPubdate
(String pubdate) void
setPublishivy
(boolean publishivy) void
setPubrevision
(String pubRevision) void
setReplacedynamicrev
(boolean replacedynamicrev) void
setResolver
(String publishResolverName) void
setRevision
(String revision) void
setSrcivypattern
(String destivypattern) void
void
setUpdate
(boolean update) void
setWarnonmissing
(boolean warnonmissing) Methods inherited from class org.apache.ivy.ant.IvyTask
cacheAttributeNotSupported, doValidate, execute, finalizeTask, getIvyInstance, getProperty, getProperty, getProperty, getProperty, getPubDate, getResolvedConfigurations, getResolvedDescriptor, getResolvedDescriptor, getResolvedDescriptor, getResolvedDescriptor, getResolvedReport, getSettings, getSettingsRef, isValidate, mergeConfs, prepareTask, setResolved, setResolved, setSettingsRef, setValidate, splitConfs, toString
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
-
Constructor Details
-
IvyPublish
public IvyPublish()
-
-
Method Details
-
setCache
-
getSrcivypattern
-
setSrcivypattern
-
getDeliverivypattern
Deprecated.usegetSrcivypattern()
instead.- Returns:
- String
-
setDeliverivypattern
Deprecated.usesetSrcivypattern(String)
instead.- Parameters:
destivypattern
- String
-
getModule
-
setModule
-
getOrganisation
-
setOrganisation
-
getPubdate
-
setPubdate
-
getPubrevision
-
setPubrevision
-
getPubbranch
-
setPubbranch
-
getRevision
-
setRevision
-
getStatus
-
setStatus
-
setConf
-
setDelivertarget
-
setDeliveryList
-
getResolver
-
setResolver
-
getArtifactspattern
-
setArtifactspattern
-
addArtifactspattern
-
addConfiguredArtifacts
-
isReplacedynamicrev
public boolean isReplacedynamicrev() -
setReplacedynamicrev
public void setReplacedynamicrev(boolean replacedynamicrev) -
isMerge
public boolean isMerge() -
setMerge
public void setMerge(boolean merge) -
doExecute
public void doExecute() throws org.apache.tools.ant.BuildExceptionDescription copied from class:IvyTask
The real logic of task execution after project has been set in the context. MUST be implemented by subclasses -
createArtifact
-
isPublishivy
public boolean isPublishivy() -
setPublishivy
public void setPublishivy(boolean publishivy) -
isWarnonmissing
public boolean isWarnonmissing() -
setWarnonmissing
public void setWarnonmissing(boolean warnonmissing) -
isHaltonmissing
public boolean isHaltonmissing() -
setHaltonmissing
public void setHaltonmissing(boolean haltonmissing) -
isOverwrite
public boolean isOverwrite() -
setOverwrite
public void setOverwrite(boolean overwrite) -
setForcedeliver
public void setForcedeliver(boolean b) -
isForcedeliver
public boolean isForcedeliver() -
isUpdate
public boolean isUpdate() -
setUpdate
public void setUpdate(boolean update)
-
getSrcivypattern()
instead.