public abstract class EngineGoalBase
extends org.apache.maven.plugin.AbstractMojo
implements org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
| Modifier and Type | Field and Description |
|---|---|
protected String |
appDir
Overrides where the Project War Directory is located.
|
protected String |
appId
The app id.
|
protected String |
appVersion
The app version.
|
protected static String[] |
ARG_TYPE |
protected org.codehaus.plexus.PlexusContainer |
container
Plexus container, needed to manually lookup components.
|
protected String |
emailAccount
Deprecated.
use maven settings.xml/server/username and "serverId" parameter
|
protected String |
encoding
The character encoding scheme to be applied interacting with the SDK.
|
protected Properties |
gaeProperties |
protected List<String> |
goalArguments
Arbitrary list of Goal Arguments to pass along to the app engine task.
|
protected String |
hostString
Overrides the Host header sent with all RPCs.
|
protected boolean |
keepTempUploadDir
Do not delete temporary directory used in uploading.
|
protected String |
monitorKey
Key to provide when making stop requests.
|
protected int |
monitorPort
Port to listen for stop requests on.
|
protected boolean |
passIn
Always read the login password from stdin.
|
protected String |
proxy
Tell AppCfg to use a proxy.
|
protected String |
sdkDir
Specifies where the Google App Engine SDK is located.
|
protected String |
serverId
The server id in maven settings.xml to use for emailAccount(username)
and password when connecting to GAE.
|
protected org.apache.maven.settings.Settings |
settings
The Maven settings reference.
|
protected boolean |
splitJars
Split large jar files (> 10M) into smaller fragments.
|
protected String |
uploadServer
The server to connect to.
|
protected boolean |
wait
Decides whether to wait after the server is started or to return the
execution flow to the user.
|
| Constructor and Description |
|---|
EngineGoalBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
contextualize(org.codehaus.plexus.context.Context context) |
protected void |
ensureSystemProperties()
Groups alterations to System properties for the proper execution
of the actual GAE code.
|
protected List<String> |
getAppCfgArgs()
Generate all common Google AppEngine Task Parameters for use in all the
goals.
|
protected List<String> |
getCommonArgs() |
protected boolean |
hasServerSettings() |
protected void |
runAppCfg(String command,
String... commandArguments)
Passes command to the Google App Engine AppCfg runner.
|
getLog, getPluginContext, setLog, setPluginContextprotected static final String[] ARG_TYPE
protected org.codehaus.plexus.PlexusContainer container
protected org.apache.maven.settings.Settings settings
protected String encoding
protected String appDir
protected String sdkDir
protected boolean splitJars
@Deprecated protected String emailAccount
protected String serverId
protected String uploadServer
protected String appId
protected String appVersion
protected String hostString
protected boolean keepTempUploadDir
protected boolean passIn
protected String proxy
protected boolean wait
protected int monitorPort
protected String monitorKey
protected List<String> goalArguments
protected Properties gaeProperties
public void contextualize(org.codehaus.plexus.context.Context context)
throws org.codehaus.plexus.context.ContextException
contextualize in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizableorg.codehaus.plexus.context.ContextExceptionprotected boolean hasServerSettings()
protected final void runAppCfg(String command, String... commandArguments) throws org.apache.maven.plugin.MojoExecutionException
command - command to run through AppCfgcommandArguments - arguments to the AppCfg command.org.apache.maven.plugin.MojoExecutionException - If ensureSystemProperties() failsprotected void ensureSystemProperties()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException - When the gae.home variable cannot be set.protected List<String> getAppCfgArgs()
Copyright © 2009-2012 KindleIT. All Rights Reserved.