Using wrap to reference a "test-jar"

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Using wrap to reference a "test-jar"

nicolas.brasey
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
Loading...