|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.richfaces.builder.mojo.GenerateMojo
public class GenerateMojo
| 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 org.apache.maven.model.FileSet[] |
facesConfigs
The list of JSF configuration files that will be processed by CDK. |
protected Library |
library
|
protected java.util.Map<java.lang.String,java.lang.String> |
options
|
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 |
outputTestDirectory
|
protected java.io.File |
outputTestResourcesDirectory
Directory where the output Java Files will be located. |
protected org.apache.maven.project.MavenProject |
project
Top maven project. |
protected java.lang.String[] |
sourceExcludes
List of filename patterns that will be excluded from process by annotations processor. |
protected java.lang.String[] |
sourceIncludes
List of filename patterns that will be included to process by annotations processor. |
protected org.apache.maven.model.FileSet[] |
templates
The list of JsfRenderer template files that will be processed by CDK. |
protected java.util.Map<java.lang.String,java.lang.String> |
workers
|
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
GenerateMojo()
|
|
| Method Summary | |
|---|---|
protected org.richfaces.cdk.CdkClassLoader |
createProjectClassLoader(org.apache.maven.project.MavenProject project)
|
protected java.util.Collection<java.io.File> |
doScan(org.apache.maven.model.FileSet[] filesets)
Skan Array of filesets for selected resources. |
protected java.lang.String[] |
doScan(java.lang.String[] includes,
java.lang.String[] excludes,
java.io.File rootFolder)
|
void |
execute()
|
| 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 |
|---|
protected java.util.List<java.lang.String> classpathElements
protected java.util.List<java.lang.String> compileSourceRoots
protected org.apache.maven.model.FileSet[] facesConfigs
src/main/config folder with "xml" extension.
protected java.util.Map<java.lang.String,java.lang.String> options
protected Library library
protected java.io.File outputDirectory
protected java.io.File outputJavaDirectory
protected java.io.File outputResourcesDirectory
protected java.io.File outputTestDirectory
protected java.io.File outputTestResourcesDirectory
protected org.apache.maven.project.MavenProject project
protected java.lang.String[] sourceExcludes
protected java.lang.String[] sourceIncludes
protected org.apache.maven.model.FileSet[] templates
src/main/templates folder with "xml" extension.
protected java.util.Map<java.lang.String,java.lang.String> workers
| Constructor Detail |
|---|
public GenerateMojo()
| Method Detail |
|---|
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureExceptionprotected org.richfaces.cdk.CdkClassLoader createProjectClassLoader(org.apache.maven.project.MavenProject project)
protected java.lang.String[] doScan(java.lang.String[] includes,
java.lang.String[] excludes,
java.io.File rootFolder)
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected java.util.Collection<java.io.File> doScan(org.apache.maven.model.FileSet[] filesets)
throws org.apache.maven.plugin.MojoExecutionException
filesets -
org.apache.maven.plugin.MojoExecutionException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||