public class MavenWebInfConfiguration extends WebInfConfiguration
WebInfConfiguration.ContainerPathNameMatcher, WebInfConfiguration.WebAppPathNameMatcher
Configuration.ClassList
Modifier and Type | Field and Description |
---|---|
private static Logger |
LOG |
_preUnpackBaseResource, CONTAINER_JAR_PATTERN, RESOURCE_DIRS, TEMPDIR_CONFIGURED, WEBINF_JAR_PATTERN
ATTR
Constructor and Description |
---|
MavenWebInfConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
configure(WebAppContext context)
Configure WebApp.
|
protected java.util.List<Resource> |
findClassDirs(WebAppContext context)
Add in the classes dirs from test/classes and target/classes
|
protected java.util.List<Resource> |
findJars(WebAppContext context)
Get the jars to examine from the files from which we have
synthesized the classpath.
|
cloneConfigure, configureTempDirectory, deconfigure, findAndFilterContainerPaths, findAndFilterWebAppPaths, findExtraClasspathDirs, findExtraClasspathJars, findWebInfClassesDir, findWebInfLibJars, getCanonicalNameForWebAppTmpDir, makeTempDirectory, preConfigure, resolveTempDirectory, unpack
destroy, postConfigure
private static final Logger LOG
public void configure(WebAppContext context) throws java.lang.Exception
Configuration
Typically this step applies the discovered configuration resources to
either the WebAppContext
or the associated MetaData
.
configure
in interface Configuration
configure
in class WebInfConfiguration
context
- The context to configurejava.lang.Exception
- if unable to configureWebInfConfiguration.configure(org.eclipse.jetty.webapp.WebAppContext)
protected java.util.List<Resource> findJars(WebAppContext context) throws java.lang.Exception
findJars
in class WebInfConfiguration
context
- the web app contextjava.lang.Exception
- if unable to find the jarsprotected java.util.List<Resource> findClassDirs(WebAppContext context) throws java.lang.Exception
findClassDirs
in class WebInfConfiguration
java.lang.Exception
WebInfConfiguration.findClassDirs(org.eclipse.jetty.webapp.WebAppContext)