public abstract class AbstractCDKMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
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.
|
| Constructor and Description |
|---|
AbstractCDKMojo() |
| Modifier and Type | Method and Description |
|---|---|
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) |
getLog, getPluginContext, setLog, setPluginContext@Parameter(property="project.compileClasspathElements",
readonly=true,
required=true)
protected List classpathElements
@Parameter(property="project.compileSourceRoots",
required=true,
readonly=true)
protected List<String> compileSourceRoots
@Parameter(defaultValue="src/main/config/component") protected File componentConfigDirectory
@Parameter(defaultValue="src/main/config/converter") protected File converterConfigDirectory
@Parameter(defaultValue="src/main/config/faces") protected File facesConfigInclude
@Parameter protected String key
@Parameter protected Library library
@Parameter(property="project.build.outputDirectory",
required=true,
readonly=true)
protected File outputDirectory
@Parameter(defaultValue="${project.build.directory}/generated-component/java")
protected File outputJavaDirectory
@Parameter(defaultValue="${project.build.directory}/generated-component/resources")
protected File outputResourcesDirectory
@Parameter(defaultValue="${project.build.directory}/generated-component/test")
protected File outputTestsDirectory
@Parameter(property="project",
readonly=true)
protected org.apache.maven.project.MavenProject project
@Parameter(defaultValue="src/main/config/resources") protected File resourcesInclude
@Parameter(defaultValue="src/main/config/taglib") protected File taglibInclude
@Parameter(defaultValue="src/main/templates") protected File templatesDirectory
@Parameter(defaultValue="src/main/config/validator") protected File validatorConfigDirectory
protected Taglib checkLibraryConfig()
protected ClassLoader createProjectClassLoader(org.apache.maven.project.MavenProject project, boolean useCCL)
protected ClassLoader createProjectClassLoader(org.apache.maven.project.MavenProject project)
protected void checkTaglib(Taglib taglib)
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.