public class NativeKarafFrameworkTest {
@Configuration
public Option[] config() {
return new Option[]{
new KarafDistributionKitConfigurationOption(maven().groupId("org.apache.karaf")
.artifactId("apache-karaf").type("zip").versionAsInProject(), Platform.WINDOWS).executable(
"bin\\karaf.bat").filesToMakeExecutable("bin\\instance.bat"),
new KarafDistributionKitConfigurationOption(maven().groupId("org.apache.karaf")
.artifactId("apache-karaf").type("zip").versionAsInProject(), Platform.NIX).executable("bin/karaf")
.filesToMakeExecutable("bin/instance") };
}