|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.maven.artifact.ant.WritePomTask
public class WritePomTask
Write a POM to a file.
| 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 | |
|---|---|
WritePomTask()
|
|
| Method Summary | |
|---|---|
void |
execute()
|
File |
getFile()
|
String |
getPomRefId()
|
boolean |
isTrim()
|
void |
setFile(File file)
|
void |
setPomRefId(String pomRefId)
|
void |
setTrim(boolean trim)
|
void |
trimModel(org.apache.maven.model.Model model)
Removes a lot of unnecessary information from the POM. |
void |
writeModel(org.apache.maven.model.Model model,
File outputFile)
Write a POM model to a file |
| 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 |
|---|
public WritePomTask()
| Method Detail |
|---|
public void execute()
execute in class org.apache.tools.ant.Taskpublic void trimModel(org.apache.maven.model.Model model)
public void writeModel(org.apache.maven.model.Model model,
File outputFile)
throws org.apache.tools.ant.BuildException
model -
MojoExecutionException
org.apache.tools.ant.BuildExceptionpublic void setPomRefId(String pomRefId)
public String getPomRefId()
public void setFile(File file)
public File getFile()
public void setTrim(boolean trim)
public boolean isTrim()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||