org.codehaus.plexus.maven.plugin
Class PlexusTestDescriptorMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.plexus.maven.plugin.AbstractDescriptorMojo
          extended by org.codehaus.plexus.maven.plugin.PlexusTestDescriptorMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class PlexusTestDescriptorMojo
extends AbstractDescriptorMojo

Generates a Plexus components.xml component descriptor file from test source (javadoc) or test class annotations.

Version:
$Id: PlexusTestDescriptorMojo.java 7988 2008-12-31 10:15:47Z bentmann $
Author:
Jason van Zyl, Trygve Laugstøl

Field Summary
protected  File testGeneratedMetadata
          The output location for the generated descriptor.
protected  File testIntermediaryMetadata
          The output location for the intermediary descriptor.
protected  File testStaticMetadataDirectory
          The location of manually crafted component descriptors.
 
Fields inherited from class org.codehaus.plexus.maven.plugin.AbstractDescriptorMojo
mavenProject, mavenProjectHelper, metadataGenerator, sourceEncoding
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
PlexusTestDescriptorMojo()
           
 
Method Summary
 void 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

testGeneratedMetadata

protected File testGeneratedMetadata
The output location for the generated descriptor.


testStaticMetadataDirectory

protected File testStaticMetadataDirectory
The location of manually crafted component descriptors. The contents of the descriptor files in this directory is merged with the information extracted from the project's sources/classes.


testIntermediaryMetadata

protected File testIntermediaryMetadata
The output location for the intermediary descriptor. This descriptors contains only the information extracted from the project's sources/classes.

Constructor Detail

PlexusTestDescriptorMojo

public PlexusTestDescriptorMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException


Copyright © 2001-2011 Codehaus. All Rights Reserved.