Hi,
does this mean that it currently isn't possible to have a feature loaded
into Karaf using a configuration method similar to the following:
@Configuration
public Option[] config() {
KarafDistributionConfigurationOption karafOption =
karafDistributionConfiguration(
"mvn:org.apache.karaf/apache-karaf/2.2.4/zip",
"karaf", "2.2.4")
FeaturesScannerProvisionOption provisionOption =
scanFeatures(maven()
.groupId("...").artifactId("...").type("xml")
.classifier("features").version("..."),
"feature-to-be-installed").start();
return new Option[] { karafOption, provisionOption };
}
Furthermore, I also noted that I needed to use the javax.inject.Inject class
rather than org.ops4j.pax.exam.Inject to get the BundleContext injected
using a @Inject annotation.
Maybe this needs to be pointed out in the documentation (perhaps it is
already?)?
best regards, Peter
--
View this message in context:
http://karaf.922171.n3.nabble.com/Release-PaxExam-Karaf-Testframework-0-3-0-tp3440065p3476568.html
Sent from the Karaf - User mailing list archive at Nabble.com.