Hi,
This might not be the correct mailing list but I thought I give it a try
since the pax-exam experts live here. Will crosspost in jaCoCo mailing list
(if I can find one).
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.
Cheers,
Erwin
Maven output.
[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
Pax-Exam config.
<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>
--
--
------------------
OPS4J - http://www.ops4j.org - [email protected]
---
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 [email protected].
For more options, visit https://groups.google.com/d/optout.