It's all about the answers!

Ask a question

Code Coverage Extension in Maven Builds


David Beange (111356100) | asked Feb 19 '13, 10:14 a.m.
RTC ver 3.0.1.4
RAD v 8.0.4
I have CI builds running using the RTC Build Toolkit on a remote Build machine and now wish to include code coverage checking and reporting as part of the Build.
My Build scripts are maven but the examples i've seen in the help text all relate to using ANT for this. does anyone have knowledge ot experience of Integrating this on maven builds or can point me at relevant documentation on this.

Thanks

Accepted answer


permanent link
Luc Rotsaert (6113) | answered Feb 19 '13, 1:30 p.m.

Hi David,

Please have a look at the following links :

http://phkrief.wordpress.com/2010/09/24/when-maven-meets-rational-team-concert/

https://jazz.net/wiki/bin/view/Main/MavenBuild

It boils down to the following :

If you want to make your build script “Jazz aware” you will need to (1) import the maven-antrun-plugin used to call ANT scripts from a Maven script and (2) insert Build Toolkit ANT calls appropriately in the pom.xml files.

Hope this helps.

Cheers,

Luc

David Beange selected this answer as the correct answer

Comments
David Beange commented Feb 20 '13, 7:55 a.m.

Hi Luc

Good to hear from you again. Thanks for your answer i'll now look further at the maven-antrun plugin.

Thanks

David

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.