org.codehaus.mojo.properties
Class WriteProjectProperties

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.properties.AbstractWritePropertiesMojo
          extended by org.codehaus.mojo.properties.WriteProjectProperties
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class WriteProjectProperties
extends AbstractWritePropertiesMojo

Writes project properties to a file.

Version:
$Id: WriteProjectProperties.java 9747 2009-05-20 13:27:44Z mark $
Author:
Zarar Siddiqi

Field Summary
 
Fields inherited from class org.codehaus.mojo.properties.AbstractWritePropertiesMojo
outputFile, project
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
WriteProjectProperties()
           
 
Method Summary
protected  void createSorted(File file, Properties properties)
           
 void execute()
           
 boolean isWriteSorted()
           
 void setWriteSorted(boolean writeSorted)
           
 
Methods inherited from class org.codehaus.mojo.properties.AbstractWritePropertiesMojo
validateOutputFile, writeProperties
 
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
 

Constructor Detail

WriteProjectProperties

public WriteProjectProperties()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException

createSorted

protected void createSorted(File file,
                            Properties properties)
                     throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

isWriteSorted

public boolean isWriteSorted()

setWriteSorted

public void setWriteSorted(boolean writeSorted)


Copyright © 2009-2012 The Kuali Foundation. All Rights Reserved.