org.codehaus.mojo.gwt
Class GenerateAsyncMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.gwt.AbstractGwtMojo
          extended by org.codehaus.mojo.gwt.GenerateAsyncMojo
All Implemented Interfaces:
ContextEnabled, Mojo

public class GenerateAsyncMojo
extends AbstractGwtMojo

Goal which generate Asyn interface.

Version:
$Id: GenerateAsyncMojo.java 13163 2010-11-23 17:05:47Z olamy $
Author:
Nicolas De Loof
Is bound to the specified phase of the standard build lifecycle:
generate-sources
Requires the dependencies in this specified scope:
compile
Is defined by the goal name:
generateAsync

Field Summary
 
Fields inherited from class org.codehaus.mojo.gwt.AbstractGwtMojo
artifactFactory, classpathBuilder, GWT_GROUP_ID, gwtSdkFirstInClasspath, localRepository, remoteRepositories, resolver, warSourceDirectory
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
GenerateAsyncMojo()
           
 
Method Summary
 void execute()
          
protected  ClassLoader getProjectClassLoader()
           
 
Methods inherited from class org.codehaus.mojo.gwt.AbstractGwtMojo
addClasspathElements, addCompileSourceRoot, getClasspath, getGenerateDirectory, getGwtDevJar, getGwtUserJar, getLocalRepository, getOutputDirectory, getProject, getProjectArtifacts, getRemoteRepositories, resolve
 
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

GenerateAsyncMojo

public GenerateAsyncMojo()
Method Detail

execute

public void execute()
             throws MojoExecutionException

Throws:
MojoExecutionException

getProjectClassLoader

protected ClassLoader getProjectClassLoader()
                                     throws DependencyResolutionRequiredException,
                                            MalformedURLException
Returns:
the project classloader
Throws:
DependencyResolutionRequiredException - failed to resolve project dependencies
MalformedURLException - configuration issue ?


Copyright © 2007-2012 Codehaus. All Rights Reserved.