Search in sources :

Example 1 with ITestConfigBuilder

use of org.apache.camel.itest.springboot.ITestConfigBuilder in project camel by apache.

the class JarExporter method exportJar.

@Test
public void exportJar() throws Exception {
    Archive<?> archive = ArquillianPackager.springBootPackage(new ITestConfigBuilder().module("camel-cache").resource("components/cache-ehcache.xml", "ehcache.xml").build());
    new ZipExporterImpl(archive).exportTo(new File("target/export.zip"), true);
}
Also used : ITestConfigBuilder(org.apache.camel.itest.springboot.ITestConfigBuilder) File(java.io.File) ZipExporterImpl(org.jboss.shrinkwrap.impl.base.exporter.zip.ZipExporterImpl) Test(org.junit.Test)

Aggregations

File (java.io.File)1 ITestConfigBuilder (org.apache.camel.itest.springboot.ITestConfigBuilder)1 ZipExporterImpl (org.jboss.shrinkwrap.impl.base.exporter.zip.ZipExporterImpl)1 Test (org.junit.Test)1