有没有办法在启动 pax-exam 时复制 karaf lib/ext 文件夹中的 jar
@Configuration
public static Option[] configuration() throws Exception {
return new Option[] {
karafDistributionConfiguration().frameworkUrl(maven().groupId("org.apache.karaf").artifactId("apache-karaf")
.type("zip").version("4.0.1"))
.unpackDirectory(new File("target/paxexam/unpack/"))
.useDeployFolder(false),
KarafDistributionOption.debugConfiguration("8898", true),
configureConsole().ignoreLocalConsole(),
logLevel(LogLevel.INFO),
keepRuntimeFolder(),
};
}