org.codehaus.mojo.properties
Class AbstractWritePropertiesMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.properties.AbstractWritePropertiesMojo
- All Implemented Interfaces:
- ContextEnabled, Mojo
- Direct Known Subclasses:
- WriteActiveProfileProperties, WriteProjectProperties
public abstract class AbstractWritePropertiesMojo
- extends AbstractMojo
- Version:
- $Id: AbstractWritePropertiesMojo.java 8861 2009-01-21 15:35:38Z pgier $
- Author:
- Zarar Siddiqi
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| 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 MavenProject project
- Is defined by:
- default-value:
- ${project}
- Is readonly.
- Is required.
outputFile
protected File outputFile
- The properties file that will be used when writing properties.
- Is defined by:
- Is required.
AbstractWritePropertiesMojo
public AbstractWritePropertiesMojo()
writeProperties
protected void writeProperties(Properties properties,
File file)
throws MojoExecutionException
- Throws:
MojoExecutionException
validateOutputFile
protected void validateOutputFile()
throws MojoExecutionException
- Throws:
MojoExecutionException
Copyright © 2006-2009 Codehaus. All Rights Reserved.