org.apache.maven.plugin.coreit
Class CustomConfigMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.plugin.coreit.CustomConfigMojo
All Implemented Interfaces:
ContextEnabled, Mojo

public class CustomConfigMojo
extends AbstractMojo

Dumps this mojo's configuration into a properties file. Note that this mojo uses a custom component configurator.

Version:
$Id: CustomConfigMojo.java 998228 2010-09-17 17:55:09Z bentmann $
Author:
Benjamin Bentmann
Is configured to the role hint:
coreit
Is defined by the goal name:
custom-config
Is bound to the specified phase of the standard build lifecycle:
validate

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
CustomConfigMojo()
           
 
Method Summary
 void execute()
          Runs this mojo.
 
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
 

Constructor Detail

CustomConfigMojo

public CustomConfigMojo()
Method Detail

execute

public void execute()
             throws MojoExecutionException
Runs this mojo.

Throws:
MojoExecutionException - If the output file could not be created.


Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.