Hi,

we used to have JaCoCo with Pax-Web.
But I couldn't find a "quick" fix from the sources ...
Might want to look for yourself if it's still used and if, how it's
configured :)

sorry, only a hint.

regards, Achim

Am Sa., 30. März 2019 um 00:01 Uhr schrieb Dutch Dude <er...@hogeweg.cc>:

> 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 - ops4j@googlegroups.com
>
> ---
> 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 ops4j+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>


-- 

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

-- 
-- 
------------------
OPS4J - http://www.ops4j.org - ops4j@googlegroups.com

--- 
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 ops4j+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to