Class JettyEffectiveWebXml
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.eclipse.jetty.ee10.maven.plugin.AbstractWebAppMojo
org.eclipse.jetty.ee10.maven.plugin.AbstractUnassembledWebAppMojo
org.eclipse.jetty.ee10.maven.plugin.JettyEffectiveWebXml
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="effective-web-xml",
requiresDependencyResolution=RUNTIME)
public class JettyEffectiveWebXml
extends AbstractUnassembledWebAppMojo
Generate the effective web.xml for a pre-built webapp. This goal will NOT
first build the webapp, it must already exist.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jetty.ee10.maven.plugin.AbstractWebAppMojo
AbstractWebAppMojo.DeploymentMode -
Field Summary
FieldsFields inherited from class org.eclipse.jetty.ee10.maven.plugin.AbstractUnassembledWebAppMojo
classesDirectory, scanClassesPattern, scanTestClassesPattern, testClassesDirectory, webAppSourceDirectory, webXmlFields inherited from class org.eclipse.jetty.ee10.maven.plugin.AbstractWebAppMojo
contextHandlers, contextXml, deployMode, env, excludedGoals, execution, FAKE_WEBAPP, forkWebXml, httpConnector, JETTY_HOME_ARTIFACTID, JETTY_HOME_GROUPID, jettyBase, jettyHome, jettyHomeZip, jettyOptions, jettyProperties, jettyXmls, jvmArgs, loginServices, mavenProjectHelper, maxChildStartCheckMs, maxChildStartChecks, mergedSystemProperties, modules, originalBaseResource, plugin, pluginArtifacts, project, projectArtifacts, providedJars, reactorProjects, requestLog, scanTargetPatterns, server, skip, stopKey, stopPort, supportedPackagings, systemProperties, systemPropertiesFile, target, useProvidedScope, useTestScope, warArtifacts, webAppFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidOverride so we can call the parent's method in a different order.voidEnsure there is a webapp, and that some basic defaults are applied if the user has not supplied them.protected voidprotected voidprotected voidMethods inherited from class org.eclipse.jetty.ee10.maven.plugin.AbstractUnassembledWebAppMojo
getWebInfLibArtifacts, verifyPomConfigurationMethods inherited from class org.eclipse.jetty.ee10.maven.plugin.AbstractWebAppMojo
augmentPluginClasspath, configureScanTargetPatterns, configureSystemProperties, execute, findJettyWebXmlFile, getContainerClassPath, getJettyOutputFile, getProjectName, getProvidedJars, isExcludedGoal, isPackagingSupported, isPluginArtifact, mergeSystemProperties, newJettyEmbedder, newJettyForker, newJettyHomeForker, startJettyMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
effectiveWebXml
@Parameter(defaultValue="${project.build.directory}/effective-web.xml") protected File effectiveWebXmlThe name of the file to generate into
-
-
Constructor Details
-
JettyEffectiveWebXml
public JettyEffectiveWebXml()
-
-
Method Details
-
configureWebApp
Description copied from class:AbstractWebAppMojoEnsure there is a webapp, and that some basic defaults are applied if the user has not supplied them.- Overrides:
configureWebAppin classAbstractUnassembledWebAppMojo- Throws:
Exception
-
configureUnassembledWebApp
protected void configureUnassembledWebApp()Override so we can call the parent's method in a different order.- Overrides:
configureUnassembledWebAppin classAbstractUnassembledWebAppMojo
-
startJettyEmbedded
protected void startJettyEmbedded() throws org.apache.maven.plugin.MojoExecutionException- Specified by:
startJettyEmbeddedin classAbstractWebAppMojo- Throws:
org.apache.maven.plugin.MojoExecutionException
-
startJettyForked
protected void startJettyForked() throws org.apache.maven.plugin.MojoExecutionException- Specified by:
startJettyForkedin classAbstractWebAppMojo- Throws:
org.apache.maven.plugin.MojoExecutionException
-
startJettyHome
protected void startJettyHome() throws org.apache.maven.plugin.MojoExecutionException- Specified by:
startJettyHomein classAbstractWebAppMojo- Throws:
org.apache.maven.plugin.MojoExecutionException
-