Hi,

I have an integration test bundle that itself doesn't contain any application 
code, just tests. The integration tests validate the proper functioning of 
several other bundles.

Everything runs fine inside a 4.13.0 pax-exam container. I just can't figure 
out how to get JaCoCo configured. I (believe I) understand what the problem is, 
Jacoco only analyzes the classes inside the current project/bundle. But how can 
I instruct it to include other classes on the class path? I tried many 
combinations of include ... and inclBootStrapClasses and inclNoLocationClasses, 
but whatever I try, the result is 0 classes.

I am sure I am missing something, but I have run out of ideas.

Any suggestions are greatly appreciated.

X-posted in PAX-EXAM group.


Cheers,

Erwin


    [INFO] --- jacoco-maven-plugin:0.8.3:report-integration 
(report-integration) @ com.my.itest ---
    [INFO] Loading execution data file 
/Users/erwin/work/PROJECT/branches/5.2/src/server/com.my.itest/target/jacoco-it.exec
    [INFO] Analyzed bundle 'PROJECT :: Automation Itest Bundle' with 0 classes



                <dependency>
                        <groupId>org.ops4j.pax.exam</groupId>
                        <artifactId>pax-exam-container-native</artifactId>
                        <scope>test</scope>
                </dependency>

                <dependency>
                        <groupId>org.ops4j.pax.exam</groupId>
                        <artifactId>pax-exam-junit4</artifactId>
                        <scope>test</scope>
                </dependency>

                <dependency>
                        <groupId>org.ops4j.pax.exam</groupId>
                        <artifactId>pax-exam-cm</artifactId>
                        <scope>test</scope>
                </dependency>

                <dependency>
                        <groupId>org.ops4j.pax.exam</groupId>
                        <artifactId>pax-exam-link-mvn</artifactId>
                        <scope>test</scope>
                </dependency>

-- 
You received this message because you are subscribed to the Google Groups 
"JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jacoco/5e275978-b706-4566-9466-a728315d8097%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to