Class MavenMetaInfConfiguration
java.lang.Object
org.eclipse.jetty.ee10.webapp.AbstractConfiguration
org.eclipse.jetty.ee10.webapp.MetaInfConfiguration
org.eclipse.jetty.ee10.maven.plugin.MavenMetaInfConfiguration
- All Implemented Interfaces:
org.eclipse.jetty.ee10.webapp.Configuration
public class MavenMetaInfConfiguration
extends org.eclipse.jetty.ee10.webapp.MetaInfConfiguration
MavenMetaInfConfiguration
MetaInfConfiguration 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.ee10.webapp.AbstractConfiguration
org.eclipse.jetty.ee10.webapp.AbstractConfiguration.Builder -
Field Summary
FieldsFields inherited from class org.eclipse.jetty.ee10.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_PATTERN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected List<org.eclipse.jetty.util.resource.Resource> findClassDirs(org.eclipse.jetty.ee10.webapp.WebAppContext context) Add in the classes dirs from test/classes and target/classesprotected List<org.eclipse.jetty.util.resource.Resource> findJars(org.eclipse.jetty.ee10.webapp.WebAppContext context) Get the jars to examine from the files from which we have synthesized the classpath.Class<? extends org.eclipse.jetty.ee10.webapp.Configuration> replaces()Methods inherited from class org.eclipse.jetty.ee10.webapp.MetaInfConfiguration
configure, findAndFilterContainerPaths, findAndFilterWebAppPaths, findExtraClasspathDirs, findExtraClasspathJars, findWebInfClassesDir, findWebInfLibJars, getAllContainerJars, postConfigure, preConfigure, scanForFragment, scanForResources, scanForTlds, scanJars, scanJars, scanJarsMethods inherited from class org.eclipse.jetty.ee10.webapp.AbstractConfiguration
abort, deconfigure, destroy, getDependencies, getDependents, getHiddenClasses, getProtectedClasses, isEnabledByDefaultMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.jetty.ee10.webapp.Configuration
getServerClasses, getSystemClasses, isAvailable
-
Field Details
-
COUNTER
protected static int COUNTER
-
-
Constructor Details
-
MavenMetaInfConfiguration
public MavenMetaInfConfiguration()
-
-
Method Details
-
replaces
-
findJars
protected List<org.eclipse.jetty.util.resource.Resource> findJars(org.eclipse.jetty.ee10.webapp.WebAppContext context) throws Exception 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 classorg.eclipse.jetty.ee10.webapp.MetaInfConfiguration- Parameters:
context- the web app context- Returns:
- the list of jars found
- Throws:
Exception
-
findClassDirs
protected List<org.eclipse.jetty.util.resource.Resource> findClassDirs(org.eclipse.jetty.ee10.webapp.WebAppContext context) throws Exception Add in the classes dirs from test/classes and target/classes- Overrides:
findClassDirsin classorg.eclipse.jetty.ee10.webapp.MetaInfConfiguration- Throws:
Exception
-