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 SummaryNested classes/interfaces inherited from class org.eclipse.jetty.webapp.MetaInfConfigurationMetaInfConfiguration.ContainerPathNameMatcher, MetaInfConfiguration.WebAppPathNameMatcherNested classes/interfaces inherited from interface org.eclipse.jetty.webapp.ConfigurationConfiguration.Wrapper, Configuration.WrapperFunction
- 
Field SummaryFieldsFields 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.ConfigurationATTR
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.MetaInfConfigurationconfigure, findAndFilterContainerPaths, findAndFilterWebAppPaths, findExtraClasspathDirs, findExtraClasspathJars, findWebInfClassesDir, findWebInfLibJars, getAllContainerJars, getTlds, getTlds, postConfigure, preConfigure, scanForFragment, scanForResources, scanForTlds, scanJars, scanJars, scanJarsMethods inherited from class org.eclipse.jetty.webapp.AbstractConfigurationabort, addDependencies, addDependencies, addDependents, addDependents, cloneConfigure, deconfigure, destroy, expose, getDependencies, getDependents, getServerClasses, getSystemClasses, hide, isEnabledByDefault, protect, protectAndExposeMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.jetty.webapp.ConfigurationisAvailable
- 
Field Details- 
COUNTERprotected static int COUNTER
 
- 
- 
Constructor Details- 
MavenMetaInfConfigurationpublic MavenMetaInfConfiguration()
 
- 
- 
Method Details- 
replacesDescription 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
 
- 
findJarsGet 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 class- MetaInfConfiguration
- Parameters:
- context- the web app context
- Returns:
- the list of jars found
- Throws:
- Exception- if unable to find the jars
 
- 
findClassDirsAdd in the classes dirs from test/classes and target/classes- Overrides:
- findClassDirsin class- MetaInfConfiguration
- Throws:
- Exception
 
 
-