org.codehaus.mojo.gwt
Class SdkInstallMojo

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

public class SdkInstallMojo
extends AbstractGwtModuleMojo

Install a GWT (home built) SDK in local repository

Author:
Nicolas De Loof
Is defined by the goal name:
sdkInstall

Field Summary
protected  ArtifactFactory artifactFactory
           
protected  ArtifactInstaller installer
           
protected  ArtifactRepository localRepository
           
protected  File sdk
           
 
Fields inherited from class org.codehaus.mojo.gwt.AbstractGwtModuleMojo
GWT_MODULE_EXTENSION
 
Fields inherited from class org.codehaus.mojo.gwt.AbstractGwtMojo
classpathBuilder, GWT_GROUP_ID, gwtSdkFirstInClasspath, remoteRepositories, resolver, warSourceDirectory
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
SdkInstallMojo()
           
 
Method Summary
 void execute()
          
 
Methods inherited from class org.codehaus.mojo.gwt.AbstractGwtModuleMojo
addCompileSourceRoot, getGwtModules, getModules, readModule
 
Methods inherited from class org.codehaus.mojo.gwt.AbstractGwtMojo
addClasspathElements, 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
 

Field Detail

artifactFactory

protected ArtifactFactory artifactFactory
Is a Plexus component defined by:

installer

protected ArtifactInstaller installer
Is a Plexus component defined by:

localRepository

protected ArtifactRepository localRepository
Is defined by:
expression:
${localRepository}
Is required.
Is readonly.

sdk

protected File sdk
Is defined by:
expression:
${sdk}
Is required.
Is readonly.
Constructor Detail

SdkInstallMojo

public SdkInstallMojo()
Method Detail

execute

public void execute()
             throws MojoExecutionException,
                    MojoFailureException

Throws:
MojoExecutionException
MojoFailureException
See Also:
Mojo.execute()


Copyright © 2007-2012 Codehaus. All Rights Reserved.