RichFaces CDK Generator Maven Plugin 4.2.2.Final

org.richfaces.builder.mojo
Class AbstractCDKMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.richfaces.builder.mojo.AbstractCDKMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
CompileMojo

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

Author:
shura

Field Summary
protected  List 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  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
AbstractCDKMojo()
           
 
Method Summary
protected  Taglib checkLibraryConfig()
          Check library configuration, and fill all empty values to default.
protected  void checkTaglib(Taglib taglib)
           
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 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

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

AbstractCDKMojo

public AbstractCDKMojo()
Method Detail

checkLibraryConfig

protected Taglib checkLibraryConfig()
Check library configuration, and fill all empty values to default.

Returns:

createProjectClassLoader

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

createProjectClassLoader

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

checkTaglib

protected void checkTaglib(Taglib taglib)

doScan

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

RichFaces CDK Generator Maven Plugin 4.2.2.Final

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.