@Mojo(name="run",
threadSafe=true,
defaultPhase=TEST_COMPILE,
requiresDependencyResolution=TEST)
public class Run
extends org.eclipse.jetty.maven.plugin.JettyRunMojo
| Modifier and Type | Field and Description |
|---|---|
protected File |
classesDirectory |
static String |
devId |
protected List<String> |
pluginArtifacts |
protected Set<org.apache.maven.artifact.Artifact> |
projectArtifacts |
static String |
userId |
DEFAULT_WEBAPP_SRC, FAKE_WEBAPP, scanClassesPattern, scanTargetPatterns, scanTargets, scanTestClassesPattern, testClassesDirectory, useTestScope, warArtifacts, warPluginInfo, webAppSourceDirectory, webXmlconsoleScanner, contextHandlers, contextXml, dumpOnStart, excludedGoals, httpConnector, jettyXml, loginServices, nonblocking, reload, requestLog, scanIntervalSeconds, scanner, server, serverSupport, skip, stopKey, stopPort, systemProperties, systemPropertiesFile, useProvidedScope, webApp| Constructor and Description |
|---|
Run() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
static void |
setCallback(String apiKey,
String botName,
String callback) |
void |
startBot(org.eclipse.jetty.server.Server server,
String apiKey,
String botName) |
checkPomConfiguration, configureScanner, configureWebApplication, finishConfigurationBeforeStart, gatherScannables, getArtifactForOverlay, restartWebAppapplyJettyXml, configureMonitor, configurePluginClasspath, findJettyWebXmlFile, getJettyXmlFiles, isExcluded, isPluginArtifact, isScanningEnabled, printSystemProperties, setSystemProperties, setSystemPropertiesFile, startConsoleScanner, startJetty, startScanner, stopScanner@Parameter(defaultValue="${project.artifacts}",
readonly=true)
protected Set<org.apache.maven.artifact.Artifact> projectArtifacts
@Parameter(defaultValue="${plugin.artifacts}",
readonly=true)
protected List<String> pluginArtifacts
@Parameter(defaultValue="${project.build.outputDirectory}",
required=true)
protected File classesDirectory
public static String userId
public static String devId
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
execute in interface org.apache.maven.plugin.Mojoexecute in class org.eclipse.jetty.maven.plugin.JettyRunMojoorg.apache.maven.plugin.MojoExecutionExceptionpublic void startBot(org.eclipse.jetty.server.Server server,
String apiKey,
String botName)
Copyright © 2018. All rights reserved.