Package org.codehaus.mojo.properties
Class WriteProjectProperties
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.properties.AbstractPropertiesMojo
org.codehaus.mojo.properties.AbstractWritePropertiesMojo
org.codehaus.mojo.properties.WriteProjectProperties
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="write-project-properties",
defaultPhase=NONE,
threadSafe=true)
public class WriteProjectProperties
extends AbstractWritePropertiesMojo
Writes project properties to a file.
- Since:
- 1.0.0
- Author:
- Zarar Siddiqi
-
Field Summary
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
ModifierConstructorDescriptionprotected
WriteProjectProperties
(List<PropertiesManager> propertiesManagers) Default constructor -
Method Summary
Methods inherited from class org.codehaus.mojo.properties.AbstractWritePropertiesMojo
getProject, validateOutputFile, writeProperties
Methods inherited from class org.codehaus.mojo.properties.AbstractPropertiesMojo
getPropertiesManager
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
WriteProjectProperties
Default constructor- Parameters:
propertiesManagers
- list of properties managers
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-