Package org.eclipse.jetty.maven.plugin
Class MavenMetaInfConfiguration
java.lang.Object
org.eclipse.jetty.webapp.AbstractConfiguration
org.eclipse.jetty.webapp.MetaInfConfiguration
org.eclipse.jetty.maven.plugin.MavenMetaInfConfiguration
- All Implemented Interfaces:
Configuration
MavenWebInfConfiguration
WebInfConfiguration to take account of overlaid wars expressed as project dependencies and
potential configured via the maven-war-plugin.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jetty.webapp.MetaInfConfiguration
MetaInfConfiguration.ContainerPathNameMatcher, MetaInfConfiguration.WebAppPathNameMatcherNested classes/interfaces inherited from interface org.eclipse.jetty.webapp.Configuration
Configuration.Wrapper, Configuration.WrapperFunction -
Field Summary
FieldsFields inherited from class org.eclipse.jetty.webapp.MetaInfConfiguration
__allScanTypes, CACHED_CONTAINER_FRAGMENTS, CACHED_CONTAINER_RESOURCES, CACHED_CONTAINER_TLDS, CONTAINER_JAR_PATTERN, DEFAULT_USE_CONTAINER_METAINF_CACHE, METAINF_FRAGMENTS, METAINF_RESOURCES, METAINF_TLDS, RESOURCE_DIRS, USE_CONTAINER_METAINF_CACHE, WEBINF_JAR_PATTERNFields inherited from interface org.eclipse.jetty.webapp.Configuration
ATTR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindClassDirs(WebAppContext context) Add in the classes dirs from test/classes and target/classesfindJars(WebAppContext context) Get the jars to examine from the files from which we have synthesized the classpath.Class<? extends Configuration>replaces()Get a class that this class replaces/extends.Methods inherited from class org.eclipse.jetty.webapp.MetaInfConfiguration
configure, findAndFilterContainerPaths, findAndFilterWebAppPaths, findExtraClasspathDirs, findExtraClasspathJars, findWebInfClassesDir, findWebInfLibJars, getAllContainerJars, getTlds, getTlds, postConfigure, preConfigure, scanForFragment, scanForResources, scanForTlds, scanJars, scanJars, scanJarsMethods inherited from class org.eclipse.jetty.webapp.AbstractConfiguration
abort, addDependencies, addDependencies, addDependents, addDependents, cloneConfigure, deconfigure, destroy, expose, getDependencies, getDependents, getServerClasses, getSystemClasses, hide, isEnabledByDefault, protect, protectAndExposeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.jetty.webapp.Configuration
isAvailable
-
Field Details
-
COUNTER
protected static int COUNTER
-
-
Constructor Details
-
MavenMetaInfConfiguration
public MavenMetaInfConfiguration()
-
-
Method Details
-
replaces
Description copied from interface:ConfigurationGet a class that this class replaces/extends. If this is added toConfigurationscollection that already contains a configuration of the replaced class or that reports to replace the same class, then it is replaced with this instance.- Returns:
- The class this Configuration replaces/extends or null if it replaces no other configuration
-
findJars
Get the jars to examine from the files from which we have synthesized the classpath. Note that the classpath is not set at this point, so we cannot get them from the classpath.- Overrides:
findJarsin classMetaInfConfiguration- Parameters:
context- the web app context- Returns:
- the list of jars found
- Throws:
Exception- if unable to find the jars
-
findClassDirs
Add in the classes dirs from test/classes and target/classes- Overrides:
findClassDirsin classMetaInfConfiguration- Throws:
Exception
-