FYI,

It's already documented in the update notes since Karaf 3.0.0 release:

http://karaf.apache.org/manual/latest-3.0.x/update-notes.html

See:
"Test tooling

Apache Karaf 3.0.x is fully supported by OPS4J Pax Exam and "previous" karaf-pax-exam module is no more maintained."

Regards
JB

On 07/27/2015 06:24 PM, Achim Nierbeck wrote:
The karaf container moved from the karaf project to pax-exam where it
actually fits better.
Therefore the right artifact to use is:

<dependency>
     <groupId>org.ops4j.pax.exam</groupId>
     <artifactId>pax-exam-container-karaf</artifactId>
     <version>4.5.0</version>
     <scope>test</scope>
</dependency>

regarding the provision of a kar in a test.
As a KAR is a specialized deployment for features there is no extra way
of testing a standalone KAR.
Actually it should be enough to test the feature which defines the
content of the KAR file.

regards, Achim


2015-07-27 17:51 GMT+02:00 <[email protected]
<mailto:[email protected]>>:

    __

    Was there ever an answer for what repo to point to in order to get
    the 4.0 version of
    org.apache.karaf.tooling.exam:org.apache.karaf.tooling.exam.container or
    should we be using the 3.0 version for karaf 4.0 as well.

    Thanks for any help,

       David

    On 2015-07-24 12:12, Benson Margulies wrote:

    The answer is:

    <dependency>
         <groupId>org.ops4j.pax.exam</groupId>
         <artifactId>pax-exam-container-karaf</artifactId>
         <version>4.5.0</version>
         <scope>test</scope>
    </dependency>

    The next question is: how do I provision a kar into here?

    On Fri, Jul 24, 2015 at 12:07 PM, Benson Margulies <[email protected]  
<mailto:[email protected]>> wrote:
    https://karaf.apache.org/manual/latest/developers-guide/writing-tests.html
    This talks about
    org.apache.karaf.tooling.exam:org.apache.karaf.tooling.exam.container
    which has not been released since a 3.0.0 RC. Are the coordinates
    wrong?




--

Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer
& Project Lead
blog <http://notizblog.nierbeck.de/>
Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>

Software Architect / Project Manager / Scrum Master


--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to