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
ConstructorsModifierConstructorDescriptionprotectedAbstractWritePropertiesMojo(List<PropertiesManager> propertiesManagers) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.maven.project.MavenProjectprotected voidprotected voidwriteProperties(Properties properties) Methods inherited from class org.codehaus.mojo.properties.AbstractPropertiesMojo
getPropertiesManagerMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
-