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


compileSourceRoots

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


componentConfigDirectory

protected java.io.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 java.io.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 java.io.File facesConfigInclude
Place for faces configuration XML files


key

protected java.lang.String key

library

protected Library library

outputDirectory

protected java.io.File outputDirectory
The directory for compiled classes.


outputJavaDirectory

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


outputResourcesDirectory

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


outputTestsDirectory

protected java.io.File outputTestsDirectory

outputTestsResourcesDirectory

protected java.io.File outputTestsResourcesDirectory

project

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


resourcesInclude

protected java.io.File resourcesInclude
Place for component configuration XML files


taglibInclude

protected java.io.File taglibInclude
Place for component configuration XML files


templatesDirectory

protected java.io.File templatesDirectory

validatorConfigDirectory

protected java.io.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 java.lang.ClassLoader createProjectClassLoader(org.apache.maven.project.MavenProject project,
                                                         boolean useCCL)

createProjectClassLoader

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

doScan

protected java.lang.String[] doScan(java.lang.String[] includes,
                                    java.lang.String[] excludes,
                                    java.io.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.