org.codehaus.mojo.properties
Class AbstractWritePropertiesMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by 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$
Author:
Zarar Siddiqi

Field Summary
protected  File outputFile
           
protected  org.apache.maven.project.MavenProject project
           
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractWritePropertiesMojo()
           
 
Method Summary
protected  void validateOutputFile()
           
protected  void writeProperties(Properties properties, File file)
           
 
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
 

Field Detail

project

protected org.apache.maven.project.MavenProject project

outputFile

protected File outputFile
Constructor Detail

AbstractWritePropertiesMojo

public AbstractWritePropertiesMojo()
Method Detail

writeProperties

protected void writeProperties(Properties properties,
                               File file)

validateOutputFile

protected void validateOutputFile()
                           throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException


Copyright © 2006. All Rights Reserved.