org.richfaces.builder.mojo
Class AbstractGenerateMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.richfaces.builder.mojo.AbstractGenerateMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public abstract class AbstractGenerateMojo
extends org.apache.maven.plugin.AbstractMojo

Author:
shura

Field Summary
protected  List<String> classpathElements
          Project classpath.
protected  List<String> compileSourceRoots
          The source directories containing the sources to be compiled.
protected  File componentConfigDirectory
          Place for component configuration XML files.
protected  File converterConfigDirectory
          Place for converter configuration XML files.
protected  File facesConfigInclude
          Place for faces configuration XML files
protected  String key
           
protected  Library library
           
protected  File outputDirectory
          The directory for compiled classes.
protected  File outputJavaDirectory
          Directory where the output Java Files will be located.
protected  File outputResourcesDirectory
          Directory where the output Java Files will be located.
protected  File outputTestsDirectory
           
protected  File outputTestsResourcesDirectory
           
protected  org.apache.maven.project.MavenProject project
          Top maven project.
protected  File resourcesInclude
          Place for component configuration XML files
protected  File taglibInclude
          Place for component configuration XML files
protected  File templatesDirectory
           
protected  File validatorConfigDirectory
          Place for validator configuration XML files.
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractGenerateMojo()
           
 
Method Summary
protected  ClassLoader createProjectClassLoader(org.apache.maven.project.MavenProject project)
           
protected  ClassLoader createProjectClassLoader(org.apache.maven.project.MavenProject project, boolean useCCL)
           
protected  String[] doScan(String[] includes, String[] excludes, File rootFolder)
           
 
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
 
Methods inherited from interface org.apache.maven.plugin.Mojo
execute
 

Field Detail

classpathElements

protected List<String> classpathElements
Project classpath.


compileSourceRoots

protected List<String> compileSourceRoots
The source directories containing the sources to be compiled.


componentConfigDirectory

protected File componentConfigDirectory
Place for component configuration XML files. All '*.xml' files wil be parsed as components config. All '*.ent' files will be processed as include configurations.


converterConfigDirectory

protected File converterConfigDirectory
Place for converter configuration XML files. All '*.xml' files wil be parsed as components config. All '*.ent' files will be processed as include configurations.


facesConfigInclude

protected File facesConfigInclude
Place for faces configuration XML files


key

protected String key

library

protected Library library

outputDirectory

protected File outputDirectory
The directory for compiled classes.


outputJavaDirectory

protected File outputJavaDirectory
Directory where the output Java Files will be located.


outputResourcesDirectory

protected File outputResourcesDirectory
Directory where the output Java Files will be located.


outputTestsDirectory

protected File outputTestsDirectory

outputTestsResourcesDirectory

protected File outputTestsResourcesDirectory

project

protected org.apache.maven.project.MavenProject project
Top maven project.


resourcesInclude

protected File resourcesInclude
Place for component configuration XML files


taglibInclude

protected File taglibInclude
Place for component configuration XML files


templatesDirectory

protected File templatesDirectory

validatorConfigDirectory

protected File validatorConfigDirectory
Place for validator configuration XML files. All '*.xml' files wil be parsed as component config. All '*.ent' files will be processed as include configurations.

Constructor Detail

AbstractGenerateMojo

public AbstractGenerateMojo()
Method Detail

createProjectClassLoader

protected ClassLoader createProjectClassLoader(org.apache.maven.project.MavenProject project,
                                               boolean useCCL)

createProjectClassLoader

protected ClassLoader createProjectClassLoader(org.apache.maven.project.MavenProject project)

doScan

protected String[] doScan(String[] includes,
                          String[] excludes,
                          File rootFolder)
                   throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.