karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Brasey <nicolas.bra...@gmail.com>
Subject Using wrap to reference a "test-jar"
Date Mon, 17 Jul 2017 16:44:35 GMT
Hi,

I struggling to create a feature to have neo4j embedded in karaf.

I cannot find the proper way to use the wrap protocol inside a feature to
reference a jar file that has been compiled with maven as a test-jar.

The jar in question is showed by maven dependency:tree as:

[INFO] |  |  +- org.neo4j.app:neo4j-server:test-jar:tests:3.1.4:compile

But I can't find the proper WRAP syntax to refer it. I tried:

 <bundle>wrap:mvn:org.neo4j.app/neo4j-server/${neo4j.version}/tests/test-jar</bundle>
 <bundle>wrap:mvn:org.neo4j.app/neo4j-server/${neo4j.version}/test-jar/tests</bundle>
 <bundle>wrap:mvn:org.neo4j.app/neo4j-server/test-jar/test/${neo4j.version}</bundle>
 <bundle>wrap:mvn:org.neo4j.app/neo4j-server/tests/test-jar/${neo4j.version}</bundle>


Any one has already done this ?

Thanks for the help!
Nicolas

Mime
View raw message