org.codehaus.mojo.properties
Class WriteProjectProperties
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.properties.AbstractWritePropertiesMojo
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
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 |
WriteProjectProperties
public WriteProjectProperties()
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
getResolvedProperties
protected Properties getResolvedProperties(Properties props)
getEnvironmentVariables
protected static Properties getEnvironmentVariables()
trim
protected void trim(Properties properties,
String excludeCSV,
String includeCSV)
include
public boolean include(String value,
List<String> includes,
List<String> excludes)
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)
isTrimBeforeResolve
public boolean isTrimBeforeResolve()
setTrimBeforeResolve
public void setTrimBeforeResolve(boolean trimBeforeResolve)
Copyright © 2009-2012 The Kuali Foundation. All Rights Reserved.