net.kindleit.gae
Class UnpackGoal

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by net.kindleit.gae.EngineGoalBase
          extended by net.kindleit.gae.UnpackGoal
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable

public class UnpackGoal
extends EngineGoalBase

Downloads and unzips the SDK to your maven repository. Use this goal, if you don't wish to specify a gae.home or -Dappegine.sdk.home property. The plugin will now search for the SDK in that default location.

Author:
rhansen@kindleit.net

Field Summary
protected  org.codehaus.plexus.archiver.manager.ArchiverManager archiverManager
          To look up Archiver/UnArchiver implementations
protected  org.apache.maven.artifact.resolver.ArtifactResolver artifactResolver
          Used to look up Artifacts in the remote repository.
protected  org.apache.maven.artifact.factory.ArtifactFactory factory
          Used to look up Artifacts in the remote repository.
protected  org.apache.maven.artifact.repository.ArtifactRepository localRepo
          Location of the local repository.
protected  List<?> remoteRepos
          List of Remote Repositories used by the resolver
protected  String unpackVersion
          Version of the plugin to unpack.
 
Fields inherited from class net.kindleit.gae.EngineGoalBase
appDir, ARG_TYPE, container, emailAccount, gaeProperties, hostString, keepTempUploadDir, monitorKey, monitorPort, passIn, proxy, sdkDir, serverId, settings, splitJars, uploadServer, wait
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
UnpackGoal()
           
 
Method Summary
 void execute()
           
 
Methods inherited from class net.kindleit.gae.EngineGoalBase
assureSystemProperties, contextualize, getAppCfgArgs, getCommonArgs, hasServerSettings, runAppCfg
 
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

factory

protected org.apache.maven.artifact.factory.ArtifactFactory factory
Used to look up Artifacts in the remote repository.


artifactResolver

protected org.apache.maven.artifact.resolver.ArtifactResolver artifactResolver
Used to look up Artifacts in the remote repository.


remoteRepos

protected List<?> remoteRepos
List of Remote Repositories used by the resolver


localRepo

protected org.apache.maven.artifact.repository.ArtifactRepository localRepo
Location of the local repository.


archiverManager

protected org.codehaus.plexus.archiver.manager.ArchiverManager archiverManager
To look up Archiver/UnArchiver implementations


unpackVersion

protected String unpackVersion
Version of the plugin to unpack.

Constructor Detail

UnpackGoal

public UnpackGoal()
Method Detail

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 © 2009-2010 KindleIT. All Rights Reserved.