public static WebArchive createWarDeployment() {
		File[] libs = Maven.resolver().offline().loadPomFromFile("pom.xml").importCompileAndRuntimeDependencies()
				.resolve().withTransitivity().asFile();

		return ShrinkWrap.create(WebArchive.class).addClasses(Util.class, ClasseA1.class, ClasseA2.class)
				.addAsWebInfResource(EmptyAsset.INSTANCE, "beans.xml").addAsLibraries(libs);
	}