public class GenerateMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
classpathElements
Project classpath.
|
protected List<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 Map<String,String> |
options |
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 |
outputTestDirectory |
protected File |
outputTestResourcesDirectory
Directory where the output Java Files will be located.
|
protected org.apache.maven.project.MavenProject |
project
Top maven project.
|
protected String[] |
sourceExcludes
List of filename patterns that will be excluded from process by annotations processor.
|
protected 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 Map<String,String> |
workers |
| Constructor and Description |
|---|
GenerateMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected org.richfaces.cdk.CdkClassLoader |
createProjectClassLoader(org.apache.maven.project.MavenProject project) |
protected Collection<File> |
doScan(org.apache.maven.model.FileSet[] filesets)
Skan Array of filesets for selected resources.
|
protected String[] |
doScan(String[] includes,
String[] excludes,
File rootFolder) |
void |
execute() |
protected List<String> compileSourceRoots
protected org.apache.maven.model.FileSet[] facesConfigs
src/main/config folder with "xml" extension.protected Library library
protected File outputDirectory
protected File outputJavaDirectory
protected File outputResourcesDirectory
protected File outputTestDirectory
protected File outputTestResourcesDirectory
protected org.apache.maven.project.MavenProject project
protected String[] sourceExcludes
protected String[] sourceIncludes
protected org.apache.maven.model.FileSet[] templates
src/main/templates folder with "xml" extension.public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected org.richfaces.cdk.CdkClassLoader createProjectClassLoader(org.apache.maven.project.MavenProject project)
protected String[] doScan(String[] includes, String[] excludes, File rootFolder) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected Collection<File> doScan(org.apache.maven.model.FileSet[] filesets) throws org.apache.maven.plugin.MojoExecutionException
filesets - org.apache.maven.plugin.MojoExecutionExceptionCopyright © 2012 JBoss by Red Hat. All Rights Reserved.