Package org.jboss.shrinkwrap.api.spec

Examples of org.jboss.shrinkwrap.api.spec.JavaArchive.addManifest()


                    .importFrom(new ZipFile(artifact))
                    .as(JavaArchive.class);
                    //.addAsManifestResource(new File(QUEUE_FILE));
            // SWITCHYARD-2418 replace manifest file to remove OSGi related attributes
            archive.delete("META-INF/MANIFEST.MF");
            archive.addManifest();
            return archive;
        } catch (Throwable e) {
            e.printStackTrace();
            throw new RuntimeException(e);
        }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.