net.kindleit.gae
Class StartGoal
java.lang.Object
org.apache.maven.plugin.AbstractMojo
net.kindleit.gae.EngineGoalBase
net.kindleit.gae.StartGoal
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
- DebugGoal, RunGoal
public class StartGoal
- extends EngineGoalBase
Runs the WAR project locally on the Google App Engine development server,
without executing the package phase first.
This is intended to be included in your project's POM and runs in the
pre-integration-test phase.
- Since:
- 0.5.8
- Author:
- tmoore@incrementalism.net
| Fields inherited from class net.kindleit.gae.EngineGoalBase |
appDir, ARG_TYPE, emailAccount, gaeProperties, hostString, keepTempUploadDir, monitorKey, monitorPort, passIn, proxy, sdkDir, serverId, settings, splitJars, uploadServer, wait |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| 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 |
port
protected int port
- Port to run in.
address
protected String address
- Address to bind to.
disableUpdateCheck
protected boolean disableUpdateCheck
- Do not check for new SDK versions.
jvmFlags
protected List<String> jvmFlags
- Arbitrary list of JVM Flags to send to the KickStart task.
StartGoal
public StartGoal()
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
runKickStart
protected final void runKickStart(String startClass,
String... commandArguments)
throws org.apache.maven.plugin.MojoExecutionException
- Passes command to the Google App Engine KickStart runner.
- Parameters:
startClass - command to run through KickStartcommandArguments - arguments to the KickStart command.
- Throws:
org.apache.maven.plugin.MojoExecutionException - If EngineGoalBase.assureSystemProperties() fails
resolveArtifacts
protected final void resolveArtifacts(Set<org.apache.maven.artifact.Artifact> artifacts)
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
Copyright © 2009-2010 KindleIT. All Rights Reserved.