@Mojo(name="codeserver",
requiresDependencyResolution=COMPILE_PLUS_RUNTIME,
defaultPhase=COMPILE,
threadSafe=true)
public class CodeServerMojo
extends AbstractXapiMojo
implements org.apache.maven.plugin.ContextEnabled
compileClasspath, compiler| Constructor and Description |
|---|
CodeServerMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
doExecute()
TODO: instead of parsing the objects directly from the maven project,
assemble a command line argument to pass to
Runtime.exec(String),
so we can fork a single codeserver gui, save pid w/
System.setProperty(String, String), and send new executions by
writing to the processes Process.getOutputStream(). |
org.apache.maven.plugin.logging.Log |
getLog() |
Map |
getPluginContext() |
String |
guessVersion(String groupId,
String backup) |
void |
setLog(org.apache.maven.plugin.logging.Log log) |
void |
setPluginContext(Map pluginContext) |
protected String |
superGuess(String groupId,
String backup) |
compile, execute, findArtifact, generatedAnnotation, getBuilder, getGenerateDirectory, getPlatform, getPluginDescriptor, getProject, getProjectHelper, getSession, getSourceRoot, getTargetProjectDirectory, getXapiVersion, initCompiler, prepareCompile, saveModelpublic void setLog(org.apache.maven.plugin.logging.Log log)
setLog in interface org.apache.maven.plugin.MojosetLog in class org.apache.maven.plugin.AbstractMojopublic org.apache.maven.plugin.logging.Log getLog()
getLog in interface org.apache.maven.plugin.MojogetLog in class org.apache.maven.plugin.AbstractMojopublic Map getPluginContext()
getPluginContext in interface org.apache.maven.plugin.ContextEnabledgetPluginContext in class org.apache.maven.plugin.AbstractMojopublic void setPluginContext(Map pluginContext)
setPluginContext in interface org.apache.maven.plugin.ContextEnabledsetPluginContext in class org.apache.maven.plugin.AbstractMojopublic void doExecute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
Runtime.exec(String),
so we can fork a single codeserver gui, save pid w/
System.setProperty(String, String), and send new executions by
writing to the processes Process.getOutputStream().
This will also allow us to launch the gui as a maven goal, or as a java
executable; both of which can be created as an IDE launch config.doExecute in class AbstractXapiMojoorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionpublic String guessVersion(String groupId, String backup)
guessVersion in class AbstractXapiMojoCopyright © December 07, 2012–2015 The Internet Party. All rights reserved.