Package org.codehaus.mojo.properties
Class WriteActiveProfileProperties
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.properties.AbstractPropertiesMojo
org.codehaus.mojo.properties.AbstractWritePropertiesMojo
org.codehaus.mojo.properties.WriteActiveProfileProperties
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="write-active-profile-properties",
defaultPhase=NONE,
threadSafe=true)
public class WriteActiveProfileProperties
extends AbstractWritePropertiesMojo
Writes properties of all active profiles 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
WriteActiveProfileProperties
(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
-
WriteActiveProfileProperties
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
-