de.smartics.maven.exceptions
Class CopySdocCodeMojo

Package class diagram package CopySdocCodeMojo
java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by de.smartics.maven.exceptions.AbstractSdocCodeMojo
          extended by de.smartics.maven.exceptions.CopySdocCodeMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class CopySdocCodeMojo
     
     
extends AbstractSdocCodeMojo

Extracts the exception code information of a project and generates one XML document for each code in the projectdoc's appcode doctype format.

maven-goal:
copy
maven-phase:
process-classes
maven-requiresProject:
maven-description:
XML export of project error codes.

Field Summary
protected  File genSrcDir
          The directory containing the generated documentation XML files.
 
Fields inherited from class de.smartics.maven.exceptions.AbstractSdocCodeMojo
locale, output, pluginArtifacts, project, skip
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
CopySdocCodeMojo()
           
 
Method Summary
protected  void handleGeneratedDocuments()
          Handles the generated documents.
 
Methods inherited from class de.smartics.maven.exceptions.AbstractSdocCodeMojo
execute, getProject, setProject
 
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

genSrcDir

protected File genSrcDir
The directory containing the generated documentation XML files.

Since:
1.0
Constructor Detail

CopySdocCodeMojo

public CopySdocCodeMojo()
Method Detail

handleGeneratedDocuments

protected void handleGeneratedDocuments()
                                 throws org.apache.maven.plugin.MojoExecutionException,
                                        org.apache.maven.plugin.MojoFailureException
Handles the generated documents.

Specified by:
handleGeneratedDocuments in class AbstractSdocCodeMojo
Throws:
org.apache.maven.plugin.MojoExecutionException - if the execution encounters a problem.
org.apache.maven.plugin.MojoFailureException - if the mojo fails.


Copyright © 2007-2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.