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

Write project properties to a file.

Author:
Jeff Caddel

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
WriteProjectProperties()
           
 
Method Summary
 void execute()
           
 String getExclude()
           
 String getInclude()
           
 List<String> getIncludes()
           
protected  List<String> getKeys(Properties properties, List<String> keys)
           
protected  List<String> getList(List<String> list, String csv)
           
protected  Properties getResolvedProperties(Properties props)
           
 boolean isIncludeEnvironmentVariables()
           
 boolean isIncludeStandardMavenProperties()
           
 boolean isIncludeSystemProperties()
           
 boolean isResolvePlaceholders()
           
protected  void override(Properties properties, List<String> includes)
           
 void setExclude(String exclude)
           
 void setInclude(String include)
           
 void setIncludeEnvironmentVariables(boolean includeEnvironmentVariables)
           
 void setIncludes(List<String> includes)
           
 void setIncludeStandardMavenProperties(boolean includeStandardMavenProperties)
           
 void setIncludeSystemProperties(boolean includeSystemProperties)
           
 void setResolvePlaceholders(boolean resolvePlaceholders)
           
 
Methods inherited from class org.codehaus.mojo.properties.AbstractWritePropertiesMojo
getEnvironmentVariableProperties, getFormattedProperties, getPrefixedProperties, getSortedProperties, getStandardMavenProperties, 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

override

protected void override(Properties properties,
                        List<String> includes)

getKeys

protected List<String> getKeys(Properties properties,
                               List<String> keys)

getResolvedProperties

protected Properties getResolvedProperties(Properties props)

getList

protected List<String> getList(List<String> list,
                               String csv)

isIncludeSystemProperties

public boolean isIncludeSystemProperties()

setIncludeSystemProperties

public void setIncludeSystemProperties(boolean includeSystemProperties)

isIncludeEnvironmentVariables

public boolean isIncludeEnvironmentVariables()

setIncludeEnvironmentVariables

public void setIncludeEnvironmentVariables(boolean includeEnvironmentVariables)

getExclude

public String getExclude()

setExclude

public void setExclude(String exclude)

getInclude

public String getInclude()

setInclude

public void setInclude(String include)

isResolvePlaceholders

public boolean isResolvePlaceholders()

setResolvePlaceholders

public void setResolvePlaceholders(boolean resolvePlaceholders)

isIncludeStandardMavenProperties

public boolean isIncludeStandardMavenProperties()

setIncludeStandardMavenProperties

public void setIncludeStandardMavenProperties(boolean includeStandardMavenProperties)

getIncludes

public List<String> getIncludes()

setIncludes

public void setIncludes(List<String> includes)


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