Class WriteFileMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
de.eitco.commons.build.essentials.WriteFileMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="write-file",
requiresProject=false)
public class WriteFileMojo
extends org.apache.maven.plugin.AbstractMojo
-
Field Summary
FieldsFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
targetFile
-
append
@Parameter(defaultValue="false", property="append.file") public boolean append -
skip
@Parameter(defaultValue="false", property="build.essentials.skip") public boolean skip -
-
-
Constructor Details
-
WriteFileMojo
public WriteFileMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-