String projectVersion = System.getProperty("project.version");
String karafVersion = System.getProperty("karaf.version");
MavenArtifactUrlReference karafUrl = maven().groupId("org.apache.karaf").artifactId("apache-karaf")
.version(karafVersion).type("tar.gz");
MavenUrlReference xkmsFeatures = maven().groupId("org.apache.cxf.services.xkms")
.artifactId("cxf-services-xkms-features").version(projectVersion).type("xml");
return new Option[] {
karafDistributionConfiguration().frameworkUrl(karafUrl).karafVersion(karafVersion)
.unpackDirectory(new File("target/paxexam/unpack/")).useDeployFolder(false),