Save This Page
Home » maven-ant-tasks-2.1.0-src » org.apache » maven » artifact » ant » [javadoc | source]
public class: WritePomTask [javadoc | source]

All Implemented Interfaces:

Write a POM to a file.
Fields inherited from
target,  taskName,  taskType,  wrapper
Fields inherited from
project,  location,  description
Method from org.apache.maven.artifact.ant.WritePomTask Summary:
execute,   getFile,   getPomRefId,   isTrim,   setFile,   setPomRefId,   setTrim,   trimModel,   writeModel
Methods from
bindToOwner,   execute,   getOwningTarget,   getRuntimeConfigurableWrapper,   getTaskName,   getTaskType,   getWrapper,   handleErrorFlush,   handleErrorOutput,   handleFlush,   handleInput,   handleOutput,   init,   isInvalid,   log,   log,   log,   log,   markInvalid,   maybeConfigure,   perform,   reconfigure,   setOwningTarget,   setRuntimeConfigurableWrapper,   setTaskName,   setTaskType
Methods from
clone,   getDescription,   getLocation,   getProject,   log,   log,   setDescription,   setLocation,   setProject
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.maven.artifact.ant.WritePomTask Detail:
 public  void execute() 
 public File getFile() 
 public String getPomRefId() 
 public boolean isTrim() 
 public  void setFile(File file) 
 public  void setPomRefId(String pomRefId) 
 public  void setTrim(boolean trim) 
 public  void trimModel(Model model) 
    Removes a lot of unnecessary information from the POM. This includes the build section, reporting, repositories, etc.
 public  void writeModel(Model model,
    File outputFile) throws BuildException 
    Write a POM model to a file