import org.apache.catalina.core.StandardContext;
import org.apache.tomee.catalina.scan.EmptyScanner;
public class IgnoredStandardContext extends StandardContext {
public IgnoredStandardContext() {
setJarScanner(new EmptyScanner());
// Tomcat has a stupid rule where a life cycle listener must set
// configured true, or it will treat it as a failed deployment
addLifecycleListener(new LifecycleListener() {
public void lifecycleEvent(final LifecycleEvent event) {