org.ajax4jsf.builder.mojo
Class CompileMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.ajax4jsf.builder.mojo.AbstractCDKMojo
          extended by org.ajax4jsf.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

Field Summary
 
Fields inherited from class org.ajax4jsf.builder.mojo.AbstractCDKMojo
classpathElements, compileSourceRoots, componentConfigDirectory, converterConfigDirectory, facesConfigInclude, key, library, outputDirectory, outputJavaDirectory, outputResourcesDirectory, outputTestsDirectory, project, resourcesInclude, taglibInclude, templatesDirectory, validatorConfigDirectory, velocity
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
CompileMojo()
           
 
Method Summary
 void addEncodedString(java.lang.StringBuffer buff, java.lang.Object obj)
           
 void contextualize(org.codehaus.plexus.context.Context context)
           
 void execute()
           
 java.lang.String toLog(java.lang.Object obj)
          Convert any Java Object to JavaScript representation ( as possible ).
 
Methods inherited from class org.ajax4jsf.builder.mojo.AbstractCDKMojo
checkLibraryConfig, checkTaglib, createProjectClassLoader, createProjectClassLoader, writeParsedTemplate
 
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
 

Constructor Detail

CompileMojo

public CompileMojo()
Method Detail

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 java.lang.String toLog(java.lang.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(java.lang.StringBuffer buff,
                             java.lang.Object obj)


Copyright © 2009. All Rights Reserved.