@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, webXml
consoleScanner, 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, unpackOverlays
applyJettyXml, 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.Mojo
execute
in class JettyRunMojo
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
Mojo.execute()
public void startJetty() throws org.apache.maven.plugin.MojoExecutionException
startJetty
in class AbstractJettyMojo
org.apache.maven.plugin.MojoExecutionException
Copyright © 1995–2023 Webtide. All rights reserved.