//.addClass(JettyEmbeddedConfiguration.class)
.addAsLibraries(
DependencyResolvers.use(MavenDependencyResolver.class)
.artifacts("org.jboss.weld.servlet:weld-servlet:1.0.1-Final").resolveAs(GenericArchive.class))
.addAsWebInfResource("jetty-env.xml")
.addAsWebInfResource(new ByteArrayAsset(new byte[0]), "beans.xml")
.setWebXML("in-container-web.xml");
log.info(war.toString(true));
return war;
}