Package org.codehaus.mojo.properties
Class AbstractWritePropertiesMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.properties.AbstractPropertiesMojo
org.codehaus.mojo.properties.AbstractWritePropertiesMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
WriteActiveProfileProperties
,WriteProjectProperties
- Author:
- Zarar Siddiqi
-
Field Summary
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractWritePropertiesMojo
(List<PropertiesManager> propertiesManagers) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.maven.project.MavenProject
protected void
protected void
writeProperties
(Properties properties) Methods inherited from class org.codehaus.mojo.properties.AbstractPropertiesMojo
getPropertiesManager
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
-
Constructor Details
-
AbstractWritePropertiesMojo
-
-
Method Details
-
writeProperties
protected void writeProperties(Properties properties) throws org.apache.maven.plugin.MojoExecutionException - Parameters:
properties
-Properties
- Throws:
org.apache.maven.plugin.MojoExecutionException
-MojoExecutionException
-
validateOutputFile
protected void validateOutputFile() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-MojoExecutionException
-
getProject
public org.apache.maven.project.MavenProject getProject()- Returns:
MavenProject
-