Hello,
For more information, here is my project, someone has already asked
http://www.petrikainulainen.net/programming/maven/creating-code-coverage-reports-for-unit-and-integration-tests-with-the-jacoco-maven-plugin/,
but the answer is not complete, and I wonder if I could do with MAVEN
without using ANT
----------------
ProjectA
–> src
pom.xml
ProjectATest (depends on ProjectA)
–> test
pom.xml
ProjectB (depends on ProjectA)
–> src
pom.xml
ProjectBTest (depends on ProjectB)
–> test
pom.xml
ProjectITTests (depends on ProjectA and ProjectB)
–> test
pom.xml
------------------------
On 2/13/2015 4:40 PM, my selenium wrote:
Maven = 3.2.1
Your example
https://github.com/SonarSource/sonar-examples/tree/master/projects/languages/java/code-coverage/combined%20ut-it/combined-ut-it-multimodule-maven-jacoco.
is a nice start.
However I don't have a master pom.xml to trigger the build of both IT
and UT.
How can I adapt this example of yours to work for my project ?
Via EclEmma I could easily trigger UT and IT via clicking, and merge
those reports easily. And I want to do it via maven,
Thanks a ton.
MYN<
On Friday, February 13, 2015 at 4:29:10 PM UTC+1, my selenium wrote:
Hi All,
I have 5 projects A1, A2, ... A5, each has its own Unit Tests,
each project has its own pom.xml
Now I have another Integration Test project, having its own pom.xml,
I'd like to merge the report of this IT, together with all other 5
UTs, the result should be browsable on Jenkins. I know I need a
Sonar + Jacoco working together.
However I've googled around several days, trying to read and fail.
There's no article telling me how to have Maven + Jacoco + Sonar
working together when UT is in a different project from IT.
Any help is appreciated.
Thanks,
MYN
--
You received this message because you are subscribed to a topic in the
Google Groups "JaCoCo and EclEmma Users" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/jacoco/4gxjtLiGIw8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
[email protected]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jacoco/563af440-a376-4ef3-8391-d26b6715da08%40googlegroups.com
<https://groups.google.com/d/msgid/jacoco/563af440-a376-4ef3-8391-d26b6715da08%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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/54DE2402.7070703%40gmail.com.
For more options, visit https://groups.google.com/d/optout.