org.codehaus.mojo.properties
Class AbstractWritePropertiesMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.properties.AbstractWritePropertiesMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
- WriteActiveProfileProperties, WriteProjectProperties
public abstract class AbstractWritePropertiesMojo
- extends org.apache.maven.plugin.AbstractMojo
- Version:
- $Id: AbstractWritePropertiesMojo.java 4588 2007-07-18 21:11:31Z arsenalist $
- Author:
- Zarar Siddiqi
Field Summary |
protected java.io.File |
outputFile
The properties file that will be used when writing properties. |
protected org.apache.maven.project.MavenProject |
project
|
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.maven.plugin.Mojo |
execute |
project
protected org.apache.maven.project.MavenProject project
outputFile
protected java.io.File outputFile
- The properties file that will be used when writing properties.
AbstractWritePropertiesMojo
public AbstractWritePropertiesMojo()
writeProperties
protected void writeProperties(java.util.Properties properties,
java.io.File file)
validateOutputFile
protected void validateOutputFile()
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
Copyright © 2006-2009. All Rights Reserved.