Package org.eclipse.jetty.maven.plugin
Class JettyEffectiveWebXml
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.eclipse.jetty.maven.plugin.AbstractWebAppMojo
org.eclipse.jetty.maven.plugin.AbstractUnassembledWebAppMojo
org.eclipse.jetty.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.maven.plugin.AbstractWebAppMojo
AbstractWebAppMojo.DeploymentMode
-
Field Summary
Fields inherited from class org.eclipse.jetty.maven.plugin.AbstractUnassembledWebAppMojo
classesDirectory, scanClassesPattern, scanTestClassesPattern, testClassesDirectory, webAppSourceDirectory, webXml
Fields inherited from class org.eclipse.jetty.maven.plugin.AbstractWebAppMojo
contextHandlers, contextXml, deployMode, env, excludedGoals, execution, FAKE_WEBAPP, forkWebXml, httpConnector, JETTY_HOME_ARTIFACTID, JETTY_HOME_GROUPID, jettyBase, jettyHome, 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, webApp
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Override so we can call the parent's method in a different order.void
Ensure there is a webapp, and that some basic defaults are applied if the user has not supplied them.protected void
protected void
protected void
Methods inherited from class org.eclipse.jetty.maven.plugin.AbstractUnassembledWebAppMojo
getWebInfLibArtifacts, verifyPomConfiguration
Methods inherited from class org.eclipse.jetty.maven.plugin.AbstractWebAppMojo
augmentPluginClasspath, configureScanTargetPatterns, configureSystemProperties, execute, findJettyWebXmlFile, getContainerClassPath, getJettyOutputFile, getProjectName, getProvidedJars, isExcludedGoal, isPackagingSupported, isPluginArtifact, mergeSystemProperties, newJettyEmbedder, newJettyForker, newJettyHomeForker, startJetty
Methods 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:AbstractWebAppMojo
Ensure there is a webapp, and that some basic defaults are applied if the user has not supplied them.- Overrides:
configureWebApp
in classAbstractUnassembledWebAppMojo
- Throws:
Exception
-
configureUnassembledWebApp
Override so we can call the parent's method in a different order.- Overrides:
configureUnassembledWebApp
in classAbstractUnassembledWebAppMojo
- Throws:
Exception
-
startJettyEmbedded
protected void startJettyEmbedded() throws org.apache.maven.plugin.MojoExecutionException- Specified by:
startJettyEmbedded
in classAbstractWebAppMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
startJettyForked
protected void startJettyForked() throws org.apache.maven.plugin.MojoExecutionException- Specified by:
startJettyForked
in classAbstractWebAppMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
startJettyHome
protected void startJettyHome() throws org.apache.maven.plugin.MojoExecutionException- Specified by:
startJettyHome
in classAbstractWebAppMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
-