org.apache.maven.plugin.plugin
Class DescriptorGeneratorMojo

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

public class DescriptorGeneratorMojo
extends AbstractGeneratorMojo

Generate a plugin descriptor.

Note: Phase is after the "compilation" of any scripts

Version:
$Id: DescriptorGeneratorMojo.java 489828 2006-12-23 02:21:12Z brett $
Author:
Jason van Zyl

Field Summary
protected  java.io.File outputDirectory
          The directory where the generated plugin.xml file will be put.
 
Fields inherited from class org.apache.maven.plugin.plugin.AbstractGeneratorMojo
extractors, goalPrefix, mojoScanner, project
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
DescriptorGeneratorMojo()
           
 
Method Summary
protected  org.apache.maven.tools.plugin.generator.Generator createGenerator()
           
protected  java.io.File getOutputDirectory()
           
 
Methods inherited from class org.apache.maven.plugin.plugin.AbstractGeneratorMojo
execute
 
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
 

Field Detail

outputDirectory

protected java.io.File outputDirectory
The directory where the generated plugin.xml file will be put.

Constructor Detail

DescriptorGeneratorMojo

public DescriptorGeneratorMojo()
Method Detail

getOutputDirectory

protected java.io.File getOutputDirectory()
Specified by:
getOutputDirectory in class AbstractGeneratorMojo

createGenerator

protected org.apache.maven.tools.plugin.generator.Generator createGenerator()
Specified by:
createGenerator in class AbstractGeneratorMojo


Copyright © 2001-2010 Apache Software Foundation. All Rights Reserved.