@Mojo(name="effective-web-xml",
requiresDependencyResolution=TEST)
@Execute(phase=TEST_COMPILE)
public class JettyEffectiveWebXml
extends JettyRunMojo
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
deleteOnExit |
protected java.io.File |
effectiveWebXml
The name of the file to generate into
|
protected java.io.File |
target
The target directory
|
classesDirectory, DEFAULT_WEBAPP_SRC, FAKE_WEBAPP, originalBaseResource, scanClassesPattern, scanTargetPatterns, scanTargets, scanTestClassesPattern, testClassesDirectory, useTestScope, warArtifacts, warPluginInfo, webAppSourceDirectory, webXmlconsoleScanner, contextHandlers, contextXml, dumpOnStart, excludedGoals, execution, httpConnector, jettyXml, loginServices, nonBlocking, pluginArtifacts, project, projectArtifacts, reload, requestLog, scanIntervalSeconds, scanner, server, serverSupport, skip, stopKey, stopPort, supportedPackagings, systemProperties, systemPropertiesFile, useProvidedScope, webApp| Constructor and Description |
|---|
JettyEffectiveWebXml() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
void |
startJetty() |
checkPomConfiguration, configureScanner, configureWebApplication, fileSeparators, finishConfigurationBeforeStart, gatherScannables, getArtifactForOverlay, getJavaBin, getProjectReference, restartWebApp, unpackOverlay, unpackOverlaysapplyJettyXml, checkPackagingConfiguration, configureMonitor, configurePluginClasspath, findJettyWebXmlFile, getJettyXmlFiles, getSkipMessage, isConfigurationSupported, isExcluded, isPluginArtifact, isScanningEnabled, printSystemProperties, setSystemProperties, setSystemPropertiesFile, startConsoleScanner, startScanner, stopScanner@Parameter(defaultValue="${project.build.directory}",
readonly=true,
required=true)
protected java.io.File target
@Parameter protected java.io.File effectiveWebXml
protected boolean deleteOnExit
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
execute in interface org.apache.maven.plugin.Mojoexecute in class JettyRunMojoorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionMojo.execute()public void startJetty()
throws org.apache.maven.plugin.MojoExecutionException
startJetty in class AbstractJettyMojoorg.apache.maven.plugin.MojoExecutionExceptionCopyright © 1995–2021 Webtide. All rights reserved.