Configuring Multiple WebApp Source Directory
It can be configured by passing Resource, String, or String (csv) in the constructor.
The primary resource(first in the list) is the main resource.
WEB-INF/lib and WEB-INF/classes are merged.
This basically means your dependent classes on webappA will be available in the classpath for webappB.
This feature enables webapp overlays.
Configuration in context.xml
Configuration in jetty-maven-plugin
The order would then be: