org.richfaces.cdk
Class ProcessMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.richfaces.cdk.ProcessMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class ProcessMojo
extends org.apache.maven.plugin.AbstractMojo

Scans for resource dependencies (ResourceDependency annotations) on the class-path and collect them in order to pre-generate resources them and optionally pack or compress them.


Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
ProcessMojo()
           
 
Method Summary
protected  ClassLoader createProjectClassLoader(URL[] cp)
           
 void execute()
           
protected  URL[] getProjectClassPath()
           
 
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

ProcessMojo

public ProcessMojo()
Method Detail

getProjectClassPath

protected URL[] getProjectClassPath()

createProjectClassLoader

protected ClassLoader createProjectClassLoader(URL[] cp)

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.