org.richfaces.builder.mojo
Class CompileMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.richfaces.builder.mojo.AbstractCDKMojo
org.richfaces.builder.mojo.CompileMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
public class CompileMojo
- extends AbstractCDKMojo
- implements org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
Compile all xml templates, matched given pattern to Java classes. Sources will be created in
AbstractCDKMojo.outputJavaDirectory
- Author:
- shura
| Fields inherited from class org.richfaces.builder.mojo.AbstractCDKMojo |
classpathElements, compileSourceRoots, componentConfigDirectory, converterConfigDirectory, facesConfigInclude, key, library, outputDirectory, outputJavaDirectory, outputResourcesDirectory, outputTestsDirectory, project, resourcesInclude, taglibInclude, templatesDirectory, validatorConfigDirectory |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| 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 |
CompileMojo
public CompileMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Specified by:
execute in interface org.apache.maven.plugin.Mojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
contextualize
public void contextualize(org.codehaus.plexus.context.Context context)
throws org.codehaus.plexus.context.ContextException
- Specified by:
contextualize in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
- Throws:
org.codehaus.plexus.context.ContextException
toLog
public String toLog(Object obj)
throws org.apache.maven.plugin.MojoExecutionException
- Convert any Java Object to JavaScript representation ( as possible ).
- Parameters:
obj -
- Returns:
-
- Throws:
org.apache.maven.plugin.MojoExecutionException
addEncodedString
public void addEncodedString(StringBuffer buff,
Object obj)
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.