org.apache.myfaces.buildtools.maven2.plugin.tagdoc
Class TagdocContentMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocContentMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class TagdocContentMojo
extends org.apache.maven.plugin.AbstractMojo

Generate the tag doc content pages using velocity. This is done before site, because maven-site-plugin use velocity and if we do this inside report generation, we cause a ClassLoader problem.

Author:
Leonardo Uribe

Nested Class Summary
 class TagdocContentMojo.CustomResourceManagerImpl
           
static class TagdocContentMojo.URLCreationFactory
           
 
Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
TagdocContentMojo()
           
 
Method Summary
 boolean canGenerate(ClassMeta component)
           
 void execute()
           
protected  List getCompileDependencyResources(org.apache.maven.project.MavenProject project, String resourcePath)
           
 String getDescription(Locale locale)
           
protected  List getMasterConfigs(org.apache.maven.project.MavenProject project)
           
protected  Model getModel()
           
 String getName(Locale locale)
           
protected  String getOutputDirectory()
           
 String getOutputName()
           
protected  org.apache.maven.project.MavenProject getProject()
           
 String getTemplateBehavior()
           
 String getTemplateComponent()
           
 String getTemplateConverter()
           
 String getTemplateFaceletTag()
           
 String getTemplateTag()
           
 String getTemplateValidator()
           
 boolean usePageLinkBar()
           
 
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

TagdocContentMojo

public TagdocContentMojo()
Method Detail

execute

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

canGenerate

public boolean canGenerate(ClassMeta component)

usePageLinkBar

public boolean usePageLinkBar()

getProject

protected org.apache.maven.project.MavenProject getProject()

getOutputDirectory

protected String getOutputDirectory()

getName

public String getName(Locale locale)

getDescription

public String getDescription(Locale locale)

getOutputName

public String getOutputName()

getModel

protected Model getModel()

getMasterConfigs

protected List getMasterConfigs(org.apache.maven.project.MavenProject project)
                         throws org.apache.maven.reporting.MavenReportException
Throws:
org.apache.maven.reporting.MavenReportException

getCompileDependencyResources

protected List getCompileDependencyResources(org.apache.maven.project.MavenProject project,
                                             String resourcePath)
                                      throws org.apache.maven.reporting.MavenReportException
Throws:
org.apache.maven.reporting.MavenReportException

getTemplateComponent

public String getTemplateComponent()

getTemplateConverter

public String getTemplateConverter()

getTemplateBehavior

public String getTemplateBehavior()

getTemplateValidator

public String getTemplateValidator()

getTemplateTag

public String getTemplateTag()

getTemplateFaceletTag

public String getTemplateFaceletTag()


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