<dependency>
<groupId>org.ops4j.pax.exam</groupId>
<artifactId>pax-exam-junit4</artifactId>
<version>${pax-exam.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.ops4j.pax.url</groupId>
<artifactId>pax-url-wrap</artifactId>
<version>${pax-url.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.ops4j.pax.url</groupId>
<artifactId>pax-url-aether</artifactId>
<version>${pax-url.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.ops4j.pax.exam</groupId>
<artifactId>pax-exam-container-karaf</artifactId>
<version>${pax-exam.version}</version>
<scope>test</scope>
</dependency>pax-exam.version is 4.5.0
and
pax-url.version is 2.4.1
Am I missing something?
Greetings,
Kai
@Configuration
public Option[] configuration() {
final MavenArtifactUrlReference karafUrl =
maven()
.groupId("org.apache.karaf")
.artifactId("apache-karaf")
.version("4.0.0")
.type("tar.gz");
final MavenUrlReference karafStandardRepo =
maven()
.groupId("org.apache.karaf.features")
.artifactId("standard")
.version("4.0.0")
.classifier("features")
.type("xml");
return options(
karafDistributionConfiguration().frameworkUrl(karafUrl).unpackDirectory(new File("target/pax-exam/karaf")).useDeployFolder(false),
features(karafStandardRepo, "scr"),
features(karafStandardRepo, "wrap"),
// ...
wrappedBundle(maven().groupId("org.hamcrest").artifactId("hamcrest-library").version("1.3"))
);
}
features(karafStandardRepo, "wrap") should do the trick but the error remains.
Greetings,
Kai--
--
------------------
OPS4J - http://www.ops4j.org - op...@googlegroups.com
---
You received this message because you are subscribed to the Google Groups "OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ops4j+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.