.setDeploymentName("tck.war")
.setResourceManager(new FileResourceManager(root, Integer.MAX_VALUE))
.setTempDir(mojo.getTempDir())
.setServletStackTraces(ServletStackTraces.NONE)
.addServlet(servlet);
JspServletBuilder.setupDeployment(builder, new HashMap<String, JspPropertyGroup>(), new HashMap<String, TagLibraryInfo>(), new HackInstanceManager());
DeploymentManager manager = container.addDeployment(builder);
manager.deploy();
servletPath.addPrefixPath(builder.getContextPath(), manager.start());